-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathincore_prep_queue.csh
More file actions
executable file
·57 lines (45 loc) · 1.03 KB
/
incore_prep_queue.csh
File metadata and controls
executable file
·57 lines (45 loc) · 1.03 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/csh -f
# Name of job
#$ -N incore_prep
# Name of queue
#$ -q barcelona.q
# Set parallel environment; set number of processors
#$ -pe orte 4
# Max walltime for this job (2 hrs)
##$ -l h_rt=02:00:00
# Merge the standard out and standard error to one file
##$ -j y
# Run job through csh shell
#$ -S /bin/csh
# use current working directory
#$ -cwd
# The following is for reporting only. It is not really needed
# to run the job. It will show up in your output file.
#
echo "Job starting `date`"
echo "Current working directory: $cwd"
echo "Got $NSLOTS processors."
set input=$1
set output=$2
set filt_strength=$3
setenv IMAGIC_BATCH 1
echo "! "
echo "! "
echo "! ====================== "
echo "! IMAGIC ACCUMULATE FILE "
echo "! ====================== "
echo "! "
echo "! "
echo "! IMAGIC program: incprep ----------------------------------------------"
echo "! "
mpirun -np $NSLOTS -x IMAGIC_BATCH /opt/qb3/imagic-110119e/incore/incprep.e_mpi <<EOF
$input
$output
0.03
0.005
$filt_strength
0.7,0.2
10.0
NO
EOF
touch incore_prep_is_done