Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
0706a91e
Commit
0706a91e
authored
Nov 23, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing Jenkins MPI
parent
0affe882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
build.sh
build.sh
+13
-11
No files found.
build.sh
View file @
0706a91e
...
...
@@ -3,12 +3,14 @@
# Make a directory in /tmp/openfpm_data
#
echo
"
$PATH
"
echo
"Directory:
$1
"
echo
"Machine:
$2
"
echo
"Branch:
$3
"
workspace
=
$1
hostname
=
$(
hostname
)
branch
=
$3
echo
"Directory:
$workspace
"
echo
"Machine:
$hostname
"
echo
"Branch:
$branch
"
exit
1
mkdir
/tmp/openfpm_vcluster
mv
*
.[^.]
*
/tmp/openfpm_vcluster
...
...
@@ -27,7 +29,7 @@ cd openfpm_devices
git checkout d956f9fd5bea586ee6281a483e3f0d5fa93a5415
cd
..
cd
"
$
1
/openfpm_vcluster"
cd
"
$
workspace
/openfpm_vcluster"
# install MPI and BOOST LIBHILBERT if needed
...
...
@@ -37,7 +39,7 @@ fi
if
[
!
-d
$HOME
/openfpm_dependencies/openfpm_vcluster/BOOST
]
;
then
if
[
x
"
$
2
"
==
x
"mac,"
]
;
then
if
[
x
"
$
hostname
"
==
x
"mac,"
]
;
then
echo
"Compiling for OSX"
./install_BOOST.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4 darwin
else
...
...
@@ -48,7 +50,7 @@ fi
if
[
!
-d
$HOME
/openfpm_dependencies/openfpm_vcluster/MPI
]
;
then
if
[
x
"
$
2
"
==
x
"mac,"
]
;
then
if
[
x
"
$
hostname
"
==
x
"mac,"
]
;
then
echo
"Compiling for OSX"
./install_MPI.sh
$HOME
/openfpm_dependencies/openfpm_vcluster/ 4
else
...
...
@@ -59,12 +61,12 @@ fi
export
PATH
=
"
$PATH
:
$HOME
/openfpm_dependencies/openfpm_vcluster/MPI/bin"
if
[
"
$
2
"
==
"gin"
]
;
then
if
[
"
$
hostname
"
==
"gin"
]
;
then
echo
"Compiling on gin
\n
"
module load gcc/4.9.2
module load openmpi/1.8.1
elif
[
"
$
2
"
==
"wetcluster"
]
;
then
elif
[
"
$
hostname
"
==
"wetcluster"
]
;
then
echo
"Compiling on wetcluster"
## produce the module path
...
...
@@ -86,7 +88,7 @@ exit(0)\n"
bsub
-o
output_compile.%J
-K
-n
1
-J
compile sh ./compile_script
elif
[
"
$
2
"
==
"taurus"
]
;
then
elif
[
"
$
hostname
"
==
"taurus"
]
;
then
echo
"Compiling on taurus"
echo
"
$PATH
"
...
...
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