Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
bb0bb0ea
Commit
bb0bb0ea
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing rim for pdata
parent
652139f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#966
failed
6 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+28
-23
28 additions, 23 deletions
run.sh
with
28 additions
and
23 deletions
run.sh
+
28
−
23
View file @
bb0bb0ea
...
...
@@ -2,40 +2,45 @@
# Make a directory in /tmp/OpenFPM_pdata
echo
"Directory:
$1
"
echo
"Machine:
$2
"
echo
"Num of processors:
$3
"
echo
"Branch:
$6
"
exit
1
if
[
"
$2
"
==
"gin"
]
workspace
=
$1
hostname
=
$2
nproc
=
$3
ntask_per_node
=
$5
nodes
=
$4
branch
=
$6
echo
"Directory: workspace"
echo
"Machine:
$hostname
"
echo
"Num of processors:
$nproc
"
echo
"Branch:
$branch
"
if
[
"
$hostname
"
==
"gin"
]
then
source
"
$HOME
/.bashrc"
module load gcc/4.9.2
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
\"
:
\"
$
hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
if
[
x
"
$
7
"
!=
x
""
]
;
then
source
$HOME
/openfpm_vars_
$
7
if
[
x
"
$
branch
"
!=
x
""
]
;
then
source
$HOME
/openfpm_vars_
$
branch
else
source
$HOME
/openfpm_vars_master
fi
if
[
x
"
$
3
"
==
x
"no_test"
]
;
then
if
[
x
"
$
nproc
"
==
x
"no_test"
]
;
then
exit
0
;
fi
mpirun
-np
$
3
./build/src/pdata
mpirun
-np
$
nproc
./build/src/pdata
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
\"
:
\"
$
hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
elif
[
"
$
2
"
==
"taurus"
]
elif
[
"
$
hostname
"
==
"taurus"
]
then
source
/etc/profile
...
...
@@ -44,30 +49,30 @@ then
module load openmpi/3.0.0-gnu5.5
module unload bullxmpi
if
[
x
"
$
6
"
!=
x
""
]
;
then
source
$HOME
/openfpm_vars_
$
6
if
[
x
"
$
branch
"
!=
x
""
]
;
then
source
$HOME
/openfpm_vars_
$
branch
else
source
$HOME
/openfpm_vars_master
fi
salloc
--nodes
=
$
4
--ntasks-per-node
=
$
5
--time
=
00:35:00
--mem-per-cpu
=
1900
--partition
=
haswell bash
-c
"ulimit -s unlimited && mpirun -np
$
3
src/pdata --report_level=no"
salloc
--nodes
=
$
nodes
--ntasks-per-node
=
$
nstask_per_node
--time
=
00:35:00
--mem-per-cpu
=
1900
--partition
=
haswell bash
-c
"ulimit -s unlimited && mpirun -np
$
nproc
src/pdata --report_level=no"
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
\"
:
\"
$
hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
else
echo
"Running general machine"
if
[
x
"
$
3
"
==
x
"no_test"
]
;
then
if
[
x
"
$
hostname
"
==
x
"no_test"
]
;
then
exit
0
;
fi
source
$HOME
/openfpm_vars_
$
7
source
$HOME
/openfpm_vars_
$
branch
mpirun
--oversubscribe
-np
$
4
./build/src/pdata
mpirun
--oversubscribe
-np
$
nproc
./build/src/pdata
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
\"
:
\"
$
hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
fi
fi
...
...
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