Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
40ce059c
Commit
40ce059c
authored
May 26, 2015
by
incardon
Browse files
VCluster modified to bypass problem on wetcluster
parent
7749ac5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
build_vcluster.sh
View file @
40ce059c
...
...
@@ -51,14 +51,14 @@ exit(0)\n"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
bsub
-o
output_run8.%J
-K
-n
8
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 8 ./src/vcluster"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
bsub
-o
output_run16.%J
-K
-n
16
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 16 ./src/vcluster"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
bsub
-o
output_run32.%J
-K
-n
32
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 32 ./src/vcluster"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
bsub
-o
output_run32.%J
-K
-n
64
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 64 ./src/vcluster"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
bsub
-o
output_run32.%J
-K
-n
128
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 128 ./src/vcluster"
bsub
-o
output_run16.%J
-K
-n
12
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 16 ./src/vcluster"
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
# bsub -o output_run32.%J -K -n 32 "module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 32 ./src/vcluster"
# if [ $? -ne 0 ]; then exit 1 ; fi
# bsub -o output_run32.%J -K -n 64 "module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 64 ./src/vcluster"
# if [ $? -ne 0 ]; then exit 1 ; fi
# bsub -o output_run32.%J -K -n 128 "module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 128 ./src/vcluster"
# if [ $? -ne 0 ]; then exit 1 ; fi
elif
[
"
$2
"
==
"taurus"
]
then
echo
"Compiling on taurus"
...
...
@@ -93,7 +93,6 @@ else
mpirun
-np
2 ./src/vcluster
mpirun
-np
4 ./src/vcluster
fi
install_MPI.sh
View file @
40ce059c
#!/bin/bash
mkdir
${
HOME
}
/MPI
wget http://www.open-mpi.de/software/ompi/v1.8/downloads/openmpi-1.8.
1
.tar.bz2
tar
-xvf
openmpi-1.8.
1
.tar.bz2
cd
openmpi-1.8.
1
wget http://www.open-mpi.de/software/ompi/v1.8/downloads/openmpi-1.8.
5
.tar.bz2
tar
-xvf
openmpi-1.8.
5
.tar.bz2
cd
openmpi-1.8.
5
sh ./configure
--prefix
=
${
HOME
}
/MPI
--enable-opal-multi-threads
--enable-mpi-f90
make
make
install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment