source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/pyoasis/examples/8-interoperability/fortran_and_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: 450 bytes
Line 
1#!/bin/bash
2
3mkdir -p work
4
5srcdir=`pwd`
6datadir=$srcdir/data
7casename=`basename $srcdir`
8
9exe1=sender-apple
10exe2=sendrecv-orange.py
11exe3=receiver-serial
12
13n1=4
14n2=4
15n3=1
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 $n3 ./$exe3 : -np $n2 python3 $exe2
33
Note: See TracBrowser for help on using the repository browser.