Hello Rhiannon,
Hmm, there's not quite enough information in there to immediately see what may be going on unfortunately.
http://einsteintoolkit.org/support.html#general-guidelines-for-questions
In this case, if you could attach the file /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90 that contains the error, that would also be good.
Going by a hunch:
Do you perhaps set FPP=cpp in your option list but not also FPPFLAGS=-traditional?
(Parts of) Cactus assume that the preprocessor used by Cactus to preprocess Fortran code use the "traditional" (pre 1989, Kernighan&Ritchie) behaviour of the preprocessor.
Yours, Roland
On Mon, 22 Jul 2024 18:11:46 +0000, Rhiannon Silva wrote:
Hi,
I'm getting fortran errors while trying to build ET on my local cluster (Hawk, in Cardiff), as well as lots of warnings. Any suggestions?
I'm using intel compilers and have tried these options
F90FLAGS = -g -xCORE-AVX512 -safe-cray-ptr -traceback -align -pad
These are the error messages:
/nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2694): error #7844: Invalid directive. /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2700): error #6410: This name has not been declared as an array or a function. [EOS_C] /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2718): error #6410: This name has not been declared as an array or a function. [XPRESS] /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2721): error #6410: This name has not been declared as an array or a function. [EOS_C] /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2728): error #6410: This name has not been declared as an array or a function. [EOS_C] /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2736): error #6790: This is an invalid statement; an END [PROGRAM] statement is required. /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2736): error #6785: This name does not match the unit name. [H_VISCOSITY]
The many warnings are mostly like this:
/nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2710): warning #6717: This name has not been given an explicit type. [ANYERR] /nfshome/store04/users/c.c941286329/Cactus/configs/sim/build/GRHydro/GRHydro_HLLE.f90(2713): warning #8889: Explicit declaration of the EXTERNAL attribute is required. [RHO]
What am I missing?
Thanks, Rhiannon.
Yours, Roland