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 1e8c4482 authored by incardon's avatar incardon

VCluster test CI Gitlab

parent 867e4a27
......@@ -15,7 +15,9 @@ centos_run:
dependencies:
- centos_build
script:
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 4 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 5 $CI_COMMIT_REF_NAME
mac_build:
......@@ -35,7 +37,9 @@ mac_run:
dependencies:
- mac_build
script:
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 4 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 5 $CI_COMMIT_REF_NAME
ubuntu_build:
stage: build
......@@ -54,5 +58,7 @@ ubuntu_run:
dependencies:
- ubuntu_build
script:
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 4 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS 5 $CI_COMMIT_REF_NAME
......@@ -7,14 +7,12 @@ echo "Directory: $1"
echo "Machine: $2"
echo "Branch: $4"
exit 1
cd "$1/openfpm_vcluster"
source $HOME/openfpm_vars_$4
if [ "$2" == "wetcluster" ]; then
export MODULEPATH="/sw/apps/modules/modulefiles:$MODULEPATH"
export MODULEPATH="/sw/apps/modules/modulefiles:$MODULEPATH"
## Run on the cluster
bsub -o output_run2.%J -K -n 2 -R "span[hosts=1]" "module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np $3 ./src/vcluster_test"
......@@ -49,7 +47,9 @@ elif [ "$2" == "taurus" ]; then
else
source $HOME/.bashrc
echo "$PATH"
export PATH="$PATH:$HOME/openfpm_dependencies/openfpm_vcluster/MPI/bin"
exit 1
mpirun -np $3 ./src/vcluster_test
if [ $? -ne 0 ]; then exit 1 ; 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