Skip to content

Commit

Permalink
Merge pull request #20958 from boegel/20240703153549_new_pr_OpenFOAM10
Browse files Browse the repository at this point in the history
disable auto-vectorizer (`-ftree-vectorize`) for OpenFOAM v10 + v11 when using toolchain that with GCC >= 11
  • Loading branch information
jfgrimm committed Jul 4, 2024
2 parents dc20a5b + dbadb20 commit 1610c40
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 1610c40

Please sign in to comment.