source: CONFIG_DEVT/IPSLCM6.2.2_ENSEMBLES/config/IPSLCM6/LMDZOR622-ENSEMBLES.01/ENSEMBLES/create_runfile.sh @ 6246

Last change on this file since 6246 was 6246, checked in by aclsce, 20 months ago

Added LMDZOR experiment within XIOS ensembles infrastructure.

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