Hello,
I’m trying to compile a new source_newgen.f user routine on a linux-cluster using fff compiler:
fff source_newgen.f,
but the output message complains on many similar errors related to some variables which I did not define:
user00004@node-00:~/fluka$ fff source_newgen.f
gfortran -c -I/usr/local/fluka/include -g -cpp -O3 -fd-lines-as-comments -Wall -Waggregate-return -Wcast-align -Wline-truncation -Wno-conversion -Wno-integer-division -Wno-tabs -Wno-unused-dummy-argument -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -Wsystem-headers -Wuninitialized -Wunused-label -mtune=generic -msse2 -mfpmath=sse -fPIC -fexpensive-optimizations -funroll-loops -fstrength-reduce -fno-automatic -finit-local-zero -ffixed-line-length-132 -fbackslash -funderscoring -frecord-marker=4 -falign-commons -fbacktrace -frange-check -fbounds-check -fdump-core -ftrapping-math -ffpe-trap=invalid,zero,overflow -o source_newgen.o source_newgen.f
tetgcm.inc:25:24:
Error: Symbol ‘mxtetg’ at (1) has no IMPLICIT type; did you mean ‘mxoutu’?
tetgcm.inc:28:47:
Error: Symbol ‘irttet’ at (1) has no IMPLICIT type; did you mean ‘irot’?
tetgcm.inc:27:38:
Error: Symbol ‘mxtetg’ at (1) has no IMPLICIT type; did you mean ‘mxoutu’?
tetgcm.inc:29:47:
Error: Symbol ‘nrg2tt’ at (1) has no IMPLICIT type; did you mean ‘nrgflk’?
tetgcm.inc:29:30:
Error: Symbol ‘nrgtet’ at (1) has no IMPLICIT type; did you mean ‘nrgflk’?
tetgcm.inc:30:38:
Error: Symbol ‘ntetfa’ at (1) has no IMPLICIT type; did you mean ‘ntstar’?
tetgcm.inc:30:46:
Error: Symbol ‘ntetgm’ at (1) has no IMPLICIT type; did you mean ‘ntstar’?
tetgcm.inc:30:30:
Error: Symbol ‘ntetid’ at (1) has no IMPLICIT type; did you mean ‘ntstis’?
tetgcm.inc:27:30:
Error: Symbol ‘x0tetg’ at (1) has no IMPLICIT type
tetgcm.inc:27:47:
Error: Symbol ‘y0tetg’ at (1) has no IMPLICIT type
tetgcm.inc:27:64:
Error: Symbol ‘z0tetg’ at (1) has no IMPLICIT type
The same compilation process works well on my laptop (both via Flair compilation interface and the CLI $fff source_newgen.f command), and also I copied the source_library.inc to my working directory on the cluster as it’s suggested in the lecture:
Does anybody have an idea what might cause the errors and how can I fix them?
Cheers,
Ihor
FLUKA: 4-5.1
Operating system: Ubuntu 24.04
Compiler: gfortran 13.3
