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

error : CCSM3 TestCase Compile

error : CCSM3 TestCase Compile

Hello everyone,

I have a problem in TestCase building the CCSM3.0

Please help me…

1. This is my error information

1) [r602ksj@gaia]#./TER.01a.T42_gx1v3.B.blackforest.150644.build

-------------------------------------------------------------------------
Preparing T42_gx1v3 component models for execution
-------------------------------------------------------------------------
- Create execution directories for atm,cpl,lnd,ice,ocn
- If a restart run then copy restart files into executable directory
ccsm_getrestart: get /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644 restarts from
/gpfs1/sjkim/sjkim/archive/TER.01a.T42_gx1v3.B.blackforest.150644/restart
- Check validity of configuration
- Determine if build must happen (env variable BLDTYPE)
- Build flag (BLDTYPE) is TRUE
- Build Libraries: esmf, mph, mct
Tue Aug 5 14:20:34 KORST 2008 esmf.buildlib.080805-142034
Tue Aug 5 14:20:42 KORST 2008 mph.buildlib.080805-142034
Tue Aug 5 14:20:43 KORST 2008 mct.buildlib.080805-142034
- Create model directories for each platform
- Determine if models must be rebuilt
- Build model executables, create namelist files, prestage input data
Tue Aug 5 14:21:25 KORST 2008 /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl.log.080805-142034
Tue Aug 5 14:21:25 KORST 2008 /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/
cpl.buildexe.080805-142034
ERROR: cpl.buildexe.csh failed, see cpl.buildexe.080805-142034
ERROR: cat /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl.buildexe.080805-142034


2) cpl.buildexe.080805-142034

Tue Aug 5 14:21:25 KORST 2008 /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl.buildexe.080805-142034

xlC -P -DAIX -DMSS -DTHREADED_PTHREADS -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/m
odels/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I
. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.bl
ackforest.150644/lib/include /home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_kind_mod.F90 > shr_kind_mod.f90
mpcc_r -I. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_g
x1v3.B.blackforest.150644/lib/include -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/mod
els/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -DAI
X -DMSS -DTHREADED_PTHREADS -c -O2 /home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_vmath_fwrap.c
xlf90 -c -qrealsize=8 -qdpc=e -g -qfullpath -O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump -qsuffix=f=f90 -qfree=f90 -I. -I/gpfs1/sjkim
/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/models/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share
-I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I. -I/usr/local/include -I/usr/include -I/applic/local/incl
ude/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/lib/include shr_kind_mod.f90
1517-020: (I) Source file is empty.
** /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/obj/shr_kind_mod.f90 === End of Compilation 1 ===
"/home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_vmath_fwrap.c", line 38.7: 1506-356 (W) Compilation unit is empty.
"/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/obj/shr_kind_mod.f90", 1500-030 (I) INFORMATION: (block data)__1: Additional optimization m
ay be attained by recompiling and specifying MAXMEM option with a value greater than 0.
1501-510 Compilation successful for file shr_kind_mod.f90.
xlC -P -DAIX -DMSS -DTHREADED_PTHREADS -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/m
odels/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I
. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.bl
ackforest.150644/lib/include /home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_mpi_mod.F90 > shr_mpi_mod.f90
xlC -P -DAIX -DMSS -DTHREADED_PTHREADS -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/m
odels/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I
. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.bl
ackforest.150644/lib/include /home01/r602ksj/ccsm3_0/models/csm_share/cpl/cpl_kind_mod.F90 > cpl_kind_mod.f90
xlC -P -DAIX -DMSS -DTHREADED_PTHREADS -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/m
odels/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I
. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.bl
ackforest.150644/lib/include /home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_const_mod.F90 > shr_const_mod.f90
xlC -P -DAIX -DMSS -DTHREADED_PTHREADS -I. -I/gpfs1/sjkim/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/m
odels/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share -I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I
. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.bl
ackforest.150644/lib/include /home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_cal_mod.F90 > shr_cal_mod.f90
"/home01/r602ksj/ccsm3_0/models/csm_share/shr/shr_mpi_mod.F90", line 70.27: 1506-234 (E) Expecting a new-line character on #include directive.
xlf90 -c -qrealsize=8 -qdpc=e -g -qfullpath -O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump -qsuffix=f=f90 -qfree=f90 -I. -I/gpfs1/sjkim
/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/models/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share
-I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I. -I/usr/local/include -I/usr/include -I/applic/local/incl
ude/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/lib/include cpl_kind_mod.f90
xlf90 -c -qrealsize=8 -qdpc=e -g -qfullpath -O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump -qsuffix=f=f90 -qfree=f90 -I. -I/gpfs1/sjkim
/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/models/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share
-I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I. -I/usr/local/include -I/usr/include -I/applic/local/incl
ude/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/lib/include shr_const_mod.f90
xlf90 -c -qrealsize=8 -qdpc=e -g -qfullpath -O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump -qsuffix=f=f90 -qfree=f90 -I. -I/gpfs1/sjkim
/sjkim/tst/TER.01a.T42_gx1v3.B.blackforest.150644/SourceMods/src.cpl -I/home01/r602ksj/ccsm3_0/models/cpl/cpl6 -I/home01/r602ksj/ccsm3_0/models/csm_share
-I/home01/r602ksj/ccsm3_0/models/csm_share/shr -I/home01/r602ksj/ccsm3_0/models/csm_share/cpl -I. -I/usr/local/include -I/usr/include -I/applic/local/incl
ude/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/lib/include shr_cal_mod.f90
1517-020: (I) Source file is empty.
** /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/obj/cpl_kind_mod.f90 === End of Compilation 1 ===


-------------------------------------------------------------------------------------------------------------------------------------------------------
The tail of the same file log file is as :

xlf90 -o /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl areafact_mod.o bitCheck_mod.o cpl_bundle_mod.o cpl_comm_mod.o cpl_const_mod.o
cpl_contract_mod.o cpl_control_mod.o cpl_domain_mod.o cpl_fields_mod.o cpl_infobuf_mod.o cpl_interface_mod.o cpl_iobin_mod.o cpl_iocdf_mod.o cpl_kind_mod.
o cpl_map_mod.o cpl_mct_mod.o data_mod.o diag_mod.o flux_mod.o frac_mod.o history_mod.o main.o merge_mod.o restart_mod.o shr_alarm_mod.o shr_cal_mod.o shr
_const_mod.o shr_date_mod.o shr_file_mod.o shr_kind_mod.o shr_mpi_mod.o shr_msg_mod.o shr_orb_mod.o shr_sys_mod.o shr_timer_mod.o shr_vmath_fwrap.o shr_vm
ath_mod.o tStamp_mod.o timeCheck.o -L /applic/local/lib -lnetcdf -l mass -l massv -L/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/lib -lesmf
-lmct -lmpeu -lmph
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake: *** [/gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl] Error 8
 
3) cpl.log.080805-142034

Tue Aug 5 14:21:25 KORST 2008 /gpfs1/sjkim/sjkim/TER.01a.T42_gx1v3.B.blackforest.150644/cpl/cpl.log.080805-142034
cp cpl/cpl6/map_T42_to_gx1v3_aave_da_010709.nc to map_T42_to_gx1v3_aave_da_010709.nc
cp: cpl/cpl6/map_T42_to_gx1v3_aave_da_010709.nc: No such file or directory
cp /gpfs1/sjkim/data/inputdata/cpl/cpl6/map_T42_to_gx1v3_aave_da_010709.nc to map_T42_to_gx1v3_aave_da_010709.nc
cp cpl/cpl6/map_T42_to_gx1v3_bilin_da_010710.nc to map_T42_to_gx1v3_bilin_da_010710.nc
cp: cpl/cpl6/map_T42_to_gx1v3_bilin_da_010710.nc: No such file or directory
cp /gpfs1/sjkim/data/inputdata/cpl/cpl6/map_T42_to_gx1v3_bilin_da_010710.nc to map_T42_to_gx1v3_bilin_da_010710.nc
cp cpl/cpl6/map_gx1v3_to_T42_aave_da_010709.nc to map_gx1v3_to_T42_aave_da_010709.nc
cp: cpl/cpl6/map_gx1v3_to_T42_aave_da_010709.nc: No such file or directory
cp /gpfs1/sjkim/data/inputdata/cpl/cpl6/map_gx1v3_to_T42_aave_da_010709.nc to map_gx1v3_to_T42_aave_da_010709.nc
cp cpl/cpl6/map_r05_to_gx1v3_roff_smooth_010718.nc to map_r05_to_gx1v3_roff_smooth_010718.nc
cp: cpl/cpl6/map_r05_to_gx1v3_roff_smooth_010718.nc: No such file or directory
cp /gpfs1/sjkim/data/inputdata/cpl/cpl6/map_r05_to_gx1v3_roff_smooth_010718.nc to map_r05_to_gx1v3_roff_smooth_010718.nc

