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
45074ce2
Commit
45074ce2
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing MPI vendor when is openmpi
parent
3cc87824
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
script/pre_req
+2
-0
2 additions, 0 deletions
script/pre_req
script/set_mpi
+5
-1
5 additions, 1 deletion
script/set_mpi
with
7 additions
and
1 deletion
script/pre_req
+
2
−
0
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
...
...
This diff is collapsed.
Click to expand it.
script/set_mpi
+
5
−
1
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
...
...
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