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 error (cesm1_2_2)

jedwards

CSEG and Liaisons
Staff member
This is not the version of pio downloaded from https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2
it's a newer version which is not compatible with cesm1_2_2.
 

jedwards

CSEG and Liaisons
Staff member
PIO comes with the cesm1_2_2 distribution, cesm originates in several different source repositories and sometimes one or more of them fail, I think that in your case the pio download failed when you first got cesm and you missed the error message that was output.
 
Thank you very much for your last comment. It was really helpful.I managed to download the correct pio version, and tried everything again.However I have encountered another problem... Pio is succesfully compiled, but not installed in the right place. And I don't know why.I could try to hack it, but I think it is better that pio files are installed by the scripts.I am attaching the pio and csm_share build logs. In the first one you will see (at the end) the cp files have no match.I would appreciate any advice.And thanks again!
 

jedwards

CSEG and Liaisons
Staff member
It looks like you tried to build again over an old build directory.   Completly remove the build directory and try again.
 
Hi,I finally made it run. I was able to "execute" the file "case.run".When it finished, I got the following message: CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------Fri May  6 15:22:27 CEST 2016 -- CSM EXECUTION BEGINS HEREFri May  6 15:35:26 CEST 2016 -- CSM EXECUTION HAS FINISHED(seq_mct_drv): ===============       SUCCESSFUL TERMINATION OF CPL7-CCSM ===============Archiving cesm output to /home/*****/export/scratch/archive/waccm_2Calling the short-term archiving script st_archive.shst_archive.sh: start of short-term archivingst_archive.sh: restart files from end of run will be saved,                    interim restart files will be deletedst_archive.sh: short-term archiving completed successfully/homenas/home/*****/export/waccm/builtrun/waccm_2/Tools/ccsm_getenv: No such file or directory.gzip: timing/ccsm_timing_stats.160506-152159: No such file or directory Could you please give me any advice on the two errors at the end of the message? I mean the lack of the files...(Apologies for this question but, as I said before, I am new at this)Thank you!!  
 

jedwards

CSEG and Liaisons
Staff member
What is the value of the environment variable $USER?    It looks like that variable either isn't set or is set to something incorrect. 
 
Hi!There is no problem. I just changed changed the user variable to "*****" for the post.Here I transcribe the complete message: ------------------------------------------------------------------------- CESM BUILDNML SCRIPT STARTING - To prestage restarts, untar a restart.tar file into /home/ma017/export/waccm/builtrun/waccm_2 infile is /home/ma017/export/waccm/case/waccm_2/Buildconf/cplconf/cesm_namelist  CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------------------------------------------------------------------------------- CESM PRESTAGE SCRIPT STARTING - Case input data directory, DIN_LOC_ROOT, is /home/ma017/export/scratch/inputdata - Checking the existence of input datasets in DIN_LOC_ROOT CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY-------------------------------------------------------------------------Mon May  9 10:02:27 CEST 2016 -- CSM EXECUTION BEGINS HEREMon May  9 10:15:38 CEST 2016 -- CSM EXECUTION HAS FINISHED(seq_mct_drv): ===============       SUCCESSFUL TERMINATION OF CPL7-CCSM ===============Archiving cesm output to /home/ma017/export/scratch/archive/waccm_2Calling the short-term archiving script st_archive.sh st_archive.sh: start of short-term archivingst_archive.sh: restart files from end of run will be saved,                interim restart files will be deletedst_archive.sh: short-term archiving completed successfully/homenas/home/ma017/export/waccm/builtrun/waccm_2/Tools/ccsm_getenv: No such file or directory.gzip: timing/ccsm_timing_stats.160509-100200: No such file or directory

Thanks! 
 

jedwards

CSEG and Liaisons
Staff member
No such file or directory:
/homenas/home/ma017/export/waccm/builtrun/waccm_2/Tools/ccsm_getenv
 
