sbasu@iarc_uaf_edu
Member
Hi,
I am doing a standalone CAM 5.3 run (without CICE) with climatological dataset. I configured the model with -nosmp -nospmd. ../cesm1_2_2/models/atm/cam/bld/configure -dyn fv -hgrid 0.9x1.25 -nc_inc /opt/cray/netcdf/4.2.0/pgi/119/include -nc_lib /opt/cray/netcdf/4.2.0/pgi/119/lib -nc_mod /opt/cray/netcdf/4.2.0/pgi/119/include -mpi_inc /opt/cray/mpt/7.0.0/gni/mpich2-pgi/141/include -mpi_lib /opt/cray/mpt/7.0.0/gni/mpich2-pgi/141/lib -fc ftn -fc_type pgi -nospmd -nosmp -test -vBut, I am wondering what exactly the option -ntasks under build-namelist does. I was trying to set -ntasks via the build-namelist command but it could not generate the namelist. It did not give me any error either. It was just stuck there so I had to kill the command. fish1 % ../cesm1_2_2/models/atm/cam/bld/build-namelist -test -config /center/w/basu/cam_5/cam_bld_test/config_cache.xml -case test_3 -namelist "&atm nhtfrq(1) = -6 mfilt(1) = 1460 stop_option = 'nyears' stop_n = 1 -ntasks 12 bndtvs = '/center/w/basu/cam_5/inputdata/atm/cam/sst/sst_HadOIBl_bc_0.9x1.25_clim_c040926a.nc'/"^C
fish1 % lsfish1 %I am submitting a batch script for the model execution where I am specifying OMP_NUM_THREADS#!/bin/bash
#PBS -N Test_3
#PBS -q standard
#PBS -l walltime=24:00:00
#PBS -l nodes=12:ppn=12
#PBS -j oe
cd $PBS_O_WORKDIR
export LID="`date +%y%m%d-%H%M%S`"
echo "`date` -- CAM 5.3 EXECUTION BEGINS HERE"
export OMP_NUM_THREADS=12
aprun -n 12 -d 12 /center/w/basu/cam_5/cam_bld_test/cam >& cam.log
echo "`date` -- CAM 5.3 RUN ENDS HERE"
Currently the model is taking ~20 hours to complete 1 year model simulation so I am trying to make the model run faster.Also, for doing a restart run should I simply change the runtype to continue via the build-namelist command after the startup run? Thanks,Soumik
I am doing a standalone CAM 5.3 run (without CICE) with climatological dataset. I configured the model with -nosmp -nospmd. ../cesm1_2_2/models/atm/cam/bld/configure -dyn fv -hgrid 0.9x1.25 -nc_inc /opt/cray/netcdf/4.2.0/pgi/119/include -nc_lib /opt/cray/netcdf/4.2.0/pgi/119/lib -nc_mod /opt/cray/netcdf/4.2.0/pgi/119/include -mpi_inc /opt/cray/mpt/7.0.0/gni/mpich2-pgi/141/include -mpi_lib /opt/cray/mpt/7.0.0/gni/mpich2-pgi/141/lib -fc ftn -fc_type pgi -nospmd -nosmp -test -vBut, I am wondering what exactly the option -ntasks under build-namelist does. I was trying to set -ntasks via the build-namelist command but it could not generate the namelist. It did not give me any error either. It was just stuck there so I had to kill the command. fish1 % ../cesm1_2_2/models/atm/cam/bld/build-namelist -test -config /center/w/basu/cam_5/cam_bld_test/config_cache.xml -case test_3 -namelist "&atm nhtfrq(1) = -6 mfilt(1) = 1460 stop_option = 'nyears' stop_n = 1 -ntasks 12 bndtvs = '/center/w/basu/cam_5/inputdata/atm/cam/sst/sst_HadOIBl_bc_0.9x1.25_clim_c040926a.nc'/"^C
fish1 % lsfish1 %I am submitting a batch script for the model execution where I am specifying OMP_NUM_THREADS#!/bin/bash
#PBS -N Test_3
#PBS -q standard
#PBS -l walltime=24:00:00
#PBS -l nodes=12:ppn=12
#PBS -j oe
cd $PBS_O_WORKDIR
export LID="`date +%y%m%d-%H%M%S`"
echo "`date` -- CAM 5.3 EXECUTION BEGINS HERE"
export OMP_NUM_THREADS=12
aprun -n 12 -d 12 /center/w/basu/cam_5/cam_bld_test/cam >& cam.log
echo "`date` -- CAM 5.3 RUN ENDS HERE"
Currently the model is taking ~20 hours to complete 1 year model simulation so I am trying to make the model run faster.Also, for doing a restart run should I simply change the runtype to continue via the build-namelist command after the startup run? Thanks,Soumik