Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argupta
openfpm_pdata
Commits
3e21acef
Commit
3e21acef
authored
7 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Dependencied per branch
parent
a34deb81
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Jenkinsfile
+3
-3
3 additions, 3 deletions
Jenkinsfile
build.sh
+10
-7
10 additions, 7 deletions
build.sh
build_pdata.sh
+7
-4
7 additions, 4 deletions
build_pdata.sh
with
20 additions
and
14 deletions
Jenkinsfile
+
3
−
3
View file @
3e21acef
...
@@ -9,7 +9,7 @@ parallel (
...
@@ -9,7 +9,7 @@ parallel (
checkout
scm
checkout
scm
stage
(
'build_nyu'
)
stage
(
'build_nyu'
)
{
{
sh
"./build.sh $WORKSPACE $NODE_NAME pdata"
sh
"./build.sh $WORKSPACE $NODE_NAME pdata
env.BRANCH_NAME
"
}
}
stage
(
'run_nyu'
)
stage
(
'run_nyu'
)
...
@@ -34,7 +34,7 @@ parallel (
...
@@ -34,7 +34,7 @@ parallel (
checkout
scm
checkout
scm
stage
(
'build_sb15'
)
stage
(
'build_sb15'
)
{
{
sh
"./build.sh $WORKSPACE $NODE_NAME pdata"
sh
"./build.sh $WORKSPACE $NODE_NAME pdata
env.BRANCH_NAME
"
}
}
stage
(
'run_sb15'
)
stage
(
'run_sb15'
)
...
@@ -61,7 +61,7 @@ parallel (
...
@@ -61,7 +61,7 @@ parallel (
checkout
scm
checkout
scm
stage
(
'build_gin'
)
stage
(
'build_gin'
)
{
{
sh
"./build.sh $WORKSPACE $NODE_NAME pdata"
sh
"./build.sh $WORKSPACE $NODE_NAME pdata
env.BRANCH_NAME
"
}
}
stage
(
'run_gin'
)
stage
(
'run_gin'
)
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
10
−
7
View file @
3e21acef
...
@@ -27,13 +27,14 @@ then
...
@@ -27,13 +27,14 @@ then
echo
"Compiling on gin
\n
"
echo
"Compiling on gin
\n
"
source
~/.bashrc
source
~/.bashrc
module load gcc/4.9.2
module load gcc/4.9.2
mkdir
$HOME
/
$5
if
[
x
"
$4
"
==
x
"full"
]
;
then
if
[
x
"
$4
"
==
x
"full"
]
;
then
./install
-s
-c
"--prefix=/home/jenkins/openfpm_install"
./install
-i
$HOME
/
$5
-s
-c
"--prefix=/home/jenkins/openfpm_install"
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
./install
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install"
./install
-i
$HOME
/
$5
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install"
make
$3
make
$3
else
else
./install
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install --no-recursion"
./install
-i
$HOME
/
$5
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install --no-recursion"
make
$3
make
$3
fi
fi
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
...
@@ -83,7 +84,8 @@ then
...
@@ -83,7 +84,8 @@ then
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
./install
-m
-i
"/scratch/p_ppm/"
-s
-c
"CXX=mpic++ --no-recursion"
mkdir
/scratch/p_ppm/
$5
./install
-m
-i
"/scratch/p_ppm/
$5
"
-s
-c
"CXX=mpic++ --no-recursion"
make
$3
make
$3
source
$HOME
/openfpm_vars
source
$HOME
/openfpm_vars
...
@@ -96,13 +98,14 @@ else
...
@@ -96,13 +98,14 @@ else
echo
"Compiling general"
echo
"Compiling general"
source
~/.bashrc
source
~/.bashrc
mkdir
$HOME
/
$5
if
[
x
"
$4
"
==
x
"full"
]
;
then
if
[
x
"
$4
"
==
x
"full"
]
;
then
./install
-s
-c
"--prefix=/Users/jenkins/openfpm_install"
./install
-i
$HOME
/
$5
-s
-c
"--prefix=/Users/jenkins/openfpm_install"
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
elif
[
x
"
$3
"
==
x
"numerics"
]
;
then
./install
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install"
./install
-i
$HOME
/
$5
-m
-s
-c
"--prefix=/home/jenkins/openfpm_install"
make
$3
make
$3
else
else
./install
-m
-s
-c
"--prefix=/Users/jenkins/openfpm_install --no-recursion"
./install
-i
$HOME
/
$5
-m
-s
-c
"--prefix=/Users/jenkins/openfpm_install --no-recursion"
make
$3
make
$3
fi
fi
...
...
This diff is collapsed.
Click to expand it.
build_pdata.sh
+
7
−
4
View file @
3e21acef
...
@@ -27,7 +27,8 @@ then
...
@@ -27,7 +27,8 @@ then
echo
"Compiling on gin
\n
"
echo
"Compiling on gin
\n
"
source
~/.bashrc
source
~/.bashrc
module load gcc/4.9.2
module load gcc/4.9.2
./install
-s
-c
"--prefix=/home/jenkins/openfpm_install"
mkdir
$HOME
/
$4
./install
-i
$HOME
/
$4
-s
-c
"--prefix=/home/jenkins/openfpm_install"
make
make
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$2
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
\"
:
\"
$2
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
...
@@ -200,7 +201,8 @@ then
...
@@ -200,7 +201,8 @@ then
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
./install
-i
"/scratch/p_ppm/"
-s
-c
"CXX=mpic++"
mkdir
"/scratch/p_ppm/
$4
"
./install
-i
"/scratch/p_ppm/
$4
"
-s
-c
"CXX=mpic++"
make
make
source
$HOME
/openfpm_vars
source
$HOME
/openfpm_vars
...
@@ -242,7 +244,8 @@ then
...
@@ -242,7 +244,8 @@ then
else
else
echo
"Compiling general"
echo
"Compiling general"
source
~/.bashrc
source
~/.bashrc
./install
-s
mkdir
$HOME
/
$4
./install
-i
$HOME
/
$4
-s
make
make
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
...
@@ -264,7 +267,7 @@ else
...
@@ -264,7 +267,7 @@ else
mpirun
-np
2 ./src/pdata
mpirun
-np
2 ./src/pdata
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
curl
-X
POST
--data
"payload={
\"
icon_emoji
\"
:
\"
:jenkins:
\"
,
\"
username
\"
:
\"
jenkins
\"
,
\"
attachments
\"
:[{
\"
title
\"
:
\"
Error:
\"
,
\"
color
\"
:
\"
#FF0000
\"
,
\"
text
\"
:
\"
$2
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
\"
:
\"
$2
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
exit
1
;
fi
fi
mpirun
-np
3 ./src/pdata
mpirun
-np
3 ./src/pdata
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment