We'll be taking GitLab down for maintenance around 22 in the evening on the 15th of September, so this Sunday. Let us know (tt.mpi-cbg.de) if you experience any issues with it after the maintenance period.

Commit 31d3dfba authored by incardon's avatar incardon

Fixing jenkins script

parent db15dc1f
......@@ -25,19 +25,6 @@ then
module load openmpi/1.8.1
fi
if [ "$2" == "wetcluster" ]
then
echo "Compiling on wetcluster\n"
module load gcc/4.9.2
module load openmpi/1.8.1
module load boost/1.54.0
COMPILE_OPTIONS = '--with-boost="/sw/apps/boost/1.54.0/"'
fi
sh ./autogen.sh
sh ./configure "$(COMPILE_OPTIONS)" CXX=mpic++
make
if [ $2 == "wetcluster" ]
then
bsub -K -n 2 mpirun -np 2 ./src/vcluster
......@@ -48,3 +35,32 @@ else
# mpirun -np 4 ./src/vcluster
fi
if [ "$2" == "wetcluster" ]
then
echo "Compiling on wetcluster"
## produce the module path
export MODULEPATH="/sw/apps/modules/modulefiles:$MODULEPATH"
script="module load gcc/4.9.2\n
module load openmpi/1.8.1\n
module load boost/1.54.0\n
compile_options='--with-boost=/sw/apps/boost/1.54.0/'\n
\n
sh ./autogen.sh\n
sh ./configure \"\$compile_options\" CXX=mpic++\n
make\n
if [ \"\$?\" = "0" ]; then exit 1 ; fi\n
exit(0)\n"
echo $script | sed -r 's/\\n/\n/g' > compile_script
# bsub "cd \"$1/OpenFPM_vcluster\"\n
# sh ./compile_script"
# bsub -K -n 2 mpirun -np 2 ./src/vcluster
# if [ "$?" = "0" ]; then exit 1 ; fi
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment