Hi all,
I am currently compiling the V6P0 from source on a linux platform with the Intel Fortran 11.1 compiler and impi library. The current setup is known to work with V5P9. So far, mumpsvoid, damocles, bief, paravoid, parallel and special have compiled all right.
However, I encounter a subtle syntax error when compiling flusec_telemac2d.f and fluxpr_telemac2d.f in the telemac2d folder.
The compiler seems to interpret the logical variable CLASSIC as some sort of parameter IC of type CLASS. It then complains about this data type. The error message looks as follows:
=> Compilation de flusec_telemac2d.f :
flusec_telemac2d.f(115): error #5082: Syntax error, found IDENTIFIER 'IC' when expecting one of: ( % : . = =>
IF (.NOT.ALLOCATED(CHAIN)) CLASSIC=.TRUE.
--------------------------------------^
flusec_telemac2d.f(115): error #6404: This name does not have a type, and must have an explicit type. [CLASS]
IF (.NOT.ALLOCATED(CHAIN)) CLASSIC=.TRUE.
---------------------------------^
flusec_telemac2d.f(115): error #6460: This is not a field name that is defined in the encompassing structure. [IC]
IF (.NOT.ALLOCATED(CHAIN)) CLASSIC=.TRUE.
--------------------------------------^
flusec_telemac2d.f(115): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.
IF (.NOT.ALLOCATED(CHAIN)) CLASSIC=.TRUE.
-----------------------------------------^
compilation aborted for flusec_telemac2d.f (code 1)
I think a flag might be missing in my compiling options. My systel.ini compiler data is the following (with hostype=linux):
[linux]
DIRLIB=linux
#
FC_NAM="ifort"
FC_OPT_OBJEXT="o"
FC_OPT_COMPIL=" -c -O3 -convert big_endian -no-vec"
FC_OPT_DEBUG=" -g "
FC_OPT_PROFILE=" -O3 -w=obs -v -pg -c "
FC_OPT_INCLUDE="-I "
FC_OPT_OTHERS=" -extend-source 132 "
#
LK_NAM="ifort"
LK_OPT_NORMAL=
LK_OPT_DEBUG=
LK_OPT_PROFILE=
LK_OPT_OUTNAME=" -o "
LK_OPT_OTHERS=
#
LIB_NAM=ar
LIB_OPT_LIBEXT="a"
LIB_OPT_OUTNAME="cru"
LIB_OPT_OTHERS=
LIB_RANLIB="ranlib"
#
RUN_DEBUG=
RUN_PROFILE=
#
#---- IMPI
#
FC_MPI="ifort "
LK_MPI="mpiifort -o <EXE> <OBJS> <LIBS>"
LIBS_MPI=" -L/opt/intel/impi/3.2.2/lib64/libmpi.a"
#RUN_MPI="mpiexec -machinefile mpirun.txt -n <N> ./<EXE>"
RUN_MPI="mpirun -r ssh -f mpirun.txt -env I_MPI_DEBUG 2 -n <N> ./<EXE>"
The same error is produced when compiling some files in sisyphe that use CLASSIC as well.
Any help is appreciated!
P.S.
I should mention here that the installation guide written by Decung, Denis and Hervouet is of great help and is very well written.