Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_numerics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_numerics
Commits
68d14b13
Commit
68d14b13
authored
1 year ago
by
yaskovet
Browse files
Options
Downloads
Plain Diff
Merge branch 'install_refactor' into develop
parents
6315de73
ecf0352d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+0
-11
0 additions, 11 deletions
CMakeLists.txt
with
0 additions
and
11 deletions
CMakeLists.txt
+
0
−
11
View file @
68d14b13
...
...
@@ -96,21 +96,18 @@ endif()
if
(
METIS_FOUND
)
set
(
DEFINE_HAVE_METIS
"#define HAVE_METIS 1"
)
else
()
file
(
WRITE error_code
"201"
)
message
(
FATAL_ERROR
"Metis is required in order to install OpenFPM"
)
endif
()
if
(
PARMETIS_FOUND
)
set
(
DEFINE_HAVE_PARMETIS
"#define HAVE_PARMETIS 1"
)
else
()
file
(
WRITE error_code
"208"
)
message
(
FATAL_ERROR
"ParMetis is required in order to install OpenFPM"
)
endif
()
if
(
MPI_FOUND
)
set
(
DEFINE_HAVE_MPI
"#define HAVE_MPI"
)
else
()
file
(
WRITE error_code
"200"
)
message
(
FATAL_ERROR
"MPI is required in order to install OpenFPM"
)
endif
()
...
...
@@ -122,11 +119,9 @@ if(HDF5_FOUND)
if
(
HDF5_IS_PARALLEL
)
set
(
DEFINE_HAVE_HDF5
"#define HAVE_HDF5"
)
else
()
file
(
WRITE error_code
"207"
)
message
(
FATAL_ERROR
"HDF5 found
${
HDF5_INCLUDE_DIRS
}
does not have parallel support, OpenFPM require it"
)
endif
()
else
()
file
(
WRITE error_code
"207"
)
message
(
FATAL_ERROR
"HDF5 with parallel support is required in order to install OpenFPM"
)
endif
()
...
...
@@ -142,7 +137,6 @@ endif()
if
(
LIBHILBERT_FOUND
)
set
(
DEFINE_HAVE_LIBHILBERT
"#define HAVE_LIBHILBERT 1"
)
else
()
file
(
WRITE error_code
"210"
)
message
(
FATAL_ERROR
"LibHilbert is required in order to install OpenFPM"
)
endif
()
...
...
@@ -184,11 +178,6 @@ ExternalProject_Add(
)
file
(
WRITE error_code
"0"
)
file
(
WRITE cuda_lib
"
${
CUDA_cudart_static_LIBRARY
}
${
CUDA_cudadevrt_LIBRARY
}
"
)
file
(
WRITE mpi_include
"-I
${
MPI_C_INCLUDE_DIRS
}
"
)
file
(
WRITE mpi_libs
"
${
MPI_C_LINK_FLAGS
}
${
MPI_C_LIBRARIES
}
"
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/config/config_cmake.h.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/config/config.h
)
if
(
CUDA_ON_BACKEND STREQUAL
"CUDA"
)
...
...
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