-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscript.MPI.sh
More file actions
27 lines (25 loc) · 1.1 KB
/
script.MPI.sh
File metadata and controls
27 lines (25 loc) · 1.1 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
#!/bin/bash
# use bash as shell
#$ -S /bin/bash
# join stout and stderr
#$ -j y
#$ -R y
# change to working directory
#$ -cwd
# select parallel enviroment
#$ -pe mvapich 48
#$ -q maxmem.q,standard.q
#$ -l h_rt=1:00:00
#$ -binding linear:48
# load needed modules
source /etc/profile.d/modules.sh
module load sge
# For icc
module load hydra intel/compiler/64/12.1/2011_sp1.11.339 mvapich2/intel/64/1.6-qlc libraries libdatrie mpfr/3.1.1/icc/12.1
# For gcc
# module load hydra gcc mpich2/ge/gcc/64/1.4.1p1 libraries libdatrie
# launch job, hostfile and number of cores are set automagicaly
mpistart ./motexMPI -a DNA -i ./data/dnc_subtilis_330-30.seq -o struct.motex -d 0 -k 6 -e 1 -q 12 -s ./data/boxes.txt -R struct.smile
# mpistart ./motexMPI -a DNA -i ./data/hsapiens.full_gene_set.clean -o hsapiens.full_gene_set.clean.gcc.motex -d 0 -q 10 -l 12 -e 2
# mpistart ./motexMPI -a DNA -i ./data/hsapiens.full_gene_set.clean -o hsapiens.full_gene_set.clean.gcc.motex -d 0 -q 10 -l 15 -e 3
# mpistart ./motexMPI -a DNA -i ./data/hsapiens.full_gene_set.clean -o hsapiens.full_gene_set.clean.gcc.motex -d 0 -q 10 -l 20 -e 4