Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
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
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_pdata
Commits
45074ce2
Commit
45074ce2
authored
Jan 02, 2019
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing MPI vendor when is openmpi
parent
3cc87824
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
script/pre_req
script/pre_req
+2
-0
script/set_mpi
script/set_mpi
+5
-1
No files found.
script/pre_req
View file @
45074ce2
...
...
@@ -175,6 +175,7 @@ if [ -d "$i_dir/MPI" ]; then
export
PATH
=
"
$i_dir
/MPI/bin:
$PATH
"
fi
is_mpi_openmpi
=
0
MPI_valid
=
no
if
haveProg mpirun
;
then
...
...
@@ -188,6 +189,7 @@ if haveProg mpirun; then
if
[
x
"
$version
"
==
x
"openmpi"
]
;
then
is_mpi_openmpi
=
1
# Check if we are compiling with GPU support
if
[
x
"
$gpu_support
"
==
x
"1"
]
;
then
...
...
script/set_mpi
View file @
45074ce2
...
...
@@ -3,7 +3,11 @@
function
set_mpi
()
{
if
[
x
"
$MPI_valid
"
==
x
"yes"
]
;
then
configure_options
=
"
$configure_options
CXX=mpic++ "
if
[
is_mpi_openmpi
-eq
1
]
;
then
configure_options
=
"
$configure_options
CXX=mpic++ --mpivendor=openmpi"
else
configure_options
=
"
$configure_options
CXX=mpic++ "
fi
else
if
[
$call_test_working_mpi_options
-eq
1
]
;
then
test_working_mpi_options
...
...
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