-------------------------------------------------------------------------
and This is my setting information.

1) .cshrc pass

setenv NETCDF /applic/local/64BIT
setenv GRADS /applic/local/32BIT
setenv ENSCRIPT /usr/local/enscript

setenv PATH "/applic/local/include/NETCDF_64bit:/sbin:/usr/sbin:/usr/local/sbin:$NETCDF/bin:$GRADS/bin:
$GRADS/lib:/usr/local/bin:$ENSCRIPT/bin:${PATH}:${HOME}/bin"
set path = ($path /usr/bin /bin /usr/bin/X11 ~/bin .)
setenv MANPATH $NETCDF/man:$GRADS/man:$ENSCRIPT/man:/usr/local/man


2) Machine information

* Description : IBM Pwr5 10-way
* OS : AIX
* Compiler : IBM XL
- C : Serial(xlc), OpenMP(xlc_r), MPI(mpcc), OpenMP+MPI(mpcc_r)
- C++ : Serial(xlC, xlc++), OpenMP(xlC_r,xlc++_r), MPI(mpCC), OpenMP+MPI(mpCC_r)
- Fortran77 : Serial(xlf), OpenMP(xlf_r), MPI(mpxlf), OpenMP+MPI(mpxlf_r)
- Fortran90 : Serial(xlf90), OpenMP(xlf90_r), MPI(mpxlf90), OpenMP+MPI(mpxlf90_r)
- Fortran95 : Serial(xlf95), OpenMP(xlf95_r), MPI(mpxlf95), OpenMP+MPI(mpxlf95_r)
* Network : IBM
* Queue Software : Load Leveler 3.4
3) /ccsm3_0/models/bld/Macros.AIX information

INCLDIR := -I. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit
-I/usr/lpp/ppe.poe/include/thread -I${INCROOT}
SLIBS := -L /applic/local/lib -lnetcdf
ULIBS := -L$(LIBROOT) -lesmf -lmct -lmpeu -lmph
CC : = mpcc_r
CPP := xlC
CPPFLAGS := -P
CPPDEFS := -DAIX -DMSS -DTHREADED_PTHREADS
#CFLAGS := -c -O2 -DDISABLE_TIMERS
CFLAGS := -c -O2
FIXEDFLAGS := -qsuffix=f=f -qfixed=132
FREEFLAGS := -qsuffix=f=f90 -qfree=f90
FC := xlf90
FFLAGS := -c -qrealsize=8 -qdpc=e -g -qfullpath
-O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump
# -O2 -qstrict -Q -qmaxmem=-1 -qspillsize=2500
# -qarch=auto -qtune=auto -qcache=auto
# -qsigtrap=xl__trcedump
MOD_SUFFIX := mod
LD := $(FC)
LDFLAGS := -bmaxdata:0x80000000 -bmaxstack:0x10000000
AR := ar

ifeq ($(OBJECT_MODE),64)
INCLDIR := -I. -I/usr/local/include -I/usr/include -I/applic/local/include/NETCDF_64bit
-I/usr/lpp/ppe.poe/include/thread64 -I${INCROOT}
SLIBS := -L /applic/local/lib -lnetcdf
LDFLAGS :=
endif

