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