1#! /bin/csh -f
2
3set msglvl           = 1
4set msgFile          = res.serial
5set msgFile          = stdout
6set msgFile          = res
7
8set type             = 1
9set symmetryflag     = 0
10set seed             = 9999
11
12set patchAndGoFlag = 0
13set toosmall       = 1.e-9
14set fudge          = 1.e-9
15set storeids       = 1
16set storevalues    = 1
17
18set nproc = 4
19
20#
21# for solaris with mpich
22#
23set pgFile = patchAndGo.$nproc.pg
24/usr/local/mpi/bin/mpirun -p4pg $pgFile \
25patchAndGoMPI $msglvl $msgFile $type $symmetryflag \
26              $patchAndGoFlag $toosmall $fudge \
27              $storeids $storevalues $seed
28
29#
30# for sgi
31#
32# mpirun -np $nproc \
33# patchAndGoMPI $msglvl $msgFile $type $symmetryflag \
34#               $patchAndGoFlag $toosmall $fudge \
35#               $storeids $storevalues $seed
36
37#
38# for hp
39#
40# /opt/mpi/bin/mpirun -np $nproc \
41# patchAndGoMPI $msglvl $msgFile $type $symmetryflag \
42#               $patchAndGoFlag $toosmall $fudge \
43#               $storeids $storevalues $seed
44