I am getting error while building CESM1_2_2_CAMChem. On one forum it has mentioned that 'to set proper path to netcdf.inc' (which I have already set !). It works properly with shared libraries but throughs following error while building statistically. Please suggest solution as I am really stuck to this point.  PGF90-W-0435-Array declared with zero size (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/nf_mod.F90: 1617)
PGF90-S-0079-Keyword form of argument illegal in this context for comm (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/ionf_mod.F90: 82)
PGF90-S-0079-Keyword form of argument illegal in this context for info (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/ionf_mod.F90: 101)
  0 inform,   0 warnings,   2 severes, 0 fatal for create_nf
PGF90-S-0187-Too many arguments specified for nf90_open (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/ionf_mod.F90: 204)
PGF90-S-0079-Keyword form of argument illegal in this context for info (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/ionf_mod.F90: 208)
  0 inform,   0 warnings,   2 severes, 0 fatal for open_nf
PGF90-S-0038-Symbol, nf90_def_var_fill, has not been explicitly declared (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/nf_mod.F90)
PGF90-S-0038-Symbol, nf90_def_var_deflate, has not been explicitly declared (/home/cc/vfaculty/omjadhav.vfaculty/cesm1_2_2_CAMChem2/models/utils/pio/nf_mod.F90)
  0 inform,   0 warnings,   2 severes, 0 fatal for def_var_md
gmake[2]: *** [CMakeFiles/pio.dir/nf_mod.F90.o] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/pio.dir/ionf_mod.F90.o] Error 2
 

jedwards

CSEG and Liaisons
Staff member
I think that you may be building with a netcdf library that is not compatible with the pio library you are using.   From the line aboveNETCDF_DIR:STRING=USERDEFINED_MUST_EDIT_THIS  suggests that you haven't defined the path to netcdf properly, this is probably the root of the problem. 
 
Hi,
When I run the build command, I receive an error.

-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Wed May 17 11:03:39 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/mct.bldlog.230517-110333
Wed May 17 11:04:51 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/gptl.bldlog.230517-110333
Wed May 17 11:04:55 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
ERROR: buildlib.pio failed, see /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
ERROR: cat /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333

-------------------------------------------------------------------------
Wed May 17 11:04:55 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
set pio_dir=/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
cd /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90
gmake /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile MODEL=pio USER_CMAKE_OPTS= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90 PIO_LIBDIR=/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio -f /home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/Makefile
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/mkSrcfiles
cp -f /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Filepath /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Deppath
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/mkDepends Deppath Srcfiles > /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Depends
cd /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/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 -xHost -O2 -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_C_FLAGS:STRING="-O2 -fp-model precise -xHost -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_CXX_FLAGS:STRING="-O2 -fp-model precise -xHost -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D NETCDF_DIR:STRING=/home/software/netcdf/4.4.1_nfsv3 -D USER_CMAKE_MODULE_DIR:STRING=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D WITH_PNETCDF:LOGICAL=FALSE -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90 /net/fs10/d2/psalunke/CESM1.2.2/models/utils/pio
-- The C compiler identification is Intel 17.0.3.20170404
-- The Fortran compiler identification is Intel 17.0.3.20170404
-- Check for working C compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpicc
-- Check for working C compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90
-- Check for working Fortran compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 supports Fortran 90
-- Checking whether /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 supports Fortran 90 -- yes
WARNING: did not find netcdf fortran library
NETCDF built without MPIIO
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.8.16") found components: C HL
-- Adding hdf5 libraries
-- Could NOT find NETCDF (missing: NETCDF_Fortran_LIBRARY)
CMake Warning at CMakeLists.txt:63 (MESSAGE):
Warning: Not building with PNetcdf - cannot run all regression tests.
-- MPIIO detected and enabled.
-- MPI Fortran module detected and enabled.
-- Configuring done
CMake Error at CMakeLists.txt:190 (ADD_LIBRARY):
Target "pio" links to item " -L/home/software/netcdf/4.4.1_nfsv3/lib
-lnetcdf" which has leading or trailing whitespace. This is now an error
according to policy CMP0004.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_CXX_FLAGS
USER_CMAKE_MODULE_DIR

