-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi Jody, thanks for the sharing. I tried to use your code but when running 'make' I got the error message below:
if [ ! -L PTRACERS_MOD.h ]; then ln -s /home/qx344/MitgcmTutor/MITgcm//pkg/ptracers/PTRACERS_MOD.h PTRACERS_MOD.h; fi
mpif90 -m64 -convert big_endian -assume byterecl -mcmodel=medium -O2 -align -ip -fp-model source -xHost -c btforcing_tendency_apply.f
btforcing_tendency_apply.f(1933): error #5082: Syntax error, found ',' when expecting one of: ( : % [ . = =>
RL_ tideamp, f, tidefreq
-----------------^
btforcing_tendency_apply.f(1936): error #6404: This name does not have a type, and must have an explicit type. [BTFORCINGTIDEFREQ]
tidefreq = btforcingTideFreq
-----------------^
btforcing_tendency_apply.f(1937): error #6404: This name does not have a type, and must have an explicit type. [TIDEAMP]
tideamp = -btforcingTideAmp
------^
btforcing_tendency_apply.f(1937): error #6404: This name does not have a type, and must have an explicit type. [BTFORCINGTIDEAMP]
tideamp = -btforcingTideAmp
-----------------^
btforcing_tendency_apply.f(3515): error #6404: This name does not have a type, and must have an explicit type. [BTFORCINGU0]
& + maskS(i,j,k,bi,bj) * fCori(i, j, bi, bj) * btforcingU0
--------------------------------------------------------^
Do you have any idea what causes this? It may be helpful if you can share the details of how you compile the code usually. What I did was:
module load openmpi/intel/4.0.5
module load netcdf-fortran/intel/4.5.3
/home/qx344/MitgcmTutor/MITgcm/tools/genmake2 -rootdir /home/qx344/MitgcmTutor/MITgcm/ -mods /home/qx344/MitgcmTutor/MITgcm/verification/20kmMPRun/code/ -mpi -optfile /home/qx344/MitgcmTutor/MITgcm/tools/build_options/linux_amd64_ifort11
make depend
make
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels