Compiation error on Mira
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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles cp -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/Depends cd /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 found gmake: *** [/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.
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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles
cp -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/Depends cd /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 found gmake: *** [/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 [email protected] https://lists.mcs.anl.gov/mailman/listinfo/acme-se
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 <http://bugs.cgd.ucar.edu/show_bug.cgi?id=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 <[email protected]> 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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory
/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles cp -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/Depends cd /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 found gmake: *** [/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 [email protected]https://lists.mcs.anl.gov/mailman/listinfo/acme-se
I've never tried clm4.5, only clm4.0 . Sorry. Pat On 8/6/14 12:05 PM, Gautam Bisht wrote:
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 <http://bugs.cgd.ucar.edu/show_bug.cgi?id=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 <[email protected] <mailto:[email protected]>> 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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles
cp -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/Depends cd /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 found gmake: *** [/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 [email protected] <mailto:[email protected]> https://lists.mcs.anl.gov/mailman/listinfo/acme-se
Update ... I suggested that Gautam set <entry id="BUILD_THREADED" value="TRUE" /> in env_build.xml. This worked. This modification should not be necessary and so there is still a build logic bug, but it will allow work to proceed until the bug is diagnosed. Note that nature of this bug probably is not system specific. I.e. a similar issue may show up on other platforms. Has anyone observed this? Pat On 8/6/14 12:05 PM, Gautam Bisht wrote:
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 <http://bugs.cgd.ucar.edu/show_bug.cgi?id=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 <[email protected] <mailto:[email protected]>> 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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles
cp -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/Depends cd /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 found gmake: *** [/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 [email protected] <mailto:[email protected]> https://lists.mcs.anl.gov/mailman/listinfo/acme-se
All, The CNSummaryMod.F90 file also needed to be fixed. For sake of completeness, below is the set of commands to get the ICRUCLM45 with CLM4.5 compiled on Mira. ! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ./create_newcase -case f09_f09_icruclm45 -res f09_f09 -mach mira -compset ICRUCLM45 cd 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" # Fix-1 ./xmlchange -file env_build.xml -id BUILD_THREADED -val TRUE # Fix-2 echo "soft add +cmake" >> env_mach_specific # Fix-3 cp /gpfs/mira-fs0/projects/EarthModel/gbisht/public/SourceMods/src.clm/CNSummaryMod.F90 ./SourceMods/src.clm ./cesm_setup ./f09_f09_icruclm45.build ! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -Gautam. On Wed, Aug 6, 2014 at 10:54 AM, Patrick Worley <[email protected]> wrote:
Update ... I suggested that Gautam set
<entry id="BUILD_THREADED" value="TRUE" />
in env_build.xml. This worked.
This modification should not be necessary and so there is still a build logic bug, but it will allow work to proceed until the bug is diagnosed.
Note that nature of this bug probably is not system specific. I.e. a similar issue may show up on other platforms. Has anyone observed this?
Pat
On 8/6/14 12:05 PM, Gautam Bisht wrote:
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 <http://bugs.cgd.ucar.edu/show_bug.cgi?id=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 <[email protected]> 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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory
/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles cp -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/Depends cd /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 found gmake: *** [/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 [email protected]https://lists.mcs.anl.gov/mailman/listinfo/acme-se
Note that # Fix-2 is not necessary if you use the github branch worleyph/acme/C1_performance_instrumentation for this work. Thanks. Pat On 8/6/14 4:02 PM, Gautam Bisht wrote:
All,
The CNSummaryMod.F90 file also needed to be fixed. For sake of completeness, below is the set of commands to get the ICRUCLM45 with CLM4.5 compiled on Mira.
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ./create_newcase -case f09_f09_icruclm45 -res f09_f09 -mach mira -compset ICRUCLM45 cd 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"
# Fix-1 ./xmlchange -file env_build.xml -id BUILD_THREADED -val TRUE
# Fix-2 echo "soft add +cmake" >> env_mach_specific
# Fix-3 cp /gpfs/mira-fs0/projects/EarthModel/gbisht/public/SourceMods/src.clm/CNSummaryMod.F90 ./SourceMods/src.clm
./cesm_setup
./f09_f09_icruclm45.build
! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-Gautam.
On Wed, Aug 6, 2014 at 10:54 AM, Patrick Worley <[email protected] <mailto:[email protected]>> wrote:
Update ... I suggested that Gautam set
<entry id="BUILD_THREADED" value="TRUE" />
in env_build.xml. This worked.
This modification should not be necessary and so there is still a build logic bug, but it will allow work to proceed until the bug is diagnosed.
Note that nature of this bug probably is not system specific. I.e. a similar issue may show up on other platforms. Has anyone observed this?
Pat
On 8/6/14 12:05 PM, Gautam Bisht wrote:
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 <http://bugs.cgd.ucar.edu/show_bug.cgi?id=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 <[email protected] <mailto:[email protected]>> 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 ICRUCLM45 cd 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-151008 Wed 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-151008 set pio_dir=/gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio cd /gpfs/mira-fs0/projects/EarthModel/gbisht/scratch/exe/f09_f09_icruclm45/bld/ibm/ibm/nodebug/nothreads/pio set cmake_opts= -D USER_CMAKE_MODULE_PATH=/gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/ccsm_utils/CMake set 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 gmake /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/Makefile cat: Filepath: No such file or directory cat: Srcfiles: No such file or directory /gpfs/mira-home/gbisht/projects/ACME/repo/ACME/scripts/f09_f09_icruclm45/Tools/mkSrcfiles
cp -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/Depends cd /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 found gmake: *** [/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 [email protected] <mailto:[email protected]> https://lists.mcs.anl.gov/mailman/listinfo/acme-se
participants (2)
-
Gautam Bisht -
Patrick Worley