ifeq ($(MACH),seaborg)
INCLDIR := -I. -I/usr/include -I/usr/lpp/ppe.poe/include/thread -I${INCROOT}
-I/applic/local/include/NETCDF_32bit -I$(NETCDF_DIR)/include
SLIBS := -L /applic/local/lib -l netcdf
ifeq ($(OBJECT_MODE),64)
INCLDIR := -I. -I/usr/include -I/usr/lpp/ppe.poe/include/thread64 -I${INCROOT}
-I/applic/local/include/NETCDF_64bit
SLIBS := -L /applic/local/lib -l netcdf
LDFLAGS :=
endif
endif

ifeq ($(MODEL),cam)
FFLAGS := -c -qrealsize=8 -qdpc=e -g -qfullpath -qspillsize=2500
-O3 -qstrict -Q -qarch=auto -qsigtrap=xl__trcedump
endif

ifeq ($(MODEL),pop)
CPPDEFS := $(CPPDEFS) -DPOSIX -Dimpvmix -Dcoupled
-DNPROC_X=$(NX) -DNPROC_Y=$(NY)
FFLAGS := -c -O2 -qstrict -Q -qalias=noaryovrlp -qmaxmem=-1
-qarch=auto -qtune=auto -qcache=auto -qsave -qdpc=e -I${INCROOT}
ifneq ($(DEBUG),TRUE)
FFLAGS := -qhot $(FFLAGS)
endif
endif

ifeq ($(MODEL),csim)
CPPDEFS := $(CPPDEFS) -Dcoupled -DNPROC_X=$(NX) -DNPROC_Y=$(NY) -D_MPI
CFLAGS := -c -O2
FFLAGS := -c -O2 -qstrict -Q -qmaxmem=-1 -qrealsize=8
-qarch=auto -qtune=auto -I${INCROOT}
LDFLAGS :=
endif

ifeq ($(THREAD),TRUE)
CFLAGS := $(CFLAGS) -qsmp=omp
CPPDEFS := $(CPPDEFS) -D_OPENMP
FFLAGS := $(FFLAGS) -qsmp=omp # default is -qnosmp
LDFLAGS := $(LDFLAGS) -qsmp=omp
endif

ifeq ($(DEBUG),TRUE)
FFLAGS := $(FFLAGS) -C -qinitauto=7FF7FFFF
-qflttrap=ov:zero:inv:en -qspillsize=4000
CPPDEFS := $(CPPDEFS) -DNO_SHR_VMATH
else
# -qflttrap doesn't run with lmass turned on.
# FFLAGS := $(FFLAGS) -qflttrap=ov:zero:inv:en:imp
ifeq ($(MACH),babyblue)
SLIBS := $(SLIBS) -l mass -l massv
endif
ifeq ($(MACH),blackforest)
SLIBS := $(SLIBS) -l mass -l massv
endif
ifeq ($(MACH),bluesky)
SLIBS := $(SLIBS) -l mass -l massv
LDFLAGS := $(LDFLAGS) -qsmp=omp
ULIBS := $(ULIBS) -L/usr/local/lib/mpitools -lmpibindsmp
endif
ifeq ($(MACH),bluesky32)
SLIBS := $(SLIBS) -l mass -l massv
LDFLAGS := $(LDFLAGS) -qsmp=omp
ULIBS := $(ULIBS) -L/usr/local/lib/mpitools -lmpibindsmp
endif
ifeq ($(MACH),bluesky32)
SLIBS := $(SLIBS) -l mass -l massv
LDFLAGS := $(LDFLAGS) -qsmp=omp
ULIBS := $(ULIBS) -L/usr/local/lib/mpitools -lmpibindsmp
endif
ifeq ($(MACH),seaborg)
SLIBS := $(SLIBS) -L/usr/common/usg/MASS/3.0/lib -lmass -L/usr/common/usg/MASS/3.0/lib -lmassv
endif
ifeq ($(MACH),eagle)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
ifeq ($(MACH),cheetah)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
ifeq ($(MACH),cheetah32)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
endif
 
