Skip to content

Commit

Permalink
disable auto-vectorizer (-ftree-vectorize) for OpenFOAM v10 + v11 whe…
Browse files Browse the repository at this point in the history
…n using toolchain that with GCC >= 11
  • Loading branch information
boegel committed Jul 3, 2024
1 parent 8f931cb commit dbadb20
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'i8': True}
toolchainopts = {'vectorize': False, 'i8': True}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'vectorize': False}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = [{
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-10-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'vectorize': False}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-10-foss-2023a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2023a'}
toolchainopts = {'vectorize': False}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-11-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'vectorize': False}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-11-foss-2023a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description = """OpenFOAM is a free, open source CFD software package.
to solid dynamics and electromagnetics."""

toolchain = {'name': 'foss', 'version': '2023a'}
toolchainopts = {'vectorize': False}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
Expand Down

0 comments on commit dbadb20

Please sign in to comment.