Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
c48c44ef
Commit
c48c44ef
authored
9 years ago
by
THIBAULT Samuel
Browse files
Options
Downloads
Patches
Plain Diff
Add missing MPI variables in simulation mode
parent
3bac4828
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
CMakeLists.txt
+21
-1
21 additions, 1 deletion
CMakeLists.txt
with
21 additions
and
1 deletion
CMakeLists.txt
+
21
−
1
View file @
c48c44ef
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# of Tennessee Research Foundation.
# of Tennessee Research Foundation.
# All rights reserved.
# All rights reserved.
# @copyright (c) 2012-2014 Inria. All rights reserved.
# @copyright (c) 2012-2014 Inria. All rights reserved.
# @copyright (c) 2012-201
5
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
# @copyright (c) 2012-201
6
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
#
###
###
#
#
...
@@ -543,6 +543,26 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
...
@@ -543,6 +543,26 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
set
(
MPI_C_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
"
)
set
(
MPI_C_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
"
)
list
(
APPEND MPI_C_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
/smpi"
)
list
(
APPEND MPI_C_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
/smpi"
)
endif
()
endif
()
if
(
NOT MPI_CXX_COMPILER
)
set
(
MPI_CXX_COMPILER
"
${
SIMGRID_DIR_FOUND
}
/bin/smpicxx"
)
endif
()
if
(
NOT MPI_CXX_LIBRARIES
)
set
(
MPI_CXX_LIBRARIES
"
${
SIMGRID_LIBRARIES
}
"
)
endif
()
if
(
NOT MPI_CXX_INCLUDE_PATH
)
set
(
MPI_CXX_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
"
)
list
(
APPEND MPI_CXX_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
/smpi"
)
endif
()
if
(
NOT MPI_Fortran_COMPILER
)
set
(
MPI_Fortran_COMPILER
"
${
SIMGRID_DIR_FOUND
}
/bin/smpicxx"
)
endif
()
if
(
NOT MPI_Fortran_LIBRARIES
)
set
(
MPI_Fortran_LIBRARIES
"
${
SIMGRID_LIBRARIES
}
"
)
endif
()
if
(
NOT MPI_Fortran_INCLUDE_PATH
)
set
(
MPI_Fortran_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
"
)
list
(
APPEND MPI_Fortran_INCLUDE_PATH
"
${
SIMGRID_INCLUDE_DIRS
}
/smpi"
)
endif
()
find_package
(
MPI REQUIRED
)
find_package
(
MPI REQUIRED
)
if
(
MPI_C_FOUND
)
if
(
MPI_C_FOUND
)
...
...
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