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 install error

hiwhen i install cesm1.2.2(./create_newcase -case $SHDIR/../$CASE/$EXP -res f19_f19 -compset FC5 -mach userdefined ) and process the last step running famipc5.build the error occur below (error file & log file). could you tell me what is the problem and how to solve it? err file(tail)./famipc5.buildUse of qw(...) as parentheses is deprecated at /share/home/xiaopf/yongxiao/cesm1_2_2/models/drv/bld/build-namelist line 784.rm: No match. log file(tail) CESM BUILDEXE SCRIPT STARTING COMPILER is intel - Build Libraries: mct gptl pio csm_share Mon Oct 23 21:37:19 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/mct.bldlog.171023-213717Mon Oct 23 21:37:48 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/gptl.bldlog.171023-213717Mon Oct 23 21:37:50 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171023-213717ERROR: buildlib.pio failed, see /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171023-213717ERROR: cat /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171023-213717  
 

jedwards

CSEG and Liaisons
Staff member
Looks like a netcdf library probllem.  Update to version 1.2.2.1 to get rid of the qw(..) errors.   Look in file /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171023-213717to see what the problem with finding netcdf was.
 

jedwards

CSEG and Liaisons
Staff member
Looks like a netcdf library probllem.  Update to version 1.2.2.1 to get rid of the qw(..) errors.   Look in file /share/home/xiaopf/yongxiao/cesm1_2_2/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171023-213717to see what the problem with finding netcdf was.
 
dear jedwardsthank you for reply . I use cesm  version 1.2.2.1 to install and i do not know how to solve .my  netcdf is netcdf-4.4.1_intel.best regards>>>>>>>>>>>>>>>in csm_share.bldlog.171024-110018  file>>>>>>>>>>>>>>>>>>>>>>>>>  /share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6837: The leftmost part-ref in a data-ref can not be a function reference.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm------------------------------------------------------------------^/share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6158: The structure-name is invalid or is missing.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm------------------------------------------------------------------^/share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6837: The leftmost part-ref in a data-ref can not be a function reference.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm-----------------------------------------------------------------------------------------^/tmp/ifortZzg28Y.i90(603): catastrophic error: Too many errors, exitingcompilation aborted for /share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90 (code 1)gmake: *** [shr_pio_mod.o] Error 1gmake  complib -j 1 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS="  -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/Tools/Makefile  returned non-zero exit status 2>>>>>>>>>>>>>>>in err file>>>>>>>>>>>>>>>>>>>> + ./famipc5.build rm: No match.>>>>>>>>>>>>>>>>>>>>in log file>>>>>>>>>>>>>>>>>>>>>>>>>>> CESM BUILDEXE SCRIPT STARTING COMPILER is intel - Build Libraries: mct gptl pio csm_share Tue Oct 24 11:00:20 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/mct.bldlog.171024-110018Tue Oct 24 11:00:47 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/gptl.bldlog.171024-110018Tue Oct 24 11:00:49 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171024-110018Tue Oct 24 11:01:16 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018ERROR: buildlib.csm_share failed, see /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018ERROR: cat /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018    
 
dear jedwardsthank you for reply . I use cesm  version 1.2.2.1 to install and i do not know how to solve .my  netcdf is netcdf-4.4.1_intel.best regards>>>>>>>>>>>>>>>in csm_share.bldlog.171024-110018  file>>>>>>>>>>>>>>>>>>>>>>>>>  /share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6837: The leftmost part-ref in a data-ref can not be a function reference.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm------------------------------------------------------------------^/share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6158: The structure-name is invalid or is missing.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm------------------------------------------------------------------^/share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90(202): error #6837: The leftmost part-ref in a data-ref can not be a function reference.   [IOSYSTEMS]                write(shr_log_unit,*) io_compname(i),' : iosys ', iosystems(i)%comp_comm,iosystems(i)%io_comm-----------------------------------------------------------------------------------------^/tmp/ifortZzg28Y.i90(603): catastrophic error: Too many errors, exitingcompilation aborted for /share/home/xiaopf/yongxiao/cesm1_2_2_1/models/csm_share/shr/shr_pio_mod.F90 (code 1)gmake: *** [shr_pio_mod.o] Error 1gmake  complib -j 1 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS="  -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/Tools/Makefile  returned non-zero exit status 2>>>>>>>>>>>>>>>in err file>>>>>>>>>>>>>>>>>>>> + ./famipc5.build rm: No match.>>>>>>>>>>>>>>>>>>>>in log file>>>>>>>>>>>>>>>>>>>>>>>>>>> CESM BUILDEXE SCRIPT STARTING COMPILER is intel - Build Libraries: mct gptl pio csm_share Tue Oct 24 11:00:20 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/mct.bldlog.171024-110018Tue Oct 24 11:00:47 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/gptl.bldlog.171024-110018Tue Oct 24 11:00:49 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio.bldlog.171024-110018Tue Oct 24 11:01:16 CST 2017 /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018ERROR: buildlib.csm_share failed, see /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018ERROR: cat /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/csm_share.bldlog.171024-110018    
 

