source: CONFIG_DEVT/IPSLCM6.2.2_ENSEMBLES/config/IPSLCM6/CM622-ENSEMBLES.01/ENSEMBLES/create_runfile_pool2_nodep.sh @ 6232

Last change on this file since 6232 was 6232, checked in by aclsce, 23 months ago

Fixed pb when starting from different initial restart files.
Added configuration files for non depeuplement launching.

  • Property svn:executable set to *
File size: 559 bytes
Line 
1#!/bin/bash
2pool_size=$1
3pool_rank=$2
4
5nlmdz=71
6nopa=360
7nxios=1
8rm -f run_file
9for (( c=0; c<$pool_size; c++ ))
10do
11  whole_ensemble_rank=$((${pool_size}*${pool_rank}+$c))
12  echo "${nlmdz}-8 env OMP_NUM_THREADS=8 MEMBER=${whole_ensemble_rank} ./script_lmdz.x.ksh" >> run_file
13done 
14for (( c=0; c<$pool_size; c++ ))
15do
16  whole_ensemble_rank=$((${pool_size}*${pool_rank}+$c))
17  echo "${nopa}-1 env OMP_NUM_THREADS=1 MEMBER=${whole_ensemble_rank} ./script_opa.xx.ksh" >> run_file
18done 
19echo "${nxios}-1 env OMP_NUM_THREADS=1  ./script_xios.x.ksh" >> run_file
20
Note: See TracBrowser for help on using the repository browser.