- Timestamp:
- 01/13/22 14:51:11 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CreateWeightsMask.bash
r6042 r6045 4 4 #MSUB -e Out_WeightsMask # Error output 5 5 #MSUB -n 4 # Number of processors 6 ##MSUB -T 7200 # Time limit (seconds) 7 #MSUB -T 1800 8 #MSUB -Q test 6 #MSUB -T 7200 # Time limit (seconds) 7 #MSUB -Q normal 9 8 #MSUB -q skylake 10 #MSUB -p gen221211 #MSUB -m work,store 9 #MSUB -p devcmip6 10 #MSUB -m work,store,scratch 12 11 13 12 ### =========================================================================== … … 79 78 80 79 #Version="v0" ; Comment="Fully tested in IPSLCM6 eORCA1.2 x LMD 144x142" 81 Version="v1" ; Comment="Fully tested in IPSLCM6 eORCA1.2 x LMD 144x142" 80 #Version="v1" ; Comment="Fully tested in IPSLCM6 eORCA1.2 x LMD 144x142" 81 Version="NoSearchRadius" ; Comment="For testing new routing" 82 82 83 83 # If available, get model name from job name … … 105 105 # More specific cases 106 106 [[ ${CplModel} = eORCA1.2xLMD144142 ]] && { atmCoastWidth=2 ; oceCoastWidth=2 ; searchRadius=550.0 ; Version="v1" ; Comment="Fully tested in IPSLCM6 eORCA1.2 x LMD 144x142" ; } 107 108 if [[ ${CplModel} = eORCA1.2xLMD144142 && Version = "NoSearchRadius" ]] ; then 109 atmCoastWidth=2 ; oceCoastWidth=2 ; searchRadius=0.0 110 fi 107 111 108 112 # Default values, used to create ocean fraction on atmospheric grid … … 243 247 244 248 # 245 # Defines computer249 # Defines computer 246 250 # ================ 247 251 if [[ $(hostname) = irene* ]] ; then arch=irene ; center=tgcc ; fi … … 257 261 MpiRun="time ccc_mprun" 258 262 PyRun="time ccc_mprun -n 1" # Needed to force python to run on one process only 259 #module purge 260 source $(ccc_home -u igcmg)/MachineEnvironment/irene/env_irene 263 module purge 261 264 source ${SUBMIT_DIR}/arch.env 262 #module load nco265 module load nco/4.9.2 263 266 module load python3 264 267 module load datadir/igcmg … … 279 282 280 283 mkdir -p ${TMPDIR}/${CplModel} || exit 1 281 cd ${TMPDIR}/${CplModel} || exit 1284 cd ${TMPDIR}/${CplModel} || exit 2 282 285 rm -fr * 283 286 … … 688 691 cp add_varoce.nco add_varoce_$(basename ${rmpFile} .nc)_o_to_a.nco 689 692 [[ ${o_to_a} = true ]] && ncap2 --history --append --script-file add_varoce_$(basename ${rmpFile} .nc)_o_to_a.nco ${OCE}_coordinates_mask.nc ${rmpFile} 690 sed -i ""-e "s/src_/dst_/g" add_varoce.nco693 sed -i~ -e "s/src_/dst_/g" add_varoce.nco 691 694 cp add_varoce.nco add_varoce_$(basename ${rmpFile} .nc)_a_to_o.nco 692 695 [[ ${a_to_o} = true ]] && ncap2 --history --append --script-file add_varoce_$(basename ${rmpFile} .nc)_a_to_o.nco ${OCE}_coordinates_mask.nc ${rmpFile} … … 725 728 fi 726 729 727 sed -i ""-e "s/dst_/src_/g" add_varatm.nco730 sed -i~ -e "s/dst_/src_/g" add_varatm.nco 728 731 cp add_varatm.nco add_varatm_$(basename ${rmpFile} .nc)_a_to_o.nco 729 732 if [[ ${a_to_o} = true ]] ; then … … 769 772 fi 770 773 771 sed -i ""-e "s/dst/src/g" add_varatm.nco774 sed -i~ -e "s/dst/src/g" add_varatm.nco 772 775 cp add_varatm.nco add_varatm_$(basename ${rmpFile} .nc)_a_to_o.nco 773 776 if [[ ${a_to_o} = true ]] ; then
Note: See TracChangeset
for help on using the changeset viewer.