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
31d3dfba
Commit
31d3dfba
authored
May 20, 2015
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing jenkins script
parent
db15dc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
13 deletions
+29
-13
build_vcluster.sh
build_vcluster.sh
+29
-13
No files found.
build_vcluster.sh
View file @
31d3dfba
...
...
@@ -25,19 +25,6 @@ then
module load openmpi/1.8.1
fi
if
[
"
$2
"
==
"wetcluster"
]
then
echo
"Compiling on wetcluster
\n
"
module load gcc/4.9.2
module load openmpi/1.8.1
module load boost/1.54.0
COMPILE_OPTIONS
=
'--with-boost="/sw/apps/boost/1.54.0/"'
fi
sh ./autogen.sh
sh ./configure
"
$(
COMPILE_OPTIONS
)
"
CXX
=
mpic++
make
if
[
$2
==
"wetcluster"
]
then
bsub
-K
-n
2 mpirun
-np
2 ./src/vcluster
...
...
@@ -48,3 +35,32 @@ else
# mpirun -np 4 ./src/vcluster
fi
if
[
"
$2
"
==
"wetcluster"
]
then
echo
"Compiling on wetcluster"
## produce the module path
export
MODULEPATH
=
"/sw/apps/modules/modulefiles:
$MODULEPATH
"
script
=
"module load gcc/4.9.2
\n
module load openmpi/1.8.1
\n
module load boost/1.54.0
\n
compile_options='--with-boost=/sw/apps/boost/1.54.0/'
\n
\n
sh ./autogen.sh
\n
sh ./configure
\"\$
compile_options
\"
CXX=mpic++
\n
make
\n
if [
\"\$
?
\"
= "
0
" ]; then exit 1 ; fi
\n
exit(0)
\n
"
echo
$script
|
sed
-r
's/\\n/\n/g'
>
compile_script
# bsub "cd \"$1/OpenFPM_vcluster\"\n
# sh ./compile_script"
# bsub -K -n 2 mpirun -np 2 ./src/vcluster
# if [ "$?" = "0" ]; then exit 1 ; fi
fi
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