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

CGCM Installatin Problem

Hi,

I am new user to CGCM. I am trying to install the model on Dell blade cluster with 1280 cores. This is a linux system with inter compiler and with
4.0.1 Fortan: -lnetcdff C: -lnetcdf C++: -lnetcdf_c++.

I changed the paths in env_mach_specific file and in Macro file as well. When i try to build it the following msgs i see on screen


siraj@bugaboo:~/ccsm4_working_copy/scripts/test1> ./test1.generic_linux_intel.build
-------------------------------------------------------------------------
CCSM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /home/siraj/test1/run
- Create modelio namelist input files
CCSM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
CCSM PRESTAGE SCRIPT STARTING
- CCSM input data directory, DIN_LOC_ROOT_CSMDATA, is /home/siraj/ccsm4_working_copy/inputdata
- Case input data directory, DIN_LOC_ROOT, is /home/siraj/ccsm4_working_copy/inputdata
- Checking the existence of input datasets in DIN_LOC_ROOT
CCSM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
CCSM BUILDEXE SCRIPT STARTING
- Build Libraries: mct pio csm_share
Mon May 17 21:51:02 PDT 2010 /home/siraj/test1/mct/mct.bldlog.100517-215059
Mon May 17 21:52:20 PDT 2010 /home/siraj/test1/pio/pio.bldlog.100517-215059
Mon May 17 21:53:09 PDT 2010 /home/siraj/test1/csm_share/csm_share.bldlog.100517-215059
Mon May 17 21:54:18 PDT 2010 /home/siraj/test1/run/cpl.bldlog.100517-215059
Mon May 17 21:54:18 PDT 2010 /home/siraj/test1/run/atm.bldlog.100517-215059
Mon May 17 21:54:19 PDT 2010 /home/siraj/test1/run/lnd.bldlog.100517-215059
Mon May 17 21:54:22 PDT 2010 /home/siraj/test1/run/ice.bldlog.100517-215059
Mon May 17 21:54:23 PDT 2010 /home/siraj/test1/run/ocn.bldlog.100517-215059
Mon May 17 21:54:25 PDT 2010 /home/siraj/test1/run/glc.bldlog.100517-215059
Mon May 17 21:54:27 PDT 2010 /home/siraj/test1/run/ccsm.bldlog.100517-215059

ERROR: ccsm.buildexe.csh failed, see /home/siraj/test1/run/ccsm.bldlog.100517-202209
ERROR: cat /home/siraj/test1/run/ccsm.bldlog.100517-202209


Ans when I open error file then in the last following lines are there.

mpif90 -o /home/siraj/test1/run/ccsm.exe ccsm_driver.o map_atmatm_mct.o map_atmice_mct.o map_atmlnd_mct.o map_atmocn_mct.o map_glcglc_mct.o map_iceice_mct.o map_iceocn_mct.o map_lndlnd_mct.o map_ocnocn_mct.o map_rofocn_mct.o map_rofrof_mct.o map_snoglc_mct.o map_snosno_mct.o mrg_x2a_mct.o mrg_x2g_mct.o mrg_x2i_mct.o mrg_x2l_mct.o mrg_x2o_mct.o mrg_x2s_mct.o seq_avdata_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_io_mod.o seq_rearr_mod.o seq_rest_mod.o -L/home/siraj/test1/lib -latm -llnd -lice -locn -lglc -L/home/siraj/test1/lib -lcsm_share -lmct -lmpeu -lpio -L/home/siraj/lib -lnetcdf -L/usr/local/openmpi-1.3.3/lib64 -lmpi
/home/siraj/test1/lib/libcsm_share.a(shr_mct_mod.o): In function `shr_mct_smatreadnc':
/home/siraj/ccsm4_working_copy/models/csm_share/shr/shr_mct_mod.F90:105: undefined reference to `nf_open_'
/home/siraj/ccsm4_working_copy/models/csm_share/shr/shr_mct_mod.F90:140: undefined reference to `nf_inq_varid_'
/home/siraj/ccsm4_working_copy/models/csm_share/shr/shr_mct_mod.F90:141: undefined reference to `nf_get_var_double_'
/home/siraj/test1/lib/libpio.a(pionfread_mod.o): In function `pionfread_mod_mp_read_nfdarray_real_':
pionfread_mod.F90(.text+0x5208): undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/siraj/test1/lib/libpio.a(pionfwrite_mod.o): In function `pionfwrite_mod_mp_write_nfdarray_real_':
pionfwrite_mod.F90:(.text+0x14e9): undefined reference to `netcdf_mp_nf90_put_var_1d_fourbytereal_'
pionfwrite_mod.F90:(.text+0x2031): undefined reference to `netcdf_mp_nf90_put_var_1d_fourbytereal_'
/home/siraj/test1/lib/libpio.a(pionfwrite_mod.o): In function `pionfwrite_mod_mp_write_nfdarray_int_':
pionfwrite_mod.F90:(.text+0x389f): undefined reference to `netcdf_mp_nf90_put_var_1d_fourbyteint_'
gmake: *** [/home/siraj/test1/run/ccsm.exe] Error 1


I don't know where is the problem. I am using openmpi-1.3.3.

Can any body help me...?

Siraj
 
Top