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

pio in 1.2.2 not finding its directory

rsheppar@iu_edu

New Member
Hello,  I am trying to build version 1.2.2.  I began with:create_newcase -case /N/dc2/scratch/rsheppar/cesm/test1 -res f45_g37 -compset X  -mach karst -compiler intelThat resulted in:Successfully created the case for karst

I then relocated to test1 and ran cesm_setup:[rsheppar@h2 scripts]$ cd ../../test1
[rsheppar@h2 test1]$ ./cesm_setup
Creating Macros file for karst
/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/Machines/config_compilers.xml intel karst
Creating batch script test1.run
Locking file env_mach_pes.xml
Creating user_nl_xxx files for components and cpl
Running preview_namelist script
Use of qw(...) as parentheses is deprecated at /N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/drv/bld/build-namelist line 784.
 infile is /N/dc2/scratch/rsheppar/cesm/test1/Buildconf/cplconf/cesm_namelist
See ./CaseDoc for component namelists
If an old case build already exists, might want to run test1.clean_build before building
[rsheppar@h2 test1]$ ./test1.build-------------------------------------------------------------------------
 CESM BUILDNML SCRIPT STARTING
 - To prestage restarts, untar a restart.tar file into /N/dc2/scratch/rsheppar/cesm/run_dir
Use of qw(...) as parentheses is deprecated at /N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/drv/bld/build-namelist line 784.
 infile is /N/dc2/scratch/rsheppar/cesm/test1/Buildconf/cplconf/cesm_namelist
 CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 CESM PRESTAGE SCRIPT STARTING
 - Case input data directory, DIN_LOC_ROOT, is /N/dc2/scratch/rsheppar/cesm/din_input
 - Checking the existence of input datasets in DIN_LOC_ROOT
 CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
 CESM BUILDEXE SCRIPT STARTING
rm: No match.
 COMPILER is intel
 - Build Libraries: mct gptl pio csm_share
Wed Jun 15 03:11:00 EDT 2016 /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/mct.bldlog.160615-031058
Wed Jun 15 03:11:01 EDT 2016 /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/gptl.bldlog.160615-031058
Wed Jun 15 03:11:01 EDT 2016 /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.160615-031058
ERROR: buildlib.pio failed, see /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.160615-031058
ERROR: cat /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.160615-031058

the pio_bldlog shows:cat /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.160615-031058
Wed Jun 15 03:11:01 EDT 2016 /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.160615-031058
set pio_dir=/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio
cd /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/CMake
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/CMake -D GENF90_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/tools/cprnc/genf90
gmake /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio/Makefile MODEL=pio USER_CMAKE_OPTS= -D USER_CMAKE_MODULE_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/CMake -D GENF90_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/tools/cprnc/genf90 PIO_LIBDIR=/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio -f /N/dc2/scratch/rsheppar/cesm/test1/Tools/Makefile
cd /N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio;
         CC=mpicc   CXX=mpicxx  FC=mpif90  LDFLAGS=""  cmake  -D CMAKE_Fortran_FLAGS:STRING="-fp-model source -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs  -O2   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.  -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/N/soft/rhel6/cesm/util/include -I/N/soft/rhel6/openmpi/intel/1.8.4/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/csm_share/shr" -D CMAKE_C_FLAGS:STRING="-O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.  -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/N/soft/rhel6/cesm/util/include -I/N/soft/rhel6/openmpi/intel/1.8.4/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/csm_share/shr" -D CMAKE_CXX_FLAGS:STRING="-O2 -fp-model precise   -DLINUX  -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL  -DHAVE_SLASHPROC -I.  -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/N/soft/rhel6/cesm/util/include -I/N/soft/rhel6/openmpi/intel/1.8.4/include -I/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/include -I/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/csm_share/shr" -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D NETCDF_DIR:STRING=/N/soft/rhel6/cesm/util -D USER_CMAKE_MODULE_DIR:STRING=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/CMake -D WITH_PNETCDF:LOGICAL=FALSE -D USER_CMAKE_MODULE_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/scripts/ccsm_utils/CMake -D GENF90_PATH=/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/tools/cprnc/genf90 /N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/utils/pio
CMake Error: The source directory "/N/dc2/scratch/rsheppar/cesm/cesm1_2_2/models/utils/pio" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
gmake: *** [/N/dc2/scratch/rsheppar/cesm/bld/intel/openmpi/nodebug/nothreads/pio/Makefile] Error 1
exit 1

*************************************I have tried many things that seem to almost work, but nothing seems to.  I have Cmake module 3.4.3, netcdf-fortran/intel/mpi/4.4.1,netcdf-c/intel/mpi/4.3.3, OpenMPI 1.8.4 and Intel 15.0.1 loaded.  Any help would be appreciated.  Thanks.Ray
 
Hi All, Afraid I don't have a solution, but a commiseration. I am trying to run a cesm_setup for 1.2.2 on yellowstone with the B1850 compset at T31_gx3v7 resolution, and am encountering the same error, that is:  ERROR: buildlib.pio failed, see /glade/scratch/cgertler/B1850.T31_gx3v7/bld/intel/mpich2/nodebug/threads/pio.bldlog.160719-102543 ERROR: cat /glade/scratch/cgertler/B1850.T31_gx3v7/bld/intel/mpich2/nodebug/threads/pio.bldlog.160719-102543 with the same message in the log that "The source directory [...]/pio does not exist. I would also appreciate help in sidestepping this issue. Thanks! 
 
Hi all,I am now using cesm1_2_2_1 on Cheyenne machine and I have the same problem when building a cases. I would be so appreciated if someone can provide a solution.Thanks,Melody
 
Top