Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
c63e7592
Commit
c63e7592
authored
7 years ago
by
Atkins, Charles Vernon
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #280 from chuckatkins/fix-zmq-cmake-config
Fix zmq cmake config
parents
5fea12e6
0f43bded
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+5
-3
5 additions, 3 deletions
CMakeLists.txt
cmake/ADIOSFunctions.cmake
+9
-0
9 additions, 0 deletions
cmake/ADIOSFunctions.cmake
source/adios2/ADIOSConfig.h.in
+2
-27
2 additions, 27 deletions
source/adios2/ADIOSConfig.h.in
with
16 additions
and
30 deletions
CMakeLists.txt
+
5
−
3
View file @
c63e7592
...
@@ -99,8 +99,10 @@ if(ADIOS2_HAVE_MPI)
...
@@ -99,8 +99,10 @@ if(ADIOS2_HAVE_MPI)
add_definitions
(
-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX
)
add_definitions
(
-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX
)
endif
()
endif
()
GenerateADIOSHeaderConfig
(
MPI ZFP BZip2 ADIOS1 HDF5 DataMan Python Fortran
set
(
ADIOS2_CONFIG_OPTS
SysVShMem
)
BZip2 ZFP MPI DataMan ZeroMQ HDF5 ADIOS1 Python Fortran SysVShMem
)
GenerateADIOSHeaderConfig
(
${
ADIOS2_CONFIG_OPTS
}
)
install
(
FILES
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h
install
(
FILES
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/adios2
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/adios2
...
@@ -188,7 +190,7 @@ message(" Build Type: ${CMAKE_BUILD_TYPE}")
...
@@ -188,7 +190,7 @@ message(" Build Type: ${CMAKE_BUILD_TYPE}")
message
(
" Testing:
${
BUILD_TESTING
}
"
)
message
(
" Testing:
${
BUILD_TESTING
}
"
)
message
(
" Build Options:"
)
message
(
" Build Options:"
)
foreach
(
opt
BZip2 ZFP MPI DataMan ZeroMQ HDF5 ADIOS1 Python Fortran SysVShMem
)
foreach
(
opt
IN LISTS ADIOS2_CONFIG_OPTS
)
message_pad
(
"
${
opt
}
"
15 label
)
message_pad
(
"
${
opt
}
"
15 label
)
if
(
${
ADIOS2_HAVE_
${
opt
}}
)
if
(
${
ADIOS2_HAVE_
${
opt
}}
)
message
(
"
${
label
}
: ON"
)
message
(
"
${
label
}
: ON"
)
...
...
This diff is collapsed.
Click to expand it.
cmake/ADIOSFunctions.cmake
+
9
−
0
View file @
c63e7592
...
@@ -40,8 +40,13 @@ function(python_add_test)
...
@@ -40,8 +40,13 @@ function(python_add_test)
endfunction
()
endfunction
()
function
(
GenerateADIOSHeaderConfig
)
function
(
GenerateADIOSHeaderConfig
)
set
(
ADIOS2_CONFIG_DEFINES
)
foreach
(
OPT IN LISTS ARGN
)
foreach
(
OPT IN LISTS ARGN
)
string
(
TOUPPER
${
OPT
}
OPT_UPPER
)
string
(
TOUPPER
${
OPT
}
OPT_UPPER
)
string
(
APPEND ADIOS2_CONFIG_DEFINES
"
/* CMake Option: ADIOS_USE_
${
OPT
}
=OFF */
#cmakedefine ADIOS2_HAVE_
${
OPT_UPPER
}
"
)
if
(
ADIOS2_HAVE_
${
OPT
}
)
if
(
ADIOS2_HAVE_
${
OPT
}
)
set
(
ADIOS2_HAVE_
${
OPT_UPPER
}
1
)
set
(
ADIOS2_HAVE_
${
OPT_UPPER
}
1
)
else
()
else
()
...
@@ -51,6 +56,10 @@ function(GenerateADIOSHeaderConfig)
...
@@ -51,6 +56,10 @@ function(GenerateADIOSHeaderConfig)
configure_file
(
configure_file
(
${
ADIOS2_SOURCE_DIR
}
/source/adios2/ADIOSConfig.h.in
${
ADIOS2_SOURCE_DIR
}
/source/adios2/ADIOSConfig.h.in
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h.in
)
configure_file
(
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h.in
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h
${
ADIOS2_BINARY_DIR
}
/source/adios2/ADIOSConfig.h
)
)
endfunction
()
endfunction
()
...
...
This diff is collapsed.
Click to expand it.
source/adios2/ADIOSConfig.h.in
+
2
−
27
View file @
c63e7592
...
@@ -24,33 +24,8 @@
...
@@ -24,33 +24,8 @@
* Id: @CMAKE_Fortran_COMPILER_ID@ @CMAKE_CXX_COMPILER_VERSION@
* Id: @CMAKE_Fortran_COMPILER_ID@ @CMAKE_CXX_COMPILER_VERSION@
*/
*/
/* CMake Option: ADIOS_USE_MPI=OFF */
/* Everything past this line is programatically generated */
#cmakedefine ADIOS2_HAVE_MPI
/* CMake Option: ADIOS_USE_ZFP=ON */
@ADIOS2_CONFIG_DEFINES@
#cmakedefine ADIOS2_HAVE_ZFP
/* CMake Option: ADIOS_USE_BZip2=ON */
#cmakedefine ADIOS2_HAVE_BZIP2
/* CMake Option: ADIOS_USE_ADIOS1=ON */
#cmakedefine ADIOS2_HAVE_ADIOS1
/* CMake Option: ADIOS_USE_HDF5=ON */
#cmakedefine ADIOS2_HAVE_HDF5
/* CMake Option: ADIOS_USE_ZeroMQ=ON */
#cmakedefine ADIOS2_HAVE_ZEROMQ
/* CMake Option: ADIOS_USE_SysVShMem=ON */
#cmakedefine ADIOS2_HAVE_SYSVSHMEM
/* Optional Language Bindings: */
/* CMake Option: ADIOS_USE_Python=ON */
#cmakedefine ADIOS2_HAVE_PYTHON
/* CMake Option: ADIOS_USE_Fortran=ON */
#cmakedefine ADIOS2_HAVE_FORTRAN
#endif /* ADIOSCONFIG_H_ */
#endif /* ADIOSCONFIG_H_ */
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