4) env_mach.blackforest information

# -------------------------------------------------------------------------
# General machine specific environment variables - edit before the initial build
# -------------------------------------------------------------------------

setenv MAX_TASKS_PER_NODE 4
setenv EXEROOT /gpfs1/sjkim/sjkim/$CASE
setenv RUNROOT $EXEROOT
setenv GMAKE_J 4

# -------------------------------------------------------------------------
# Environment variables for prestaging input data - edit anytime during run
# -------------------------------------------------------------------------

setenv DIN_LOC_ROOT /gpfs1/sjkim/data/inputdata
setenv DIN_LOC_ROOT_USER /gpfs1/sjkim/data/inputdata_user
setenv DIN_LOC_MSROOT /gpfs1/sjkim/data/inputdata
setenv DIN_REM_MACH 150.183.146.21
setenv DIN_REM_MSROOT /gpfs1/sjkim/data/inputdata
setenv DIN_REM_ROOT /gpfs1/sjkim/data/inputdata

# -------------------------------------------------------------------------
# Environment variables for short term output storage - edit anytime during run
# -------------------------------------------------------------------------

setenv DOUT_S TRUE
setenv DOUT_S_ROOT /gpfs1/sjkim/sjkim/archive/$CASE

# -------------------------------------------------------------------------
# Environment variables for longer term output storage - edit anytime during run
# -------------------------------------------------------------------------

setenv DOUT_L_RCP FALSE
setenv DOUT_L_RCP_ROOT /gpfs1/sjkim/sjkim/archive/$CASE
setenv DOUT_L_MS FALSE
setenv DOUT_L_MSNAME `echo $LOGNAME | tr '[a-z]' '[A-Z]'`
setenv DOUT_L_MSROOT /gpfs1/sjkim/sjkim/$CASE
setenv DOUT_L_MSPWD $DOUT_L_MSNAME
setenv DOUT_L_MSRPD 3650
setenv DOUT_L_MSPRJ 00000000

# -------------------------------------------------------------------------
# Build and runtime environment variables - edit before the initial build
# -------------------------------------------------------------------------

#setenv OBJECT_MODE 32; #setenv XLSMPOPTS "stack=86000000"
setenv OBJECT_MODE 64; setenv XLSMPOPTS "stack=256000000"
#ulimit -d unlimited; #ulimit -s unlimited

limit datasize unlimited
setenv MP_EUILIB us
setenv MP_RMPOOL 1
setenv MP_PGMMODEL mpmd
setenv MP_CMDFILE poe.cmdfile
setenv MP_STDOUTMODE ordered
setenv MP_SHARED_MEMORY yes
setenv MP_EAGER_LIMIT 65536
setenv MP_INFOLEVEL 6
setenv MP_LABELIO yes
#setenv MP_CSS_INTERRUPT yes
setenv OMP_DYNAMIC FALSE
setenv AIXTHREAD_SCOPE S
setenv MALLOCMULTIHEAP TRUE
#setenv SPINLOOPTIME 100000
#setenv YIELDLOOPTIME 40000

#=========================================================================
# DERIVED ENVIRONMENT VARIABLES (user should not edit these)
#=========================================================================

setenv ARCH IBM
setenv OS AIX
setenv SITE NCAR
setenv BATCH LL
setenv OBJROOT $EXEROOT # build code here
setenv LIBROOT $EXEROOT/lib # location of supplemental libraries
setenv INCROOT $LIBROOT/include # location of supplemental includes/modfiles

# Translate the lower case to upper case for true and false.
setenv DOUT_S TRUE
setenv DOUT_L_MS `echo $DOUT_L_MS | tr '[a-z]' '[A-Z]'`
setenv DOUT_L_RCP `echo $DOUT_L_RCP | tr '[a-z]' '[A-Z]'`

