source: CPL/oasis3-mct_5.0/pyoasis/examples/1-serial/python/run.sh @ 6328

Last change on this file since 6328 was 6328, checked in by aclsce, 17 months ago

First import of oasis3-mct_5.0 (from oasis git server, branch OASIS3-MCT_5.0)

  • Property svn:executable set to *
File size: 364 bytes
Line 
1#!/bin/bash
2
3mkdir -p work
4
5srcdir=`pwd`
6datadir=$srcdir/data
7casename=`basename $srcdir`
8
9exe1=sender-serial.py
10exe2=receiver.py
11
12n1=1
13n2=1
14
15rundir=$srcdir/work
16
17rm -fr $rundir
18mkdir -p $rundir
19
20cp -f $srcdir/$exe1 $rundir/.
21cp -f $srcdir/$exe2 $rundir/.
22
23cp -f $datadir/namcouple $rundir/.
24
25cd $rundir
26
27${MPIRUN4PY} -np $n1 python3 $exe1 : -np $n2 python3 $exe2
Note: See TracBrowser for help on using the repository browser.