File: do_wrapperMPI

package info (click to toggle)
spooles 2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,012 kB
  • sloc: ansic: 146,834; csh: 3,615; makefile: 2,040; perl: 74
file content (44 lines) | stat: -rwxr-xr-x 947 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /bin/csh -f

set msglvl           = 1
set msgFile          = res

set seed             = 10101

set matrices = ../../Matrices/
set matrix   = GRD7x7
 
set neqns        = 49
set type         =  1
set symmetryflag =  0
 
set mtxFile = $matrices/$matrix/realsym.inpmtxb
set rhsFile = $matrices/$matrix/realrhs.densemtxb
set solFile = none

set nproc   = 4

#
#  for solaris with mpich
#
set pgFile  = wrapperMPI.$nproc.pg
/usr/local/mpi/bin/mpirun -p4pg $pgFile \
testWrapperMPI $msglvl $msgFile \
               $neqns $type $symmetryflag \
               $mtxFile $rhsFile $solFile $seed 
 
#
#  for sgi
#
# mpirun -np $nproc \
# testWrapperMPI $msglvl $msgFile \
#                $neqns $type $symmetryflag \
#                $mtxFile $rhsFile $solFile $seed 
 
#
#  for hp
#
# /opt/mpi/bin/mpirun -np $nproc \
# testWrapperMPI $msglvl $msgFile \
#                $neqns $type $symmetryflag \
#                $mtxFile $rhsFile $solFile $seed