[Users] Fortran compile errors
Roland Haas
rhaas at illinois.edu
Mon Jul 22 13:35:54 CDT 2024
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
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20240722/710821b7/attachment.sig>
More information about the Users
mailing list