Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
8c83dd92
Commit
8c83dd92
authored
Dec 26, 2018
by
incardon
Browse files
Adding furiosa falcon
parent
e648279d
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
8c83dd92
...
...
@@ -36,6 +36,15 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
echo
"Continue"
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
dep_dir
=
$(
cat
dep_dir
)
...
...
@@ -50,21 +59,16 @@ echo "Compiling general"
source
~/.bashrc
installation_dir
=
""
if
[
x
"
$hostname
"
==
x
"sbalzarini-mac-15"
]
;
then
installation_dir
=
"--prefix=/Users/jenkins/openfpm_install"
else
installation_dir
=
"--prefix=
$HOME
/openfpm_install/
$branch
"
fi
installation_dir
=
"--prefix=
$HOME
/openfpm_install/
$branch
"
# force ssh to not use HostKey verification
echo
"StrictHostKeyChecking=no"
>
$HOME
/.ssh/config
chmod
600
$HOME
/.ssh/config
#
echo "StrictHostKeyChecking=no" > $HOME/.ssh/config
#
chmod 600 $HOME/.ssh/config
mkdir
$HOME
/openfpm_dependencies/openfpm_pdata/
$branch
if
[
x
"
$comp_type
"
==
x
"full"
]
;
then
echo
"Installing with: ./install -i
$
HOME
/openfpm_dependencies/openfpm_pdata/
$branch
-s -c
\"
$installation_dir
\"
"
./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
$
dependency_dir
-s
-c
"
$installation_dir
"
make
install
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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
...
...
@@ -73,7 +77,7 @@ if [ x"$comp_type" == x"full" ]; then
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
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
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
source
$HOME
/openfpm_vars_
$branch
make
VERBOSE
=
1
-j
8
else
echo
"Installing with: ./install -i
$
HOME
/openfpm_dependencies/openfpm_pdata/
$branch
-m -s -c
\"
$installation_dir
--no-recursion
\"
"
./install
-i
$
HOME
/openfpm_dependencies/openfpm_pdata/
$branch
-m
-s
-c
"
$installation_dir
"
echo
"Installing with: ./install -i
$
dependency_dir
-m -s -c
\"
$installation_dir
--no-recursion
\"
"
./install
-i
$
dependency_dir
-m
-s
-c
"
$installation_dir
"
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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
...
...
@@ -93,9 +97,6 @@ else
mv
$HOME
/openfpm_vars
$HOME
/openfpm_vars_
$branch
source
$HOME
/openfpm_vars_
$branch
echo
"------------- DEBUGGING ------------------"
echo
"
$PATH
"
echo
"-------------------------------------------"
make
VERBOSE
=
1
-j
8
fi
...
...
@@ -104,5 +105,3 @@ if [ $? -ne 0 ]; then
exit
1
;
fi
openfpm_io
@
a63a55e5
Subproject commit
0c0026b6fc603fcac6463768e6da0a178a3d75eb
Subproject commit
a63a55e5c66839e93bd30af99475b2c4c3fe1355
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment