source: CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/config/IPSLCM6/CM65-ENSEMBLES.01/ENSEMBLES/create_runfile.sh @ 5899

Last change on this file since 5899 was 5899, checked in by aclsce, 3 years ago

Modified libIGCM and configuration to run XIOS ensembles.

  • Property svn:executable set to *
File size: 558 bytes
Line 
1#!/bin/bash
2pool_size=$1
3pool_rank=$2
4
5nlmdz=47
6nopa=90
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}-2 env OMP_NUM_THREADS=2 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=2 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.