[MITgcm-support] Environment for compiling

Nazarian, Robert rnazarian at fairfield.edu
Wed Mar 30 13:24:38 EDT 2022


Hi everyone,

I am compiling a new setup of the MITgcm and am encountering an error while compiling. I am using the standard compiling routine:
module unload PrgEnv-intel
module load PrgEnv-pgi
module load cray-netcdf
module load PythonEnv-noaa
../tools/genmake2 -mpi -of ../tools/build_options/gaea_c3 -mods=../simulation_name/code
make depend
make

During the make process, I get the following error:
PGF90-S-0038-Symbol, mnc_tag_id, has not been explicitly declared (mnc_cw_model_attr.f)
  0 inform,   0 warnings,   1 severes, 0 fatal for mnc_cw_set_gattr
make[1]: *** [Makefile:1468: mnc_cw_model_attr.o] Error 2
make[1]: Leaving directory '/ncrc/home2/Robert.Nazarian/models/MITgcm/bin'
make: *** [Makefile:1380: fwd_exe_target] Error 2

One of my colleagues, however, can successfully compile using this same routine and the same /tools directory (so it isn’t a problem of either gaea_c3 or genmake2). I suspect that it may be an issue with the environments, but am not sure which environment I’m missing. Has anyone else run into this problem or have a suggestion?

Thanks,
Rob

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



More information about the MITgcm-support mailing list