File: do_readAIJ

package info (click to toggle)
spooles 2.2-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,760 kB
  • sloc: ansic: 146,836; sh: 7,571; csh: 3,615; makefile: 1,970; perl: 74
file content (40 lines) | stat: -rwxr-xr-x 979 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
#! /bin/csh -f

set matrices     = ../../Matrices
set matrix       = GRD7x7

set msglvl  = 1
set msgFile = stdout

set dataType = 1
set flag     = 0

set matrices     = /local1/DATA
set matrix       = MAT_1

set matrices     = ../../../matrices
set matrix       = R3D13824

set inFile  = $matrices/$matrix/AIJ$dataType.raw
set inFile  = $matrices/$matrix.DAT
set inFile  = $matrices/$matrix/aij.raw

set outFile = $matrices/$matrix/AIJ$dataType.inpmtxf
set outFile = $matrices/$matrix/AIJ$dataType.inpmtxb
set outFile = /local1/ARPA/matrices/SFTC1/SFTC1.inpmtxb
set outFile = $matrices/$matrix/orig.inpmtxb

time readAIJ $msglvl $msgFile $dataType $inFile $outFile $flag

exit

# set inFile  = temp
# set outFile = temp.inpmtxb

foreach n ( 2 3 4 5 6 7 8 )
   set inFile   = /local1/DATA/MAT_$n.DAT
   set outFile  = /local1/ARPA/matrices/SFTC$n/SFTC$n.inpmtxb
   echo inFile $inFile
   echo outFile $outFile
   time readAIJ $msglvl $msgFile $dataType $inFile $outFile $flag
end