Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheyenne #20

Open
andreasschmittner opened this issue May 15, 2020 · 8 comments
Open

Cheyenne #20

andreasschmittner opened this issue May 15, 2020 · 8 comments

Comments

@andreasschmittner
Copy link

On cheyenne the following module is no longer available

module load mpt/2.15f

I've replaced it with the generic

module load mpt

but wasn't able to compile. During the make step "make NETCDF=3 REPRO=1 libfms.a -j" I get the following error message:

shared/repro> make NETCDF=3 REPRO=1 libfms.a -j
icc -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -D__IFC -sox -traceback -c -I../../../../src/FMS/mosaic ../../../../src/FMS/mosaic/interp.c
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/drifters/drifters_input.F90
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/mpp/mpp_parameter.F90
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/constants/constants.F90
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/platform/platform.F90
icc -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -D__IFC -sox -traceback -c -I../../../../src/FMS/mosaic ../../../../src/FMS/mosaic/read_mosaic.c
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/drifters/cloud_interpolator.F90
ifort -Duse_libMPI -Duse_netCDF -DSPMD -Duse_LARGEFILE -fpp -Wp,-w -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -i4 -r8 -nowarn -sox -traceback -O2 -debug minimal -fp-model source -override-limits -c -I../../../../src/FMS/include ../../../../src/FMS/sat_vapor_pres/sat_vapor_pres_k.F90
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
Makefile:61: recipe for target 'drifters_input.o' failed
make: *** [drifters_input.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile:125: recipe for target 'mpp_parameter.o' failed
make: *** [mpp_parameter.o] Error 1
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
Makefile:31: recipe for target 'constants.o' failed
make: *** [constants.o] Error 1
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
Makefile:139: recipe for target 'platform.o' failed
make: *** [platform.o] Error 1
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
Makefile:149: recipe for target 'sat_vapor_pres_k.o' failed
make: *** [sat_vapor_pres_k.o] Error 1
ifort: command line error: option '-override-limits' is not supported. Please use the replacement option '-qoverride-limits'
Makefile:27: recipe for target 'cloud_interpolator.o' failed
make: *** [cloud_interpolator.o] Error 1

@gustavo-marques
Copy link
Collaborator

These are my modules:
intel/18.0.5 mpt/2.19 netcdf/4.6.3 ncarenv/1.3 ncarcompilers/0.5.0

Do you have the "cheyenne-intel.mk" in MOM6-cases/src/mkmf/templates/?
If not, please place the following file into MOM6-cases/src/mkmf/templates/ and try again:
/glade/work/gmarques/MOM6-examples/src/mkmf/templates/cheyenne-intel.mk

@andreasschmittner
Copy link
Author

andreasschmittner commented May 16, 2020 via email

@gustavo-marques
Copy link
Collaborator

I believe you need to update both FMS and MOM6. Please do the following, then try building it again:

Update FMS

cd your-path-to/MOM6-cases/src/FMS
git fetch
git checkout a722a24

Update MOM6

cd your-path-to/MOM6-cases/src/MOM6
git fetch
git checkout dev/ncar
git pull

Build FMS

cd your-path-to/MOM6-cases/
rm -rf build
execute this script /glade/u/home/gmarques/bin/make_FMS

Build MOM6

execute this script /glade/u/home/gmarques/bin/make_repro

FYI, MOM6-cases is used to host idealized test cases that are run in ocean-only mode. If you are interested in global configurations using CESM/MOM6, please check the following tutorial:
https://github.com/ESCOMP/MOM_interface/wiki

@gustavo-marques
Copy link
Collaborator

@andreasschmittner, has this issue been solved?

@andreasschmittner
Copy link
Author

andreasschmittner commented Jun 10, 2020 via email

@gustavo-marques
Copy link
Collaborator

That would take some work. Create the grid, topography, etc would be relatively easy. Tunning the model would be the most time-consuming part. We do plan to create a 2 deg configuration in the near future. It would be helpful if you could express your desire for such a configuration during the CESM workshop this coming Monday. The Ocean Model Working Group will have a discussion from 1 pm to 4:30 pm MT. Here is the agenda:
http://www.cesm.ucar.edu/events/workshops/2020/files/agenda.pdf

@andreasschmittner
Copy link
Author

andreasschmittner commented Jun 10, 2020 via email

@andreasschmittner
Copy link
Author

andreasschmittner commented Jun 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants