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
a0d9a348
Commit
a0d9a348
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing MPI machines run
parent
bf0aae51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+11
-1
11 additions, 1 deletion
run.sh
with
11 additions
and
1 deletion
run.sh
+
11
−
1
View file @
a0d9a348
...
...
@@ -14,6 +14,16 @@ echo "Machine: $hostname"
echo
"Num of processors:
$nproc
"
echo
"Branch:
$branch
"
if
[
x
"
$hostname
"
==
x
"cifarm-mac-node.mpi-cbg.de"
]
;
then
mpi_options
=
"--oversubscribe"
fi
if
[
x
"
$hostname
"
==
x
"cifarm-ubuntu-node.mpi-cbg.de"
]
;
then
mpi_options
=
"--mca btl self,vader"
fi
if
[
"
$hostname
"
==
"gin"
]
then
source
"
$HOME
/.bashrc"
...
...
@@ -70,7 +80,7 @@ else
source
$HOME
/openfpm_vars_
$branch
mpirun
--oversubscribe
--mca
btl self,vader
-np
$nproc
./build/src/pdata
mpirun
$mpi_options
-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
\"
:
\"
$hostname
failed to complete the openfpm_pdata test
\"
}] }"
https://hooks.slack.com/services/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
exit
1
;
...
...
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