Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

ERROR: /CESM2.2/cime/src/build_scripts/buildlib.pio FAILED

Gamling Dang

gamlingdang
New Member
Hi, everyone! When I porting CESM to a new HPC cluster, I encountered an error when building PIO. The error is: ERROR: /home/CESM2.2/cime/src/build_scripts/buildlib.pio FAILED, cat /home/scratch/cesm/run/test_case/bld/pio.bldlog.230810-152340. In the pio.bldlog:

pio_version_major = None pio_version = 1
make /public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1/Makefile -C /public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1 CASEROOT=/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002 MODEL=pio1 COMP_NAME=pio1 USER_CMAKE_OPTS="-D GENF90_PATH=$CIMEROOT/src/externals/genf90 " PIO_LIBDIR=/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1 CASETOOLS=/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools USER_CPPDEFS=-DTIMING CIME_MODEL=cesm SMP=FALSE CASEROOT="/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002" CASETOOLS="/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools" CIMEROOT="/public/home/kali/CESM2.2/cime" COMP_INTERFACE="mct" COMPILER="gnu" DEBUG="FALSE" EXEROOT="/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld" INCROOT="/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/lib/include" LIBROOT="/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/lib" MACH="eesrf" MPILIB="openmpi" NINST_VALUE="c1a1l1i1o1r1g1w1i1e1" OS="LINUX" PIO_VERSION="1" SHAREDLIBROOT="/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld" SMP_PRESENT="FALSE" USE_ESMF_LIB="FALSE" USE_MOAB="FALSE" COMP_LND="clm" COMPARE_TO_NUOPC="FALSE" USE_TRILINOS="FALSE" USE_ALBANY="FALSE" USE_PETSC="FALSE" -f /public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools/Makefile
make: Entering directory '/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1'
/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools/mkSrcfiles
cp -f Filepath Deppath
/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools/mkDepends Deppath Srcfiles > Depends
cd /public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1; \
CC=mpicc CXX=mpicxx FC=mpif90 LDFLAGS="" cmake -D CMAKE_Fortran_FLAGS:STRING="-fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none -fallow-argument-mismatch -fallow-invalid-boz -O -DTIMING -DLINUX -DCESMCOUPLED -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DNDEBUG -DHAVE_MPI -DMCT_INTERFACE -DPIO1 -DHAVE_SLASHPROC -DATM_PRESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -DMED_PRESENT -I. -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/mct/noesmf/c1a1l1i1o1r1g1w1i1e1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/finclude -I/public/apps/netcdf-c-4.9.2/include -I/public/apps/netcdf-fortran-4.6.1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include" -D CMAKE_C_FLAGS:STRING="-std=gnu99 -O -DTIMING -DLINUX -DCESMCOUPLED -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DNDEBUG -DHAVE_MPI -DMCT_INTERFACE -DPIO1 -DHAVE_SLASHPROC -DATM_PRESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -DMED_PRESENT -I. -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/mct/noesmf/c1a1l1i1o1r1g1w1i1e1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/finclude -I/public/apps/netcdf-c-4.9.2/include -I/public/apps/netcdf-fortran-4.6.1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include" -D CMAKE_CXX_FLAGS:STRING="-DTIMING -DLINUX -DCESMCOUPLED -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU -DNDEBUG -DHAVE_MPI -DMCT_INTERFACE -DPIO1 -DHAVE_SLASHPROC -DATM_PRESENT -DICE_PRESENT -DLND_PRESENT -DOCN_PRESENT -DROF_PRESENT -DGLC_PRESENT -DWAV_PRESENT -DESP_PRESENT -DMED_PRESENT -I. -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/mct/noesmf/c1a1l1i1o1r1g1w1i1e1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/finclude -I/public/apps/netcdf-c-4.9.2/include -I/public/apps/netcdf-fortran-4.6.1/include -I/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/include" -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D GPTL_PATH:STRING=/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct -D PIO_ENABLE_TESTS:BOOL=OFF -D PIO_USE_MALLOC:BOOL=ON -D USER_CMAKE_MODULE_PATH:LIST="/public/home/kali/CESM2.2/cime/src/CMake;/public/home/kali/CESM2.2/cime/src/externals/pio2/cmake" -D NetCDF_C_PATH:PATH=/public/apps/netcdf-c-4.9.2 -D NetCDF_Fortran_PATH:PATH=/public/apps/netcdf-fortran-4.6.1 -D WITH_PNETCDF:LOGICAL=FALSE -D PIO_USE_MPIIO:LOGICAL=FALSE -D GENF90_PATH=/public/home/kali/CESM2.2/cime/scripts/Tools/../../src/externals/genf90 /public/home/kali/CESM2.2/cime/src/externals/pio1
make: Leaving directory '/public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1'
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/bin/sh: line 2: cmake: command not found
make: *** [/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools/Makefile:798: /public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1/Makefile] Error 127
ERROR: cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/bin/sh: line 2: cmake: command not found
make: *** [/public/home/kali/scratch/cesm/case/01x01_10y.GSWP3.230810.CESM2.2_002/Tools/Makefile:798: /public/home/kali/scratch/cesm/run/01x01_10y.GSWP3.230810.CESM2.2_002/bld/gnu/openmpi/nodebug/nothreads/mct/pio/pio1/Makefile] Error 127

Can anyone help me? Many thanks.
 

Attachments

  • config_batch.xml.txt
    304 bytes · Views: 4
  • config_compilers.xml.txt
    234 bytes · Views: 5
  • config_machines.txt
    2.7 KB · Views: 4
  • pio.bldlog.txt
    6.4 KB · Views: 7

Gamling Dang

gamlingdang
New Member
It's not being found - is it in the path?
Hi, Jedwards.
I checked the CMake. CMake is in the path.
$ cmake --version
cmake version 3.22.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ which cmake
/usr/bin/cmake

I also used another simple script to test CMake, it worked well. Do you have any ideas? Thanks a lot.
 
Top