source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/pyoasis/examples/5-points/python/run.sh @ 6331

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

Moved oasis-mct_5.0 in oasis3-mct/branches directory.

  • Property svn:executable set to *
File size: 365 bytes
Line 
1#!/bin/bash
2
3mkdir -p work
4
5srcdir=`pwd`
6datadir=$srcdir/data
7casename=`basename $srcdir`
8
9exe1=sender-points.py
10exe2=receiver.py
11
12n1=4
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
28
Note: See TracBrowser for help on using the repository browser.