Commit 8c83dd92 authored by incardon's avatar incardon
Browse files

Adding furiosa falcon

parent e648279d
...@@ -36,6 +36,15 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then ...@@ -36,6 +36,15 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
echo "Continue" echo "Continue"
fi fi
if [ x"$hostname" == x"falcon1" ]; then
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/
echo "Continue"
dependency_dir=/projects/ppm/rundeck/openfpm_dependencies/
else
dependency_dir=$HOME/openfpm_dependencies/openfpm_pdata/$branch
fi
#### If you have a dep_dir file change the branch name to the dep_dir #### If you have a dep_dir file change the branch name to the dep_dir
dep_dir=$(cat dep_dir) dep_dir=$(cat dep_dir)
...@@ -50,21 +59,16 @@ echo "Compiling general" ...@@ -50,21 +59,16 @@ echo "Compiling general"
source ~/.bashrc source ~/.bashrc
installation_dir="" installation_dir="--prefix=$HOME/openfpm_install/$branch"
if [ x"$hostname" == x"sbalzarini-mac-15" ]; then
installation_dir="--prefix=/Users/jenkins/openfpm_install"
else
installation_dir="--prefix=$HOME/openfpm_install/$branch"
fi
# force ssh to not use HostKey verification # force ssh to not use HostKey verification
echo "StrictHostKeyChecking=no" > $HOME/.ssh/config #echo "StrictHostKeyChecking=no" > $HOME/.ssh/config
chmod 600 $HOME/.ssh/config #chmod 600 $HOME/.ssh/config
mkdir $HOME/openfpm_dependencies/openfpm_pdata/$branch mkdir $HOME/openfpm_dependencies/openfpm_pdata/$branch
if [ x"$comp_type" == x"full" ]; then if [ x"$comp_type" == x"full" ]; then
echo "Installing with: ./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -s -c \"$installation_dir\" " echo "Installing with: ./install -i $dependency_dir -s -c \"$installation_dir\" "
./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -s -c "$installation_dir" ./install -i $dependency_dir -s -c "$installation_dir"
make install make install
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
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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 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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
...@@ -73,7 +77,7 @@ if [ x"$comp_type" == x"full" ]; then ...@@ -73,7 +77,7 @@ if [ x"$comp_type" == x"full" ]; then
mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch
source $HOME/openfpm_vars_$branch source $HOME/openfpm_vars_$branch
elif [ x"$comp_type" == x"numerics" ]; then elif [ x"$comp_type" == x"numerics" ]; then
./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -m -s -c "$installation_dir" ./install -i $dependency_dir -m -s -c "$installation_dir"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
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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 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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
...@@ -83,8 +87,8 @@ elif [ x"$comp_type" == x"numerics" ]; then ...@@ -83,8 +87,8 @@ elif [ x"$comp_type" == x"numerics" ]; then
source $HOME/openfpm_vars_$branch source $HOME/openfpm_vars_$branch
make VERBOSE=1 -j 8 make VERBOSE=1 -j 8
else else
echo "Installing with: ./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -m -s -c \"$installation_dir --no-recursion\"" echo "Installing with: ./install -i $dependency_dir -m -s -c \"$installation_dir --no-recursion\""
./install -i $HOME/openfpm_dependencies/openfpm_pdata/$branch -m -s -c "$installation_dir" ./install -i $dependency_dir -m -s -c "$installation_dir"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
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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 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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
...@@ -93,9 +97,6 @@ else ...@@ -93,9 +97,6 @@ else
mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch
source $HOME/openfpm_vars_$branch source $HOME/openfpm_vars_$branch
echo "------------- DEBUGGING ------------------"
echo "$PATH"
echo "-------------------------------------------"
make VERBOSE=1 -j 8 make VERBOSE=1 -j 8
fi fi
...@@ -104,5 +105,3 @@ if [ $? -ne 0 ]; then ...@@ -104,5 +105,3 @@ if [ $? -ne 0 ]; then
exit 1 ; exit 1 ;
fi fi
openfpm_io @ a63a55e5
Subproject commit 0c0026b6fc603fcac6463768e6da0a178a3d75eb Subproject commit a63a55e5c66839e93bd30af99475b2c4c3fe1355
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