source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/pyoasis/examples/9-python_fortran_C-multi_intracomm/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: 467 bytes
Line 
1#!/bin/bash
2
3mkdir -p work
4
5srcdir=`pwd`
6
7#exe1=sender-box
8exe1=sender-box.py
9exe2=receiver
10exe3=xios
11exe4=nonactive
12
13n1=4
14n2=1
15n3=2
16n4=3
17
18make || exit
19
20rundir=$srcdir/work
21
22rm -fr $rundir
23mkdir -p $rundir
24
25cp -f $srcdir/$exe1 $rundir/.
26cp -f $srcdir/$exe2 $rundir/.
27cp -f $srcdir/$exe3 $rundir/.
28cp -f $srcdir/$exe4 $rundir/.
29
30cp -f $srcdir/namcouple $rundir/.
31
32cd $rundir
33
34${MPIRUN4PY} -np $n1 python3 ./$exe1 : -np $n4 ./$exe4 : -np $n2  ./$exe2 : -np $n3 ./$exe3
Note: See TracBrowser for help on using the repository browser.