Commit c6ca80c9 authored by incardon's avatar incardon

Testing Jenkins MPI

parent 24b6fb40
......@@ -68,15 +68,8 @@ parallel (
stage ('run mac')
{
parallel (
"1" : {sh "./run.sh $WORKSPACE $NODE_NAME 1 0 0 $BRANCH_NAME"},
"2" : {sh "./run.sh $WORKSPACE $NODE_NAME 2 0 0 $BRANCH_NAME"},
"3" : {sh "./run.sh $WORKSPACE $NODE_NAME 3 0 0 $BRANCH_NAME"}
)
sh "./run.sh $WORKSPACE $NODE_NAME 4 0 0 $BRANCH_NAME"
sh "./run.sh $WORKSPACE $NODE_NAME 5 0 0 $BRANCH_NAME"
sh "./run.sh $WORKSPACE $NODE_NAME 6 0 0 $BRANCH_NAME"
sh "./run.sh $WORKSPACE $NODE_NAME 7 0 0 $BRANCH_NAME"
sh "./run.sh $WORKSPACE $NODE_NAME 1 0 0 $BRANCH_NAME"
sh "./run.sh $WORKSPACE $NODE_NAME 2 0 0 $BRANCH_NAME"
sh "./success.sh 2 sbalzarini-mac-15 opefpm_pdata"
}
}
......
......@@ -9,26 +9,23 @@ comp_type=$4
branch=$5
echo "Directory: $workspace"
echo "OS Type: $hostname"
echo "Machine: $hostname"
echo "make target: $target"
echo "compilation type: $comp_type"
echo "Branch name: $branch"
if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then
export PATH="$HOME/openfpm_dependencies/openfpm_pdata/$6/MPI/bin/:$PATH"
if [ x"$hostname" == x"cifarm-centos-node" ]; then
#we retest PETSC installation
rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/PETSC
fi
if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
export PATH="$HOME/openfpm_dependencies/openfpm_pdata/$6/MPI/bin/:$PATH"
export PATH="/usr/local/bin:$PATH"
fi
if [ x"$branch" == x"" ]; then
branch=$(git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3)
else
branch=$6
fi
#### If you have a dep_dir file change the branch name to the dep_dir
......@@ -157,6 +154,7 @@ else
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
ls $HOME
mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch
source $HOME/openfpm_vars_$branch
make -j 8
......
......@@ -18,7 +18,7 @@ source script/discover_os
source script/solve_python
discover_os
function test_configure_options {
function test_configure_options() {
$python_command ./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc --with-cxx-dialect=C++11 $petsc_openmp --with-mpi-dir=$mpi_dir $configure_options2 --prefix=$1/PETSC --with-debugging=0
}
......
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