case=CMPASO-NYF_maint2.1_1 ./create_newcase --case $case --compset CMPASO-NYF --res T62_oEC60to30v3 --mach lu-gpu --compiler pgigpu --mpilib openmpi --ngpus-per-node 8 cd $case ./xmlchange MAX_TASKS_PER_NODE=32 ./xmlchange MAX_MPITASKS_PER_NODE=32 # node=1,cpu=40 # REST(n1):OCN(n2):ICE(n3):WAV(n4)=0.65: 0.2: 0.1: 0.05 NTASKS=16 n1=16 #n2=16 #n3=26 NTHREADS=1 #NTASKS=512 #n1=512 #n2=93 #n3=14 #n4=64 #NTHREADS=1 ./xmlchange NTASKS_ATM=$n1 ./xmlchange NTASKS_LND=$n1 ./xmlchange NTASKS_ICE=$n1 #./xmlchange NTASKS_OCN=$n1 #./xmlchange NTASKS_ICE=$n3 ./xmlchange NTASKS_OCN=$n1 ./xmlchange NTASKS_CPL=$n1 ./xmlchange NTASKS_GLC=$n1 ./xmlchange NTASKS_WAV=$n1 #./xmlchange NTASKS_WAV=$n4 ./xmlchange NTASKS_ROF=$n1 ./xmlchange NTASKS_IAC=1 ./xmlchange NTASKS_ESP=1 ./xmlchange NTHRDS_ATM=$NTHREADS ./xmlchange NTHRDS_LND=1 ./xmlchange NTHRDS_ICE=1 ./xmlchange NTHRDS_OCN=$NTHREADS ./xmlchange NTHRDS_CPL=1 ./xmlchange NTHRDS_GLC=$NTHREADS ./xmlchange NTHRDS_WAV=$NTHREADS ./xmlchange NTHRDS_ROF=$NTHREADS ./xmlchange ROOTPE=0 #./xmlchange ROOTPE_ICE=$(($NTASKS-$n2-$n3)) #./xmlchange ROOTPE_OCN=$(($NTASKS-$n2)) #./xmlchange ROOTPE_ICE=$(($NTASKS-$n2-$n3-$n4)) #./xmlchange ROOTPE_WAV=$(($NTASKS-$n2-$n4)) #./xmlchange ROOTPE_OCN=$(($NTASKS-$n2)) ./xmlchange DOUT_S=TRUE ./xmlchange CHECK_TIMING=FALSE ./xmlchange STOP_N=5 ./xmlchange STOP_OPTION=nday ./xmlchange SAVE_TIMING="TRUE" ./xmlchange PIO_TYPENAME=pnetcdf #./xmlchange PIO_ASYNC_INTERFACE=TRUE #./xmlchange PIO_NUMTASKS=64 ./xmlquery RUN_REFDIR,RUN_REFCASE,RUN_REFDATE,RESUBMIT,RUN_TYPE,RUN_STARTDATE,STOP_OPTION,STOP_N,STOP_DATE,CONTINUE_RUN,DOUT_S,DOUT_S_ROOT,JOB_WALLCLOCK_TIME ./xmlquery NTASKS,NTHRDS,ROOTPE,NINST,MAX_TASKS_PER_NODE,MAX_MPITASKS_PER_NODE ./case.setup ./preview_run