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
102b19ea
Commit
102b19ea
authored
8 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Latest modules
parent
21f9b7bb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_pdata.sh
+4
-41
4 additions, 41 deletions
build_pdata.sh
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
with
5 additions
and
42 deletions
build_pdata.sh
+
4
−
41
View file @
102b19ea
...
...
@@ -21,43 +21,6 @@ fi
mkdir
openfpm_numerics/src/config
# pull from all the projects
#cd openfpm_data
#git checkout develop
#mkdir src/config
#git pull origin develop
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
#cd openfpm_devices
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
#cd openfpm_vcluster
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
#cd openfpm_io
#mkdir src/config
#git pull origin master
#if [ $? -ne 0 ]; then
# echo -e "Configure\033[91;5;1m FAILED \033[0m"
# exit 1
#fi
#cd ..
if
[
"
$2
"
==
"gin"
]
then
...
...
@@ -152,13 +115,13 @@ then
./install
-s
-c
"--with-boost=/sw/apps/boost/1.54.0/ CXX=mpic++"
make
source
$HOME
/openfpm_vars
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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
exit
1
;
fi
source
$HOME
/openfpm_vars
## Run on the cluster
bsub
-o
output_run2.%J
-K
-n
2
-R
"span[hosts=1]"
"module load openmpi/1.8.1 ; module load gcc/4.9.2; module load boost/1.54.0; mpirun -np 2 ./src/pdata"
if
[
$?
-ne
0
]
;
then
...
...
@@ -279,8 +242,6 @@ else
./install
-s
make
source
$HOME
/openfpm_vars
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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
exit
1
;
...
...
@@ -290,6 +251,8 @@ else
exit
0
;
fi
source
$HOME
/openfpm_vars
mpirun
-np
1 ./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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
...
...
This diff is collapsed.
Click to expand it.
openfpm_numerics
@
278d9a8b
Subproject commit
a78247a032edd600da9496bed1cfcc6fa5915931
Subproject commit
278d9a8bc1ec3ebff8c97ee016b2508cf215befb
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