Thanks, Pat. You suggestion did solve the issue related to cmake and libpio.a was successfully built.
But, now the compilation failed for models/lnd/clm/src/clm4_5/biogeochem/CNSummaryMod.F90. Attached below is the log file. I believe this error is similar to the one report as bug-1885 to NCAR. Has anyone successfully compiled the ACME code with active land compset on Mira?
Thanks,-Gautam.
On Wed, Aug 6, 2014 at 8:45 AM, Patrick Worley <worleyph@ornl.gov> wrote:
Just guessing, but the 'soft add +cmake' may not be in effect during the script execution?
I had a similar problem a few months back, and I added the above to env_mach_specific.mira .
This is in the branches
worleyph/acme/C1_performance_instrumentation
and
worleyph/maint-0.0/C1-performance-instrumentation
Pat
On 8/6/14 11:25 AM, Gautam Bisht wrote:
Hi SE Team,
I'm trying to build a standard case for the ICRUCLM45 compset on Mira. During the PIO build, I get an error regarding cmake. Following are the commands that I used to create the case:
% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++soft add +cmake
./create_newcase -case f09_f09_icruclm45 -res f09_f09 -mach mira -compset ICRUCLM45cd f09_f09_icruclm45
./xmlchange -file env_build.xml -id EXEROOT -val "/gpfs/mira-fs0/projects/EarthModel/\$CCSMUSER/scratch/exe/\$CASE/bld"
./xmlchange -file env_run.xml -id RUNDIR -val "/gpfs/mira-fs0/projects/EarthModel/\$CCSMUSER/scratch/exe/\$CASE/run"./xmlchange -file env_run.xml -id DOUT_S_ROOT -val "/gpfs/mira-fs0/projects/EarthModel/$CCSMUSER/archive/\$CASE"./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val "/gpfs/mira-fs0/projects/EarthModel/gbisht/inputdata"./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val "/gpfs/mira-fs0/projects/EarthModel/gbisht/inputdata/atm/datm7"
./cesm_setup
./f09_f09_icruclm45.build
% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
and below is the error
% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>cat /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio.bldlog.140806-151008Wed Aug 6 15:12:21 UTC 2014 /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio.bldlog.140806-151008set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/piocd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pioset cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMakeset cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake -D GENF90_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/tools/cprnc/genf90gmake /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio/Makefile MODEL=pio USER_CMAKE_OPTS= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake -D GENF90_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/tools/cprnc/genf90 PIO_LIBDIR=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio -f /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/Makefilecat: Filepath: No such file or directorycat: Srcfiles: No such file or directory/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfilescp -f /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio/Filepath/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio/Deppath/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkDepends Deppath Srcfiles > /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio/Dependscd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio; \CC=mpixlc_r CXX= FC=mpixlf2003_r LDFLAGS="-Wl,--relax -Wl,--allow-multiple-definition -L/soft/libraries/hdf5/1.8.10/cnk-xl/current/lib -lhdf5 -lhdf5_hl " cmake -D CMAKE_Fortran_FLAGS:STRING="-g -qfullpath -qmaxmem=-1 -qspillsize=2500 -qextname=flush -O3 -qstrict -Q -WF,-DBGQ -WF,-DNDEBUG -WF,-DMCT_INTERFACE -WF,-DHAVE_MPI -WF,-DFORTRAN_SAME -WF,-DLINUX -WF,-DnoI8 -WF,-DBGQ -WF,-DCPRIBM -I. -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/soft/libraries/netcdf/4.3.0-f4.2/cnk-xl/V1R2M0-20131211//include -I/soft/libraries/pnetcdf/1.3.1/cnk-xl/current//include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/models/csm_share/shr" -D CMAKE_C_FLAGS:STRING="-O2 -g -qfullpath -qmaxmem=-1 -DBGQ -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRAN_SAME -DLINUX -DnoI8 -DBGQ -DCPRIBM -I. -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/soft/libraries/netcdf/4.3.0-f4.2/cnk-xl/V1R2M0-20131211//include -I/soft/libraries/pnetcdf/1.3.1/cnk-xl/current//include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/models/csm_share/shr" -D CMAKE_CXX_FLAGS:STRING="-O2 -g -qfullpath -qmaxmem=-1 -DBGQ -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRAN_SAME -DLINUX -DnoI8 -DBGQ -DCPRIBM -I. -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/soft/libraries/netcdf/4.3.0-f4.2/cnk-xl/V1R2M0-20131211//include -I/soft/libraries/pnetcdf/1.3.1/cnk-xl/current//include -I/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/include -I/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/models/csm_share/shr" -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D NETCDF_DIR:STRING=/soft/libraries/netcdf/4.3.0-f4.2/cnk-xl/V1R2M0-20131211/ -D USER_CMAKE_MODULE_DIR:STRING=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake -D PNETCDF_DIR:STRING="/soft/libraries/pnetcdf/1.3.1/cnk-xl/current/" -D PIO_FILESYSTEM_HINTS:STRING="gpfs " -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake -D GENF90_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/tools/cprnc/genf90/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/models/utils/pio/bin/sh: line 1: cmake: command not foundgmake: *** [/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio/Makefile] Error 127
% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any ideas on how to fix this?
Thanks,-Gautam.
_______________________________________________ ACME-SE mailing list ACME-SE@lists.mcs.anl.gov https://lists.mcs.anl.gov/mailman/listinfo/acme-se