Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
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
Container Registry
Model registry
Operate
Environments
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
multiscale
lammps
Commits
95eb86d6
Commit
95eb86d6
authored
6 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
Need to use MPI_CXX_INCLUDE_PATH instead of MPI_C_INCLUDE_PATH on Fedora 28 with cmake 3.11
parent
d43c5562
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/CMakeLists.txt
+2
-2
2 additions, 2 deletions
cmake/CMakeLists.txt
with
2 additions
and
2 deletions
cmake/CMakeLists.txt
+
2
−
2
View file @
95eb86d6
...
...
@@ -66,7 +66,7 @@ find_package(MPI QUIET)
option
(
BUILD_MPI
"Build MPI version"
${
MPI_FOUND
}
)
if
(
BUILD_MPI
)
find_package
(
MPI REQUIRED
)
include_directories
(
${
MPI_C_INCLUDE_PATH
}
)
include_directories
(
${
MPI_C
XX
_INCLUDE_PATH
}
)
list
(
APPEND LAMMPS_LINK_LIBS
${
MPI_CXX_LIBRARIES
}
)
option
(
LAMMPS_LONGLONG_TO_LONG
"Workaround if your system or MPI version does not recognize 'long long' data types"
OFF
)
if
(
LAMMPS_LONGLONG_TO_LONG
)
...
...
@@ -833,7 +833,7 @@ else()
endif
()
message
(
STATUS
"Link libraries:
${
LAMMPS_LINK_LIBS
}
"
)
if
(
BUILD_MPI
)
message
(
STATUS
"Using mpi with headers in
${
MPI_C_INCLUDE_PATH
}
and
${
MPI_CXX_LIBRARIES
}
"
)
message
(
STATUS
"Using mpi with headers in
${
MPI_C
XX
_INCLUDE_PATH
}
and
${
MPI_CXX_LIBRARIES
}
"
)
endif
()
if
(
ENABLED_GPU
)
message
(
STATUS
"GPU Api:
${
GPU_API
}
"
)
...
...
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