[MITgcm-support] Compiling issue

Nazarian, Robert rnazarian at fairfield.edu
Mon Jul 27 11:03:35 EDT 2020


Hi everyone,

I recently downloaded the latest version of the MITgcm and have had an issue compiling the internal wave verification code. For reference, I’m using the following commands, which worked for previous versions of the model:
module unload PrgEnv-intel
module load PrgEnv-pgi
module load cray-netcdf
../tools/genmake2 -mpi -of ../tools/build_options/gaea_c2 -mods=../verification/internal_wave/code
make depend
make

After the make command, I receive the following error:
cat obcs_calc.F | ../tools/set64bitConst.sh |  cpp -traditional -P -DWORDLENGTH=4 -DTARGET_CRAYXT -DNML_EXTENDED_F77 -DALLOW_USE_MPI -DALWAYS_USE_MPI -DHAVE_SYSTEM -DHAVE_FDATE -DHAVE_ETIME -DHAVE_CLOC -DHAVE_SETRLSTK -DHAVE_SIGREG -DHAVE_STAT  -I/opt/cray/pe/mpt/7.7.11/gni/mpich-pgi/19.1/include -I/opt/cray/pe/netcdf/4.6.3.2/PGI/19.5/include > obcs_calc.f
ftn -byteswapio -Mnodclchk  -tp k8-64 -pc=64 -fastsse -O3 -Mlarge_arrays -c obcs_calc.f
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 491)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 491)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 492)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 492)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 494)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 494)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 495)
PGF90-S-0084-Illegal use of symbol d0 - KIND parameter (obcs_calc.f: 495)
  0 inform,   0 warnings,   8 severes, 0 fatal for obcs_calc
make: *** [Makefile:927: obcs_calc.o] Error 2

Any advice on fixing this/these compilation error(s)? Any feedback is appreciated.

Thanks,
Rob

Robert Nazarian, PhD
Assistant Professor, Department of Physics
Fairfield University
(203) 254-4000 ext. 3440
rnazarian at fairfield.edu<mailto:rnazarian at fairfield.edu>
Twitter: @fairfielduphys
Instagram: fairfielduphysics



More information about the MITgcm-support mailing list