set MODELS = ()
set NTASKS = ()
set NTHRDS = ()
foreach n (1 2 3 4 5)
set comp = $COMPONENTS[$n]
if ($comp =~ "cam" ) then
set model = atm ; set ntask = $NTASKS_ATM; set nthrd = $NTHRDS_ATM
else if ($comp =~ "latm") then
set model = atm ; set ntask = $NTASKS_ATM; set nthrd = $NTHRDS_ATM
else if ($comp =~ "datm") then
set model = atm ; set ntask = $NTASKS_ATM; set nthrd = $NTHRDS_ATM
else if ($comp =~ "xatm") then
set model = atm ; set ntask = $NTASKS_ATM; set nthrd = $NTHRDS_ATM
else if ($comp =~ "clm" ) then
set model = lnd ; set ntask = $NTASKS_LND; set nthrd = $NTHRDS_LND
else if ($comp =~ "dlnd") then
set model = lnd ; set ntask = $NTASKS_LND; set nthrd = $NTHRDS_LND
else if ($comp =~ "xlnd") then
set model = lnd ; set ntask = $NTASKS_LND; set nthrd = $NTHRDS_LND
else if ($comp =~ "csim") then
set model = ice ; set ntask = $NTASKS_ICE; set nthrd = $NTHRDS_ICE
else if ($comp =~ "dice") then
set model = ice ; set ntask = $NTASKS_ICE; set nthrd = $NTHRDS_ICE
else if ($comp =~ "xice") then
set model = ice ; set ntask = $NTASKS_ICE; set nthrd = $NTHRDS_ICE
else if ($comp =~ "pop" ) then
set model = ocn ; set ntask = $NTASKS_OCN; set nthrd = $NTHRDS_OCN
else if ($comp =~ "docn") then
set model = ocn ; set ntask = $NTASKS_OCN; set nthrd = $NTHRDS_OCN
else if ($comp =~ "xocn") then
set model = ocn ; set ntask = $NTASKS_OCN; set nthrd = $NTHRDS_OCN
else if ($comp =~ "cpl" ) then
set model = cpl ; set ntask = $NTASKS_CPL; set nthrd = $NTHRDS_CPL
endif
set MODELS = ($MODELS $model)
set NTASKS = ($NTASKS $ntask)
set NTHRDS = ($NTHRDS $nthrd)
end

--------------------------------------------------------------------------------------------

Can you please suggest me where the prolem is ?

Thanks & Regards
 
Hi
I guess you are uing IBM-gaia (KISTI, Korea) machine.

I have successfully run CCSM3 (startup) both T85 n T42 resolutions on that machine.

Here is my Macros.AIX

INCLDIR := -I. -I/applic/local/include/NETCDF_64bit -I/usr/include -I/usr/lpp/ppe.poe/include/thread -I${INC
ROOT}
SLIBS := -L /applic/local/lib -lnetcdf
ULIBS := -L$(LIBROOT) -lesmf -lmct -lmpeu -lmph
CC := cc_r
CPP := /lib/cpp
CPPFLAGS := -P
CPPDEFS := -DAIX -DMSS -DTHREADED_PTHREADS
#CFLAGS := -c -O2 -DDISABLE_TIMERS
CFLAGS := -c -O2
FIXEDFLAGS := -qsuffix=f=f -qfixed=132
FREEFLAGS := -qsuffix=f=f90 -qfree=f90
FC := mpxlf90_r
FFLAGS := -c -qrealsize=8 -qdpc=e -g -qfullpath
-O2 -qstrict -qmaxmem=-1 -qarch=auto -Q -qsigtrap=xl__trcedump
# -O2 -qstrict -Q -qmaxmem=-1 -qspillsize=2500
# -qarch=auto -qtune=auto -qcache=auto
# -qsigtrap=xl__trcedump
MOD_SUFFIX := mod
LD := $(FC)
LDFLAGS := -bmaxdata:0x80000000 -bmaxstack:0x10000000
AR := ar

ifeq ($(OBJECT_MODE),64)
INCLDIR := -I. -I/applic/local/include/NETCDF_64bit -I/usr/include -I/usr/lpp/ppe.poe/include/thread64 -I$
{INCROOT}
SLIBS := -L /applic/local/lib -lnetcdf
LDFLAGS :=
endif

