1#! /bin/csh -f
2
3set msglvl  = 1
4set msgFile = stdout
5set msgFile = res
6
7
8set type    =   1
9set type    =   2
10
11set nrow    = 2000
12set ncol    =  40
13# column major
14set inc1    =  1
15set inc2    = $nrow
16# row major
17set inc1    = $ncol
18set inc2    =  1
19set seed    = 1010101
20set nproc   = 4
21
22#
23#  for solaris with mpich
24#
25set pgFile  = gather$nproc.pg
26/usr/local/mpi/bin/mpirun -p4pg $pgFile \
27testGather \
28   $msglvl $msgFile $type $nrow $ncol $inc1 $inc2 $seed
29
30#
31#  for sgi
32#
33# mpirun -np $nproc \
34# testGather \
35#    $msglvl $msgFile $type $nrow $ncol $inc1 $inc2 $seed
36
37#
38#  for hp
39#
40# /opt/mpi/bin/mpirun -np $nproc \
41# testGather \
42#    $msglvl $msgFile $type $nrow $ncol $inc1 $inc2 $seed
43
44