jacob_t_seeley@gmail_com
New Member
I'd like to build CAM5 (the version distributed with CESM1.0.6) on NERSC's Hopper, which is a supported machine for CESM. Since I'm on Hopper it was a breeze to get CESM running, but as far as I can tell the scripts for CAM5 standalone don't interact with the "supported machine" architecture that took care of all machine-specific details for me when building CESM. (I need CAM5 standalone because I ultimately want to run in aquaplanet mode, which I understand is not supported from CESM scripts. For now, I'd be happy to get the model built with any compset.)
I'm new to this, so I doubt the problems I'm running into are very difficult to solve. I've pasted below the output from my failed attempt. Any pointers will be greatly appreciated.
Thanks,
Jake
>./configure -dyn fv -hgrid 10x15 -nospmd -nosmp -test
Issuing command to the CICE configure utility:
/global/u1/s/seeley/second_project/cesm1_0_6/models/ice/cice/bld/configure -hgrid 10x15 -cice_mode prescribed -ntr_aero 0 -ntasks 1 -nthreads 1 -cache config_cache_cice.xml -cachedir /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld
configure done.
MCT configure is done.
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Filepath
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Makefile
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/config.h
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/config_cache.xml
Looking for a valid GNU make... using gmake
Testing for Fortran 90 compatible compiler... **** FAILED ****
Issued the command:
gmake -f /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Makefile test_fc 2>&1
The output was:
/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mkSrcfiles > /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests/Srcfiles
/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mkDepends Filepath Srcfiles > /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests/Depends
pgf90 -c -Mfree -I. -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests -I/opt/cray/netcdf/4.3.0/PGI/121/include -I/opt/cray/netcdf/4.3.0/PGI/121/include -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mct -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpeu -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpi-serial -DNO_SHR_VMATH -DSEQ_MCT -DFORTRANUNDERSCORE -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=24 -DPLAT=19 -DPLEV=30 -DPCNST=25 -DPCOLS=16 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DCCSMCOUPLED -Dcoupled -Dncdf -DNCAT=1 -DNXGLOB=24 -DNYGLOB=19 -DNTR_AERO=0 -DBLCKX=24 -DBLCKY=19 -DMXBLCKS=1 -DDUST -DPROGSSLT -DMODAL_AERO -DMODAL_AERO_3MODE -D_USEBOX -D_NETCDF -DLINUX -DNO_R16 -i4 -Mdalign -Mextend -byteswapio -gopt -O2 -Mvect=nosse -Kieee -DHIDE_MPI -D_MPISERIAL -DNO_MPI2 test_fc.F90
pgf90 -o test_fc test_fc.o -Wl,-rpath /opt/cray/netcdf/4.3.0/PGI/121/lib -lnetcdff -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mct -lmct -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpeu -lmpeu -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpi-serial -lmpi-serial
File with unknown suffix passed to linker: /opt/cray/netcdf/4.3.0/PGI/121/lib
/usr/bin/ld: cannot find -lnetcdff
/usr/bin/ld: cannot find -lmct
/usr/bin/ld: cannot find -lmpeu
/usr/bin/ld: cannot find -lmpi-serial
gmake: *** [test_fc] Error 2
I'm new to this, so I doubt the problems I'm running into are very difficult to solve. I've pasted below the output from my failed attempt. Any pointers will be greatly appreciated.
Thanks,
Jake
>./configure -dyn fv -hgrid 10x15 -nospmd -nosmp -test
Issuing command to the CICE configure utility:
/global/u1/s/seeley/second_project/cesm1_0_6/models/ice/cice/bld/configure -hgrid 10x15 -cice_mode prescribed -ntr_aero 0 -ntasks 1 -nthreads 1 -cache config_cache_cice.xml -cachedir /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld
configure done.
MCT configure is done.
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Filepath
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Makefile
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/config.h
creating /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/config_cache.xml
Looking for a valid GNU make... using gmake
Testing for Fortran 90 compatible compiler... **** FAILED ****
Issued the command:
gmake -f /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/Makefile test_fc 2>&1
The output was:
/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mkSrcfiles > /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests/Srcfiles
/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mkDepends Filepath Srcfiles > /global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests/Depends
pgf90 -c -Mfree -I. -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/configure-tests -I/opt/cray/netcdf/4.3.0/PGI/121/include -I/opt/cray/netcdf/4.3.0/PGI/121/include -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mct -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpeu -I/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpi-serial -DNO_SHR_VMATH -DSEQ_MCT -DFORTRANUNDERSCORE -DCO2A -DMAXPATCH_PFT=numpft+1 -DLSMLAT=1 -DLSMLON=1 -DPLON=24 -DPLAT=19 -DPLEV=30 -DPCNST=25 -DPCOLS=16 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSTAGGERED -DCCSMCOUPLED -Dcoupled -Dncdf -DNCAT=1 -DNXGLOB=24 -DNYGLOB=19 -DNTR_AERO=0 -DBLCKX=24 -DBLCKY=19 -DMXBLCKS=1 -DDUST -DPROGSSLT -DMODAL_AERO -DMODAL_AERO_3MODE -D_USEBOX -D_NETCDF -DLINUX -DNO_R16 -i4 -Mdalign -Mextend -byteswapio -gopt -O2 -Mvect=nosse -Kieee -DHIDE_MPI -D_MPISERIAL -DNO_MPI2 test_fc.F90
pgf90 -o test_fc test_fc.o -Wl,-rpath /opt/cray/netcdf/4.3.0/PGI/121/lib -lnetcdff -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mct -lmct -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpeu -lmpeu -L/global/u1/s/seeley/second_project/cesm1_0_6/models/atm/cam/bld/mct-serial/mpi-serial -lmpi-serial
File with unknown suffix passed to linker: /opt/cray/netcdf/4.3.0/PGI/121/lib
/usr/bin/ld: cannot find -lnetcdff
/usr/bin/ld: cannot find -lmct
/usr/bin/ld: cannot find -lmpeu
/usr/bin/ld: cannot find -lmpi-serial
gmake: *** [test_fc] Error 2