-- Build files have been written to: /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/Makefile:498: recipe for target '/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile' failed
gmake: *** [/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile] Error 1
exit 1
 

Ming-Qiang Liang

Ming-Qiang Liang
New Member
Hi,
When I run the build command, I receive an error.

-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Wed May 17 11:03:39 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/mct.bldlog.230517-110333
Wed May 17 11:04:51 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/gptl.bldlog.230517-110333
Wed May 17 11:04:55 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
ERROR: buildlib.pio failed, see /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
ERROR: cat /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333

-------------------------------------------------------------------------
Wed May 17 11:04:55 EDT 2023 /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio.bldlog.230517-110333
set pio_dir=/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
cd /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake
set cmake_opts= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90
gmake /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile MODEL=pio USER_CMAKE_OPTS= -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90 PIO_LIBDIR=/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio -f /home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/Makefile
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/mkSrcfiles
cp -f /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Filepath /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Deppath
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/mkDepends Deppath Srcfiles > /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Depends
cd /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/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 -xHost -O2 -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_C_FLAGS:STRING="-O2 -fp-model precise -xHost -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_CXX_FLAGS:STRING="-O2 -fp-model precise -xHost -DLINUX -DNDEBUG -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_R16 -DLINUX -DCPRINTEL -DHAVE_SLASHPROC -I. -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -I/home/software/netcdf/4.4.1_nfsv3/include -I/home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/include/../include -I/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/include -I/net/fs10/d2/psalunke/CESM1.2.2/models/csm_share/shr" -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D NETCDF_DIR:STRING=/home/software/netcdf/4.4.1_nfsv3 -D USER_CMAKE_MODULE_DIR:STRING=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D WITH_PNETCDF:LOGICAL=FALSE -D USER_CMAKE_MODULE_PATH=/net/fs10/d2/psalunke/CESM1.2.2/scripts/ccsm_utils/CMake -D GENF90_PATH=/net/fs10/d2/psalunke/CESM1.2.2/tools/cprnc/genf90 /net/fs10/d2/psalunke/CESM1.2.2/models/utils/pio
-- The C compiler identification is Intel 17.0.3.20170404
-- The Fortran compiler identification is Intel 17.0.3.20170404
-- Check for working C compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpicc
-- Check for working C compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90
-- Check for working Fortran compiler: /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 supports Fortran 90
-- Checking whether /home/software/intel/intel-2017.0.1/pkg/openmpi/2.0.2/bin/mpif90 supports Fortran 90 -- yes
WARNING: did not find netcdf fortran library
NETCDF built without MPIIO
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.8.16") found components: C HL
-- Adding hdf5 libraries
-- Could NOT find NETCDF (missing: NETCDF_Fortran_LIBRARY)
CMake Warning at CMakeLists.txt:63 (MESSAGE):
Warning: Not building with PNetcdf - cannot run all regression tests.
-- MPIIO detected and enabled.
-- MPI Fortran module detected and enabled.
-- Configuring done
CMake Error at CMakeLists.txt:190 (ADD_LIBRARY):
Target "pio" links to item " -L/home/software/netcdf/4.4.1_nfsv3/lib
-lnetcdf" which has leading or trailing whitespace. This is now an error
according to policy CMP0004.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_CXX_FLAGS
USER_CMAKE_MODULE_DIR

-- Build files have been written to: /net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio
/home/psalunke/fs10/psalunke/CESM1.2.2/cases/CAM9/Tools/Makefile:498: recipe for target '/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile' failed
gmake: *** [/net/fs10/d2/psalunke/CESM1.2.2/cases/CAM9/bld/intel/openmpi/nodebug/nothreads/pio/Makefile] Error 1
exit 1
hi, popatsalunke9, do u have save this problem? I have met same problem with you when I want to use gnu, Do you have any sueggestion? or comments?
 
Top