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

cesm1_2_2 netcdf libraries and MPI I/O

Hi,  I have been building the CESM _1_2_2 into the servers at Florida State University. The PIO can’t find the netcdf libraries, but the netcdf library location is correct in the Macros file (SLIBS, netcdf_path, pnetcdf_path). Within the PIO compiler log, it says “WARNING: did not find netcdf fortran library NETCDF built without MPIIO”. The script error is revealed in further detail below: ------------------------------------------------------------------------- CESM BUILDNML SCRIPT STARTING - To prestage restarts, untar a restart.tar file into /panfs/storage.local/home-3/jad10d/CESM_casesUse of qw(...) as parentheses is deprecated at /panfs/storage.local/home-3/jad10d/cesm1_2_2/models/drv/bld/build-namelist line 784. infile is /panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/new_test/Buildconf/cplconf/cesm_namelist  CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------------------------------------------------------------------------------- CESM PRESTAGE SCRIPT STARTING - Case input data directory, DIN_LOC_ROOT, is /panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/new_test/Tools - Checking the existence of input datasets in DIN_LOC_ROOT CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------------------------------------------------------------------------------- CESM BUILDEXE SCRIPT STARTINGrm: No match. COMPILER is intel - Build Libraries: mct gptl pio csm_share Thu Jun 9 14:32:20 EDT 2016 /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/mct.bldlog.160609-143212Thu Jun 9 14:32:28 EDT 2016 /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/gptl.bldlog.160609-143212Thu Jun 9 14:32:29 EDT 2016 /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio.bldlog.160609-143212ERROR: buildlib.pio failed, see /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio.bldlog.160609-143212ERROR: cat /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio.bldlog.160609-143212[jad10d@hpc-login-39 new_test]$  cat /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio.bldlog.160609-143212Thu Jun 9 14:32:29 EDT 2016 /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio.bldlog.160609-143212set pio_dir=/panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/piocd /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pioset cmake_opts= -D USER_CMAKE_MODULE_PATH=/panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/ccsm_utils/CMakeset cmake_opts= -D USER_CMAKE_MODULE_PATH=/panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/ccsm_utils/CMake -D GENF90_PATH=/panfs/storage.local/home-3/jad10d/cesm1_2_2/tools/cprnc/genf90gmake /panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio/Makefile MODEL=pio USER_CMAKE_OPTS= -D USER_CMAKE_MODULE_PATH=/panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/ccsm_utils/CMake -D GENF90_PATH=/panfs/storage.local/home-3/jad10d/cesm1_2_2/tools/cprnc/genf90 PIO_LIBDIR=/panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio -f /panfs/storage.local/home-3/jad10d/cesm1_2_2/scripts/new_test/Tools/Makefilegmake: `/panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio/Makefile' is up to date.gmake -j 1/usr/bin/cmake -H/panfs/storage.local/home-3/jad10d/cesm1_2_2/models/utils/pio -B/panfs/storage.local/home-3/jad10d/cesm1_2_2/intel/openmpi/nodebug/nothreads/pio --check-build-system CMakeFiles/Makefile.cmake 0WARNING: did not find netcdf fortran libraryNETCDF built without MPIIO-- Adding hdf5 libraries -- Could NOT find NETCDF (missing:  NETCDF_Fortran_LIBRARY) -- Could NOT find pnetcdf (missing:  PNETCDF_LIBRARY PNETCDF_INCLUDE_DIR) -- MPIIO detected and enabled.-- MPI Fortran module detected and enabled.CMake Error at CMakeLists.txt:200 (ADD_SUBDIRECTORY):  The source directory     /panfs/storage.local/home-3/jad10d/cesm1_2_2/models/utils/unittests   does not contain a CMakeLists.txt file.  CMake Error at CMakeLists.txt:203 (ADD_SUBDIRECTORY):  The source directory     /panfs/storage.local/home-3/jad10d/cesm1_2_2/models/utils/testpio   does not contain a CMakeLists.txt file.   I am currently awaiting a repsonse from the engineers at our server, but this error appears to me that the netcdf libraries are built for the MPI I/O. Are the netcdf libraries only built for the MPI I/O? It would be much appreicated for a response on this matter so we know how to move forward with setting up the netcdf libraries on our server. Thank you very much.
 

jedwards

CSEG and Liaisons
Staff member
It is looking for libnetcdf.a and libnetcdff.a, are both these files in the netcdf lib directory?
 
Top