Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build windows parallel with ifort 2021.12 #1853

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Jun 1, 2024

The Windows parallel distribution was built with Intel Fortran Classic (ifort) 2021.11.1 until now. When running PRT models, Win parallel distributions built with this version of the compiler produce a runtime error in MethodSubcellPool.f90 when the method pool's pointers to tracking methods are deallocated — evidently a compiler bug?

forrtl: severe (153): allocatable array or pointer is not allocated
Image              PC                Routine            Line        Source             
mf6.exe            00007FF6CF304F37  METHODSUBCELLPOOL          26  MethodSubcellPool.f90
mf6.exe            00007FF6CF02D366  PRTMODULE_mp_PRT_         718  prt.f90
mf6.exe            00007FF6CEF1372A  MF6COREMODULE_mp_         173  mf6core.f90
mf6.exe            00007FF6CEF116C2  MF6COREMODULE_mp_          57  mf6core.f90
mf6.exe            00007FF6CEF11042  MAIN__                     11  mf6.f90
mf6.exe            00007FF6CF4BBE6B  Unknown               Unknown  Unknown
mf6.exe            00007FF6CF4BC339  Unknown               Unknown  Unknown
mf6.exe            00007FF6CF4BC25E  Unknown               Unknown  Unknown
mf6.exe            00007FF6CF4BC11E  Unknown               Unknown  Unknown
mf6.exe            00007FF6CF4BC3AE  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFAA0317344  Unknown               Unknown  Unknown
ntdll.dll          00007FFAA0AC26B1  Unknown               Unknown  Unknown

This only affects the Windows parallel distribution because we use ifort 2021.7 to build the other Intel distributions. The reason we did not use 2021.7 to build the Win parallel dist is parallel requires the oneAPI base kit, and I've been unable to find the installer URL for that base kit (Intel conceals all but the latest). Luckily the latest ifort (2021.12.0) doesn't have the same issue, so we can simply switch the Win parallel dist to 2021.12.0.

The macos CI failure is a separate issue, to be addressed shortly

@wpbonelli wpbonelli added bug parallel Parallel capabilities ci Continuous integration labels Jun 1, 2024
@wpbonelli wpbonelli marked this pull request as ready for review June 1, 2024 18:58
@wpbonelli wpbonelli merged commit 852e91d into MODFLOW-USGS:develop Jun 2, 2024
17 of 18 checks passed
@wpbonelli wpbonelli deleted the fix-win-par-prt branch June 2, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci Continuous integration parallel Parallel capabilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant