source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/pyoasis/examples/3-box/fortran/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: 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.