-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmra_queue.csh
executable file
·76 lines (62 loc) · 1.26 KB
/
mra_queue.csh
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/csh -f
# Name of job
#$ -N MRA
# Name of queue
#$ -q barcelona.q
# Set parallel environment; set number of processors
#$ -pe orte 47
# 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."
# The job
set input=start_EMAN2_flip_prep
set output=aligned
set refs=my_forw
set bandpass=start_EMAN2_flip_prep
set filt_str=0.7
echo '$input'
echo '$output'
echo '$refs'
echo '$bandpass'
echo '$filter_str'
setenv IMAGIC_BATCH 1
echo "! "
echo "! "
echo "! ====================== "
echo "! IMAGIC ACCUMULATE FILE "
echo "! ====================== "
echo "! "
echo "! "
echo "! IMAGIC program: mralign ----------------------------------------------"
echo "! "
mpirun -np $NSLOTS -x IMAGIC_BATCH /opt/qb3/imagic-110119e/align/mralign.e_mpi <<EOF
FRESH
ALL_REFERENCES
ALIGNMENT
BOTH (ROT AND TRANS)
ROTATION_FIRST
CCF
$input
$output
$bandpass
$refs
NO_FILTER
0.2
-180,180
LOW
0.0,0.7
5
NO
EOF
touch MRA_is_done