Commit 02a62f77 authored by incardon's avatar incardon

Adding jenkins for MPI

parent fbd73d5d
#!groovy
parallel (
"cifarm-ubuntu" : {node ('cifarm-ubuntu')
{
deleteDir()
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build ubuntu')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME }"
}
stage ('run ubuntu')
{
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 5 0 0 $BRANCH_NAME"
sh "./success.sh 2 nyu opefpm_pdata"
}
}
},
"cifarm-mac-node" : {node ('cifarm-mac-node')
{
deleteDir()
env.PATH = "/usr/local/bin:${env.PATH}"
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build mac')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME"
}
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 "./success.sh 2 sbalzarini-mac-15 opefpm_pdata"
}
}
},
"cifarm-centos-node" : {node ('cifarm-centos-node')
{
deleteDir()
env.PATH = "/usr/local/bin:${env.PATH}"
int ntry = 5
while (ntry != 0)
{
try {
checkout scm
ntry = 0
}
catch (IOException e)
{
ntry--
sleep(50)
}
}
stage ('build centos')
{
sh "./build.sh $WORKSPACE $NODE_NAME pdata 0 $BRANCH_NAME"
}
stage ('run centos')
{
parallel (
"p1" : {sh "./run.sh $WORKSPACE $NODE_NAME 1 0 0 $BRANCH_NAME"},
"p2" : {sh "./run.sh $WORKSPACE $NODE_NAME 2 0 0 $BRANCH_NAME"},
"p3" : {sh "./run.sh $WORKSPACE $NODE_NAME 3 0 0 $BRANCH_NAME"},
"p4" : {sh "./run.sh $WORKSPACE $NODE_NAME 5 0 0 $BRANCH_NAME"}
)
sh "./success.sh 2 gin opefpm_pdata"
}
}
}
)
......@@ -9,6 +9,8 @@ echo "make target: $4"
echo "compilation type: $5"
echo "Branch name: $6"
exit 1
if [ x"$3" == x"ubuntu" ]; then
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$6/*
# ./script/install_MPI.sh $HOME/openfpm_dependencies/openfpm_pdata/$6/ 8
......
openfpm_data @ fa595720
Subproject commit 745c2c40310203b9877392cc3d98ed300e29dc03
Subproject commit fa595720734c956d9995ca19211e4ba9a1bcd419
openfpm_devices @ 3e577db1
Subproject commit d956f9fd5bea586ee6281a483e3f0d5fa93a5415
Subproject commit 3e577db1822f3fbb6b1b8c5312beada879f760d3
openfpm_vcluster @ 570ab2ba
Subproject commit 9ca08e7be54a0f1edd230c73b1a4296a38baca69
Subproject commit 570ab2ba2ea6240b2c3c154936ea9fe6692c1c1f
......@@ -8,6 +8,8 @@ echo "Num of processors: $4"
echo "Branch: $7"
exit 1
if [ "$2" == "gin" ]
then
source "$HOME/.bashrc"
......
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