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

Problems on running the CCSM after built the model successfully

sfeng2@unl_edu

New Member
I am trying to get the CCSM3 to run on our linux cluster. After modify the machine specific settings and update the netcdf library, the fully coupled model and the data ocean model can be built successfully. However, when I try to submit the model run, I got the following errors (for data ocean model run):

## Warning: SCRATCH not defined in system environment. Set SCRATCH to be /work/hu/sfeng
## Warning: SCRATCH not defined in system environment. Set SCRATCH to be /work/hu/sfeng
-------------------------------------------------------------------------
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 /work/hu/sfeng/Data_ocean restarts from /work/hu/sfeng/archive/Data_ocean/restart
- Check validity of configuration
- Determine if build must happen (env variable BLDTYPE)
- Build flag (BLDTYPE) is TRUE
- Build Libraries: esmf, mph, mct
Fri Feb 29 12:07:23 CST 2008 esmf.buildlib.080229-120723
Fri Feb 29 12:07:24 CST 2008 mph.buildlib.080229-120723
Fri Feb 29 12:07:24 CST 2008 mct.buildlib.080229-120723
- Create model directories for each platform
- Determine if models must be rebuilt
- Build model executables, create namelist files, prestage input data
Fri Feb 29 12:07:25 CST 2008 /work/hu/sfeng/Data_ocean/cpl/cpl.log.080229-120723
Fri Feb 29 12:07:25 CST 2008 /work/hu/sfeng/Data_ocean/cpl/cpl.buildexe.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/ice/ice.log.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/ice/ice.buildexe.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/lnd/lnd.log.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/lnd/lnd.buildexe.080229-120723
Fri Feb 29 12:07:27 CST 2008 /work/hu/sfeng/Data_ocean/ocn/ocn.log.080229-120723
Fri Feb 29 12:07:27 CST 2008 /work/hu/sfeng/Data_ocean/ocn/ocn.buildexe.080229-120723
Fri Feb 29 12:07:28 CST 2008 /work/hu/sfeng/Data_ocean/atm/atm.log.080229-120723
Fri Feb 29 12:07:28 CST 2008 /work/hu/sfeng/Data_ocean/atm/atm.buildexe.080229-120723
- Create MPH input file and link into all model dirs
- Create shr_msg_stdio chdir/stdin/stdout data file
-------------------------------------------------------------------------
- CCSM BUILD HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
skipping first model
PBS_MOMPORT=15003
OMP_NUM_THREADS=2
COMP_ATM=cam
COMP_LND=clm
COMP_ICE=dice
COMP_OCN=docn
COMP_CPL=cpl
RAMP_CO2_START_YMD=00000000
Fri Feb 29 12:07:29 CST 2008 -- CSM EXECUTION BEGINS HERE
if: Expression Syntax.
stty: standard input: Invalid argument
done



I got similar errors when try to run the fully coupled smoke test. The tail of the model run was listed below:


skipping first model
PBS_MOMPORT=15003
OMP_NUM_THREADS=2
COMP_ATM=cam
COMP_LND=clm
COMP_ICE=csim
COMP_OCN=pop
COMP_CPL=cpl
RAMP_CO2_START_YMD=00000000
Wed Feb 27 21:58:59 CST 2008 -- CSM EXECUTION BEGINS HERE
if: Expression Syntax.
gunzip: No match.
ls: No match.
stty: standard input: Invalid argument
done


Any clues and suggestions? What the meaning of "stty: standary input: Invalid argument"?

Song Feng
 
I guess it is shell related ... your shell is not able to process statements ...


sfeng2 said:
I am trying to get the CCSM3 to run on our linux cluster. After modify the machine specific settings and update the netcdf library, the fully coupled model and the data ocean model can be built successfully. However, when I try to submit the model run, I got the following errors (for data ocean model run):

## Warning: SCRATCH not defined in system environment. Set SCRATCH to be /work/hu/sfeng
## Warning: SCRATCH not defined in system environment. Set SCRATCH to be /work/hu/sfeng
-------------------------------------------------------------------------
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 /work/hu/sfeng/Data_ocean restarts from /work/hu/sfeng/archive/Data_ocean/restart
- Check validity of configuration
- Determine if build must happen (env variable BLDTYPE)
- Build flag (BLDTYPE) is TRUE
- Build Libraries: esmf, mph, mct
Fri Feb 29 12:07:23 CST 2008 esmf.buildlib.080229-120723
Fri Feb 29 12:07:24 CST 2008 mph.buildlib.080229-120723
Fri Feb 29 12:07:24 CST 2008 mct.buildlib.080229-120723
- Create model directories for each platform
- Determine if models must be rebuilt
- Build model executables, create namelist files, prestage input data
Fri Feb 29 12:07:25 CST 2008 /work/hu/sfeng/Data_ocean/cpl/cpl.log.080229-120723
Fri Feb 29 12:07:25 CST 2008 /work/hu/sfeng/Data_ocean/cpl/cpl.buildexe.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/ice/ice.log.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/ice/ice.buildexe.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/lnd/lnd.log.080229-120723
Fri Feb 29 12:07:26 CST 2008 /work/hu/sfeng/Data_ocean/lnd/lnd.buildexe.080229-120723
Fri Feb 29 12:07:27 CST 2008 /work/hu/sfeng/Data_ocean/ocn/ocn.log.080229-120723
Fri Feb 29 12:07:27 CST 2008 /work/hu/sfeng/Data_ocean/ocn/ocn.buildexe.080229-120723
Fri Feb 29 12:07:28 CST 2008 /work/hu/sfeng/Data_ocean/atm/atm.log.080229-120723
Fri Feb 29 12:07:28 CST 2008 /work/hu/sfeng/Data_ocean/atm/atm.buildexe.080229-120723
- Create MPH input file and link into all model dirs
- Create shr_msg_stdio chdir/stdin/stdout data file
-------------------------------------------------------------------------
- CCSM BUILD HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
skipping first model
PBS_MOMPORT=15003
OMP_NUM_THREADS=2
COMP_ATM=cam
COMP_LND=clm
COMP_ICE=dice
COMP_OCN=docn
COMP_CPL=cpl
RAMP_CO2_START_YMD=00000000
Fri Feb 29 12:07:29 CST 2008 -- CSM EXECUTION BEGINS HERE
if: Expression Syntax.
stty: standard input: Invalid argument
done



I got similar errors when try to run the fully coupled smoke test. The tail of the model run was listed below:


skipping first model
PBS_MOMPORT=15003
OMP_NUM_THREADS=2
COMP_ATM=cam
COMP_LND=clm
COMP_ICE=csim
COMP_OCN=pop
COMP_CPL=cpl
RAMP_CO2_START_YMD=00000000
Wed Feb 27 21:58:59 CST 2008 -- CSM EXECUTION BEGINS HERE
if: Expression Syntax.
gunzip: No match.
ls: No match.
stty: standard input: Invalid argument
done


Any clues and suggestions? What the meaning of "stty: standary input: Invalid argument"?

Song Feng
 
Top