ecmwf-ifs / ectrans

Global spherical harmonics transforms library underpinning the IFS
Apache License 2.0
15 stars 30 forks source link

Need to be able to pass more compile options to ctest #79

Closed DJDavies2 closed 2 months ago

DJDavies2 commented 3 months ago

Trying to run ctests with e.g. NAG gives this:

NAG Fortran Compiler Release 7.0(Yurakucho) Build 7048 Fatal Error: /home/h01/frwd/cylc-run/mi-be984/work/1/git_clone_ectrans/ectrans/tests/test_install/main.F90, line 13: Incompatible option setting for module YOMHOOK (was compiled with the -kind=byte option) detected at YOMHOOK@ make[2]: *** [CMakeFiles/main_dp.dir/main.F90.o] Error 2

This is because I need to be able to pass things like Fortran compile flags to ctest but currently that doesn't happen.