source: CPL/oasis3-mct_5.0/pyoasis/examples/3-box/C/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: 358 bytes
Line 
1#!/bin/bash
2
3mkdir -p work
4
5srcdir=`pwd`
6datadir=$srcdir/data
7casename=`basename $srcdir`
8
9exe1=sender-box
10exe2=receiver
11
12n1=4
13n2=1
14
15make || exit
16
17rundir=$srcdir/work
18
19rm -fr $rundir
20mkdir -p $rundir
21
22cp -f $srcdir/$exe1 $rundir/.
23cp -f $srcdir/$exe2 $rundir/.
24
25cp -f $datadir/namcouple $rundir/.
26
27cd $rundir
28
29${MPIRUN4PY} -np $n1 ./$exe1 : -np $n2  ./$exe2
Note: See TracBrowser for help on using the repository browser.