ifeq ($(MACH),seaborg)
INCLDIR := -I. -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread -I${INCROOT} -I$(NE
TCDF_DIR)/include
SLIBS := -L /applic/local/lib -l netcdf
ifeq ($(OBJECT_MODE),64)
INCLDIR := -I. -I/applic/local/include/NETCDF_64bit -I/usr/lpp/ppe.poe/include/thread64 -I${INCROOT} -I$(
NETCDF64_DIR)/include
SLIBS := -L /applic/local/lib -l netcdf
SLIBS := -L /applic/local/lib -l netcdf
LDFLAGS :=
endif
endif

ifeq ($(MODEL),cam)
FFLAGS := -c -qrealsize=8 -qdpc=e -g -qfullpath -qspillsize=2500
-O3 -qstrict -Q -qarch=auto -qsigtrap=xl__trcedump
endif

ifeq ($(MODEL),pop)
CPPDEFS := $(CPPDEFS) -DPOSIX -Dimpvmix -Dcoupled
-DNPROC_X=$(NX) -DNPROC_Y=$(NY)
FFLAGS := -c -O2 -qstrict -Q -qalias=noaryovrlp -qmaxmem=-1
-qarch=auto -qtune=auto -qcache=auto -qsave -qdpc=e -I${INCROOT}
ifneq ($(DEBUG),TRUE)
FFLAGS := -qhot $(FFLAGS)
endif
endif

ifeq ($(MODEL),csim)
CPPDEFS := $(CPPDEFS) -Dcoupled -DNPROC_X=$(NX) -DNPROC_Y=$(NY) -D_MPI
CFLAGS := -c -O2
FFLAGS := -c -O2 -qstrict -Q -qmaxmem=-1 -qrealsize=8
-qarch=auto -qtune=auto -I${INCROOT}
LDFLAGS :=
endif

ifeq ($(THREAD),TRUE)
CFLAGS := $(CFLAGS) -qsmp=omp
CPPDEFS := $(CPPDEFS) -D_OPENMP
FFLAGS := $(FFLAGS) -qsmp=omp # default is -qnosmp
LDFLAGS := $(LDFLAGS) -qsmp=omp
endif

ifeq ($(DEBUG),TRUE)
FFLAGS := $(FFLAGS) -C -qinitauto=7FF7FFFF
-qflttrap=ov:zero:inv:en -qspillsize=4000
CPPDEFS := $(CPPDEFS) -DNO_SHR_VMATH
else
# -qflttrap doesn't run with lmass turned on.
# FFLAGS := $(FFLAGS) -qflttrap=ov:zero:inv:en:imp
ifeq ($(MACH),babyblue)
SLIBS := $(SLIBS) -l mass -l massv
endif
ifeq ($(MACH),blackforest)
SLIBS := $(SLIBS) -l mass -l massv
endif
ifeq ($(MACH),bluesky)
SLIBS := $(SLIBS) -l mass -l massv
LDFLAGS := $(LDFLAGS) -qsmp=omp
ULIBS := $(ULIBS) -L/usr/local/lib/mpitools -lmpibindsmp
endif
ifeq ($(MACH),bluesky32)
SLIBS := $(SLIBS) -l mass -l massv
LDFLAGS := $(LDFLAGS) -qsmp=omp
ULIBS := $(ULIBS) -L/usr/local/lib/mpitools -lmpibindsmp
endif
ifeq ($(MACH),seaborg)
SLIBS := $(SLIBS) -L/usr/common/usg/MASS/3.0/lib -lmass -L/usr/common/usg/MASS/3.0/lib -lmassv
endif
ifeq ($(MACH),eagle)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
ifeq ($(MACH),cheetah)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
ifeq ($(MACH),cheetah32)
SLIBS := $(SLIBS) -L /usr/local/lib -l mass -l massv
endif
endif


Change like this and if set paths of libs correspondingly in your ~/.cshrc.
 
Top