-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The build fails with this message:
[ 4%] Building Fortran object CMakeFiles/camplib.dir/src/aero_rep_factory.F90.o
-- stderr output is:
/Users/fier887/Downloads/ambrs_project/ambuilder/build/libraries/camp-src/src/aero_rep_factory.F90:473:32:
473 | end module camp_aero_rep_factory
| 1
Error: Contained procedure ‘__final_camp_util_String_t’ at (1) of a PURE procedure must also be PURE
(null):0: confused by earlier errors, bailing out
make[5]: *** [CMakeFiles/camplib.dir/src/aero_rep_factory.F90.o] Error 1
make[4]: *** [CMakeFiles/camplib.dir/all] Error 2
make[3]: *** [all] Error 2
CMake Error at /Users/fier887/Downloads/ambrs_project/ambuilder/build/libraries/camp/src/camp-stamp/camp-build-.cmake:47 (message):
Stopping after outputting logs.
make[2]: *** [libraries/camp/src/camp-stamp/camp-build] Error 1
make[1]: *** [libraries/CMakeFiles/camp.dir/all] Error 2
make: *** [all] Error 2
This was the command used for the build:
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/opt/miniconda3/envs/ambrs2 -DENABLE_CAMP=ON -DCMAKE_Fortran_COMPILER=/opt/miniconda3/envs/ambrs2/bin/gfortran
Here is the version:
/opt/miniconda3/envs/ambrs2/bin/gfortran --version
GNU Fortran (GCC) 13.2.0
This does work:
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/opt/miniconda3/envs/ambrs2 -DENABLE_CAMP=ON -DCMAKE_Fortran_COMPILER=/opt/homebrew/bin/gfortran
Here is the version:
/opt/homebrew/bin/gfortran --version
GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working