[MITgcm-support] Unable to compile

kunal madkaiker kunal.madkaiker02 at gmail.com
Wed Aug 26 18:10:11 EDT 2020


Dear MITgcm users,

I am trying to run the model on hpc. In order to compile, I am using the
available modules from MITgcm/tools/build_options.
Tried with 2 of the modules i.e. linux_amd64_pgf90+mpi_xd1 and
linux_amd64_ifort+impi, but getting compilation error from both. I am using
the MITgcm_c67f version

My compiling script is:
/home/adrao/Model/MITgcm_c67f/MITgcm/tools/genmake2
--optfile=/home/adrao/Model/MITgcm_c67f/MITgcm/tools/build_options/linux_amd64_pgf90+mpi_xd1
-mpi
make depend
make
---------
The error that I get for linux_amd64_pgf90+mpi_xd1 is,

cat chksum_tiled.F |  /usr/bin/cpp -P -traditional -DWORDLENGTH=4
-DALLOW_USE_MPI  -I/sopt/mpi/mpich/pgi/include
-I/sopt/netcdf/netcdf3-gcc-serial/include |
../../../../tools/set64bitConst.sh  > chksum_tiled.f
mpif90 -byteswapio -Mnodclchk -O2 -Munroll  -c chksum_tiled.f
gfortran: error: unrecognized command line option ‘-byteswapio’
gfortran: error: unrecognized command line option ‘-Mnodclchk’
gfortran: error: unrecognized command line option ‘-Munroll’
Makefile:1484: recipe for target 'chksum_tiled.o' failed
make[1]: *** [chksum_tiled.o] Error 1
make[1]: Leaving directory
'/home/adrao/Model/MITgcm_c67f/MITgcm/verification/kunal_RUNTESTRUN/test_trial/testing_mpi_compiler'
Makefile:1392: recipe for target 'fwd_exe_target' failed
make: *** [fwd_exe_target] Error 2
---------
Whereas, for linux_amd64_ifort+impi is,
cat chksum_tiled.F |  cpp -traditional -P -DWORDLENGTH=4 -DALLOW_USE_MPI
 -I/usr/local/netcdf3/include -I/usr/local/bin/mpich/include |
../../../../tools/set64bitConst.sh  > chksum_tiled.f
mpiifort -m64 -convert big_endian -assume byterecl -mcmodel=medium -O2
-align -ip -fp-model source -xHost  -c chksum_tiled.f
make[1]: mpiifort: Command not found
Makefile:1491: recipe for target 'chksum_tiled.o' failed
make[1]: *** [chksum_tiled.o] Error 127
make[1]: Leaving directory
'/home/adrao/Model/MITgcm_c67f/MITgcm/verification/kunal_RUNTESTRUN/test_trial/testing_mpi_compiler'
Makefile:1399: recipe for target 'fwd_exe_target' failed
make: *** [fwd_exe_target] Error 2

Also, attaching genmake2, genmake.log files for both.
Kindly assist in case I need to edit the modules, or if an alternative is
available. Thanks!

Regards
Kunal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200827/3eef3b0a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genmake2
Type: application/octet-stream
Size: 113104 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200827/3eef3b0a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifort_impi_genmake.log
Type: text/x-log
Size: 5808 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200827/3eef3b0a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_amd64_pgf90+mpi_xd1_genmake.log
Type: text/x-log
Size: 5578 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200827/3eef3b0a/attachment-0003.bin>


More information about the MITgcm-support mailing list