jedwards

CSEG and Liaisons
Staff member
You need to look in the pio log and figure out why netcdf isn't found. What is the path to netcdf?  Is there a libnetcdff.a in the lib directory and a netcdf.mod in the include directory?
 

jedwards

CSEG and Liaisons
Staff member
You need to look in the pio log and figure out why netcdf isn't found. What is the path to netcdf?  Is there a libnetcdff.a in the lib directory and a netcdf.mod in the include directory?
 
hiis it my netcdf error? however, i use my campus hpc and my netcdf is stated in .bashrc file, and i can run wrf and cesm1.0 sucessfully.  the libnetcdff.is in the lib directory and a netcdf.mod is in the include directory .my netcdf  path is /share/apps/netcdf-4.4.1_intel .>>>>>>>>>>>>>pio.bldlog.171024-110018>>>>>>>>>>>>>>[100%] Built target piogmake[1]: Leaving directory `/share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio'/usr/bin/cmake -E cmake_progress_start /share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/CMakeFiles 0cp -p libpio.a /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/../libcp -p dtypes.h alloc_mod.mod box_rearrange.mod calcdecomp.mod calcdisplace_mod.mod iompi_mod.mod ionf_mod.mod nf_mod.mod piodarray.mod pio_kinds.mod piolib_mod.mod pio.mod pio_mpi_utils.mod pio_msg_mod.mod pionfatt_mod.mod pionfget_mod.mod pionfput_mod.mod pionfread_mod.mod pio_nf_utils.mod pionfwrite_mod.mod pio_spmd_utils.mod pio_support.mod pio_types.mod pio_utils.mod rearrange.mod /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/../include exit 0
 
hiis it my netcdf error? however, i use my campus hpc and my netcdf is stated in .bashrc file, and i can run wrf and cesm1.0 sucessfully.  the libnetcdff.is in the lib directory and a netcdf.mod is in the include directory .my netcdf  path is /share/apps/netcdf-4.4.1_intel .>>>>>>>>>>>>>pio.bldlog.171024-110018>>>>>>>>>>>>>>[100%] Built target piogmake[1]: Leaving directory `/share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio'/usr/bin/cmake -E cmake_progress_start /share/home/xiaopf/yongxiao/BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/CMakeFiles 0cp -p libpio.a /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/../libcp -p dtypes.h alloc_mod.mod box_rearrange.mod calcdecomp.mod calcdisplace_mod.mod iompi_mod.mod ionf_mod.mod nf_mod.mod piodarray.mod pio_kinds.mod piolib_mod.mod pio.mod pio_mpi_utils.mod pio_msg_mod.mod pionfatt_mod.mod pionfget_mod.mod pionfput_mod.mod pionfread_mod.mod pio_nf_utils.mod pionfwrite_mod.mod pio_spmd_utils.mod pio_support.mod pio_types.mod pio_utils.mod rearrange.mod /share/home/xiaopf/yongxiao/cesm1_2_2_1/../BUILDINGCASE/famipc5/intel/openmpi/nodebug/nothreads/pio/../include exit 0
 

jedwards

CSEG and Liaisons
Staff member
You need to start from scratch, erase the bld directory and then look at the pio build log to make sure that netcdf is found and used.
 

jedwards

CSEG and Liaisons
Staff member
You need to start from scratch, erase the bld directory and then look at the pio build log to make sure that netcdf is found and used.
 
Top