Hey! 👋
Thank you for a very cool project!
I tried setting this up for the first time. I initially hit some issues with gfortran. On Pop!_OS 22.04, install.sh accepted GNU Fortran 11.4 and proceeded to build GASNet-EX. The subsequent Caffeine compilation then failed in prif_private_s.F90 with:
Error: Character argument ‘str’ must be length 1 because procedure
‘caf_fatal_error’ is BIND(C)
For compilation I used
env FC=gfortran CC=gcc CXX=g++ ./install.sh --network=smp
On my system this resolved to GCC/gfortran 11.4. Rebuilding explicitly with GCC/gfortran 13 resolved the problem, and the tests passed.
The README lists gfortran 13–15 as the regularly tested versions. Would it make sense for the installer to detect the selected compiler version before building dependencies and either:
- reject versions known to be incompatible; or
- warn when the version is outside the tested range?
This would provide a more actionable error and avoid building GASNet-EX before discovering a compiler incompatibility.
Hey! 👋
Thank you for a very cool project!
I tried setting this up for the first time. I initially hit some issues with gfortran. On Pop!_OS 22.04, install.sh accepted GNU Fortran 11.4 and proceeded to build GASNet-EX. The subsequent Caffeine compilation then failed in prif_private_s.F90 with:
Error: Character argument ‘str’ must be length 1 because procedure
‘caf_fatal_error’ is BIND(C)
For compilation I used
On my system this resolved to GCC/gfortran 11.4. Rebuilding explicitly with GCC/gfortran 13 resolved the problem, and the tests passed.
The README lists gfortran 13–15 as the regularly tested versions. Would it make sense for the installer to detect the selected compiler version before building dependencies and either:
This would provide a more actionable error and avoid building GASNet-EX before discovering a compiler incompatibility.