Skip to content

Commit

Permalink
Merge pull request #15495 from Micket/20220512165837_new_pr_OpenFOAMv…
Browse files Browse the repository at this point in the history
…2112

disable use of -ftree-vectorize for OpenFOAM v2112 with foss/2021b
  • Loading branch information
boegel committed May 24, 2022
2 parents fd49797 + 61310c4 commit 0082dc5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2021b'}
toolchainopts = {'cstd': 'c++11'}
# Users have found that vectorizion caused OpenFOAM to produce some very incorrect results.
# Disabling vectorize was confirmed to fix the the known issues.
# With no test suite, sticking to known working toolchain options until proven otherwise.
toolchainopts = {'cstd': 'c++11', 'vectorize': False}

source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
sources = [SOURCE_TGZ]
Expand Down

0 comments on commit 0082dc5

Please sign in to comment.