Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
sensei
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sensei
sensei
Commits
3d66d374
Commit
3d66d374
authored
Nov 01, 2019
by
Burlen Loring
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sensei_3_development' into 'master'
Sensei 3 development See merge request
!152
parents
e6211627
30d7af2b
Changes
235
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
235 changed files
with
49161 additions
and
10238 deletions
+49161
-10238
CMake/FindADIOS1.cmake
CMake/FindADIOS1.cmake
+86
-86
CMake/FindLIBSIM.cmake
CMake/FindLIBSIM.cmake
+1
-1
CMake/SENSEIConfig.cmake.in
CMake/SENSEIConfig.cmake.in
+7
-5
CMake/adios.cmake
CMake/adios.cmake
+9
-9
CMake/catalyst.cmake
CMake/catalyst.cmake
+34
-10
CMake/hdf5.cmake
CMake/hdf5.cmake
+14
-0
CMake/mpi.cmake
CMake/mpi.cmake
+12
-1
CMake/options.cmake
CMake/options.cmake
+18
-5
CMake/python.cmake
CMake/python.cmake
+4
-21
CMake/testing.cmake
CMake/testing.cmake
+3
-0
CMake/vtk.cmake
CMake/vtk.cmake
+64
-16
CMakeLists.txt
CMakeLists.txt
+5
-1
README.md
README.md
+17
-13
configs/3dgrid.xml
configs/3dgrid.xml
+4
-4
configs/mandelbrot.xml
configs/mandelbrot.xml
+40
-0
configs/newton.xml
configs/newton.xml
+1
-1
configs/oscillator.xml
configs/oscillator.xml
+7
-5
configs/slice_extract.xml
configs/slice_extract.xml
+18
-0
configs/vortex.xml
configs/vortex.xml
+37
-0
configs/vortex_3d.session
configs/vortex_3d.session
+5809
-0
configs/vortex_slice.session
configs/vortex_slice.session
+5824
-0
doc/content/develop/testing.md
doc/content/develop/testing.md
+5
-5
endpoints/CMakeLists.txt
endpoints/CMakeLists.txt
+11
-5
endpoints/PosthocIOEndPoint.cxx
endpoints/PosthocIOEndPoint.cxx
+0
-137
endpoints/SENSEIEndPoint.cpp
endpoints/SENSEIEndPoint.cpp
+123
-0
miniapps/CMakeLists.txt
miniapps/CMakeLists.txt
+14
-8
miniapps/mandelbrot/CMakeLists.txt
miniapps/mandelbrot/CMakeLists.txt
+12
-0
miniapps/mandelbrot/MandelbrotDataAdaptor.cpp
miniapps/mandelbrot/MandelbrotDataAdaptor.cpp
+417
-0
miniapps/mandelbrot/MandelbrotDataAdaptor.h
miniapps/mandelbrot/MandelbrotDataAdaptor.h
+49
-0
miniapps/mandelbrot/mandelbrot.cpp
miniapps/mandelbrot/mandelbrot.cpp
+695
-0
miniapps/mandelbrot/mandelbrot.ui
miniapps/mandelbrot/mandelbrot.ui
+133
-0
miniapps/mandelbrot/patch.cpp
miniapps/mandelbrot/patch.cpp
+727
-0
miniapps/mandelbrot/patch.h
miniapps/mandelbrot/patch.h
+58
-0
miniapps/mandelbrot/simulation_data.cpp
miniapps/mandelbrot/simulation_data.cpp
+28
-0
miniapps/mandelbrot/simulation_data.h
miniapps/mandelbrot/simulation_data.h
+30
-0
miniapps/mandelbrot/testing/CMakeLists.txt
miniapps/mandelbrot/testing/CMakeLists.txt
+52
-0
miniapps/mandelbrot/testing/mandelbrot_catalyst.py
miniapps/mandelbrot/testing/mandelbrot_catalyst.py
+234
-0
miniapps/mandelbrot/testing/mandelbrot_catalyst.xml.in
miniapps/mandelbrot/testing/mandelbrot_catalyst.xml.in
+4
-0
miniapps/mandelbrot/testing/mandelbrot_histogram.xml
miniapps/mandelbrot/testing/mandelbrot_histogram.xml
+4
-0
miniapps/mandelbrot/testing/mandelbrot_libsim.session
miniapps/mandelbrot/testing/mandelbrot_libsim.session
+5422
-0
miniapps/mandelbrot/testing/mandelbrot_libsim.xml.in
miniapps/mandelbrot/testing/mandelbrot_libsim.xml.in
+7
-0
miniapps/mandelbrot/testing/mandelbrot_vtkwriter.xml
miniapps/mandelbrot/testing/mandelbrot_vtkwriter.xml
+15
-0
miniapps/newton/newton.py
miniapps/newton/newton.py
+31
-19
miniapps/nyx/nyx_sensei_bridge.cpp
miniapps/nyx/nyx_sensei_bridge.cpp
+0
-109
miniapps/nyx/nyx_sensei_bridge.h
miniapps/nyx/nyx_sensei_bridge.h
+0
-27
miniapps/nyx/nyx_sensei_dataadaptor.cpp
miniapps/nyx/nyx_sensei_dataadaptor.cpp
+0
-304
miniapps/nyx/nyx_sensei_dataadaptor.h
miniapps/nyx/nyx_sensei_dataadaptor.h
+0
-71
miniapps/oscillators/Block.cpp
miniapps/oscillators/Block.cpp
+9
-3
miniapps/oscillators/Block.h
miniapps/oscillators/Block.h
+6
-13
miniapps/oscillators/CMakeLists.txt
miniapps/oscillators/CMakeLists.txt
+2
-2
miniapps/oscillators/DataAdaptor.cpp
miniapps/oscillators/DataAdaptor.cpp
+575
-489
miniapps/oscillators/DataAdaptor.h
miniapps/oscillators/DataAdaptor.h
+14
-20
miniapps/oscillators/Particles.h
miniapps/oscillators/Particles.h
+10
-12
miniapps/oscillators/bridge.cpp
miniapps/oscillators/bridge.cpp
+36
-43
miniapps/oscillators/bridge.h
miniapps/oscillators/bridge.h
+6
-12
miniapps/oscillators/inputs/generate_input
miniapps/oscillators/inputs/generate_input
+100
-0
miniapps/oscillators/main.cpp
miniapps/oscillators/main.cpp
+73
-54
miniapps/oscillators/testing/CMakeLists.txt
miniapps/oscillators/testing/CMakeLists.txt
+80
-12
miniapps/oscillators/testing/oscillator_autocorrelation.xml
miniapps/oscillators/testing/oscillator_autocorrelation.xml
+4
-0
miniapps/oscillators/testing/oscillator_catalyst.py
miniapps/oscillators/testing/oscillator_catalyst.py
+189
-0
miniapps/oscillators/testing/oscillator_catalyst.xml.in
miniapps/oscillators/testing/oscillator_catalyst.xml.in
+4
-0
miniapps/oscillators/testing/oscillator_histogram.xml
miniapps/oscillators/testing/oscillator_histogram.xml
+4
-0
miniapps/oscillators/testing/oscillator_libsim.session
miniapps/oscillators/testing/oscillator_libsim.session
+5491
-0
miniapps/oscillators/testing/oscillator_libsim.xml.in
miniapps/oscillators/testing/oscillator_libsim.xml.in
+10
-0
miniapps/oscillators/testing/oscillator_vtkwriter.xml
miniapps/oscillators/testing/oscillator_vtkwriter.xml
+15
-0
miniapps/oscillators/testing/simple.osc
miniapps/oscillators/testing/simple.osc
+6
-0
miniapps/parallel3d/Bridge.cxx
miniapps/parallel3d/Bridge.cxx
+0
-58
miniapps/parallel3d/Bridge.h
miniapps/parallel3d/Bridge.h
+0
-29
miniapps/parallel3d/CMakeLists.txt
miniapps/parallel3d/CMakeLists.txt
+0
-16
miniapps/parallel3d/DataAdaptor.cxx
miniapps/parallel3d/DataAdaptor.cxx
+0
-245
miniapps/parallel3d/DataAdaptor.h
miniapps/parallel3d/DataAdaptor.h
+0
-78
miniapps/parallel3d/README.md
miniapps/parallel3d/README.md
+0
-20
miniapps/parallel3d/histogram.cpp
miniapps/parallel3d/histogram.cpp
+0
-49
miniapps/parallel3d/histogram.h
miniapps/parallel3d/histogram.h
+0
-15
miniapps/parallel3d/parallel3d.c
miniapps/parallel3d/parallel3d.c
+0
-449
miniapps/vortex/CMakeLists.txt
miniapps/vortex/CMakeLists.txt
+10
-0
miniapps/vortex/VortexDataAdaptor.cpp
miniapps/vortex/VortexDataAdaptor.cpp
+390
-0
miniapps/vortex/VortexDataAdaptor.h
miniapps/vortex/VortexDataAdaptor.h
+43
-0
miniapps/vortex/patch.cpp
miniapps/vortex/patch.cpp
+849
-0
miniapps/vortex/patch.h
miniapps/vortex/patch.h
+67
-0
miniapps/vortex/run_vortex.sh
miniapps/vortex/run_vortex.sh
+13
-0
miniapps/vortex/simulation_data.cpp
miniapps/vortex/simulation_data.cpp
+87
-0
miniapps/vortex/simulation_data.h
miniapps/vortex/simulation_data.h
+55
-0
miniapps/vortex/vortex.cpp
miniapps/vortex/vortex.cpp
+818
-0
python/senseiDataAdaptor.i
python/senseiDataAdaptor.i
+0
-22
python/senseiPyDataAdaptor.h
python/senseiPyDataAdaptor.h
+44
-35
python/senseiPyInteger.h
python/senseiPyInteger.h
+34
-0
python/senseiPyObject.h
python/senseiPyObject.h
+35
-15
python/senseiPySequence.h
python/senseiPySequence.h
+2
-1
python/senseiPyString.h
python/senseiPyString.h
+20
-0
python/senseiPython.i
python/senseiPython.i
+30
-127
python/senseiSTL.i
python/senseiSTL.i
+22
-0
sensei/ADIOS1AnalysisAdaptor.cxx
sensei/ADIOS1AnalysisAdaptor.cxx
+294
-0
sensei/ADIOS1AnalysisAdaptor.h
sensei/ADIOS1AnalysisAdaptor.h
+24
-30
sensei/ADIOS1DataAdaptor.cxx
sensei/ADIOS1DataAdaptor.cxx
+331
-0
sensei/ADIOS1DataAdaptor.h
sensei/ADIOS1DataAdaptor.h
+75
-0
sensei/ADIOS1Schema.cxx
sensei/ADIOS1Schema.cxx
+3178
-0
sensei/ADIOS1Schema.h
sensei/ADIOS1Schema.h
+121
-0
sensei/ADIOSDataAdaptor.cxx
sensei/ADIOSDataAdaptor.cxx
+0
-529
sensei/ADIOSDataAdaptor.h
sensei/ADIOSDataAdaptor.h
+0
-189
sensei/ADIOSSchema.cxx
sensei/ADIOSSchema.cxx
+0
-3072
sensei/ADIOSSchema.h
sensei/ADIOSSchema.h
+0
-404
sensei/AnalysisAdaptor.cxx
sensei/AnalysisAdaptor.cxx
+1
-1
sensei/AnalysisAdaptor.h
sensei/AnalysisAdaptor.h
+5
-0
sensei/Autocorrelation.cxx
sensei/Autocorrelation.cxx
+38
-18
sensei/BinaryStream.cxx
sensei/BinaryStream.cxx
+150
-0
sensei/BinaryStream.h
sensei/BinaryStream.h
+286
-0
sensei/BlockPartitioner.cxx
sensei/BlockPartitioner.cxx
+38
-0
sensei/BlockPartitioner.h
sensei/BlockPartitioner.h
+36
-0
sensei/CMakeLists.txt
sensei/CMakeLists.txt
+22
-9
sensei/CatalystAnalysisAdaptor.cxx
sensei/CatalystAnalysisAdaptor.cxx
+73
-74
sensei/CatalystAnalysisAdaptor.h
sensei/CatalystAnalysisAdaptor.h
+9
-6
sensei/CatalystParticle.cxx
sensei/CatalystParticle.cxx
+5
-2
sensei/CatalystSlice.cxx
sensei/CatalystSlice.cxx
+5
-8
sensei/CatalystSlice.h
sensei/CatalystSlice.h
+0
-1
sensei/CinemaHelper.cxx
sensei/CinemaHelper.cxx
+1
-1
sensei/ConduitDataAdaptor.cxx
sensei/ConduitDataAdaptor.cxx
+0
-1
sensei/ConfigurableAnalysis.cxx
sensei/ConfigurableAnalysis.cxx
+297
-133
sensei/ConfigurableAnalysis.h
sensei/ConfigurableAnalysis.h
+7
-4
sensei/ConfigurableInTransitDataAdaptor.cxx
sensei/ConfigurableInTransitDataAdaptor.cxx
+432
-0
sensei/ConfigurableInTransitDataAdaptor.h
sensei/ConfigurableInTransitDataAdaptor.h
+115
-0
sensei/ConfigurablePartitioner.cxx
sensei/ConfigurablePartitioner.cxx
+103
-0
sensei/ConfigurablePartitioner.h
sensei/ConfigurablePartitioner.h
+51
-0
sensei/DataAdaptor.cxx
sensei/DataAdaptor.cxx
+25
-214
sensei/DataAdaptor.h
sensei/DataAdaptor.h
+30
-132
sensei/DataAdaptor.i
sensei/DataAdaptor.i
+318
-0
sensei/DataRequirements.cxx
sensei/DataRequirements.cxx
+36
-24
sensei/DataRequirements.h
sensei/DataRequirements.h
+7
-2
sensei/HDF5AnalysisAdaptor.cxx
sensei/HDF5AnalysisAdaptor.cxx
+294
-0
sensei/HDF5AnalysisAdaptor.h
sensei/HDF5AnalysisAdaptor.h
+85
-0
sensei/HDF5DataAdaptor.cxx
sensei/HDF5DataAdaptor.cxx
+328
-0
sensei/HDF5DataAdaptor.h
sensei/HDF5DataAdaptor.h
+86
-0
sensei/HDF5Schema.cxx
sensei/HDF5Schema.cxx
+2481
-0
sensei/HDF5Schema.h
sensei/HDF5Schema.h
+541
-0
sensei/Histogram.cxx
sensei/Histogram.cxx
+37
-19
sensei/Histogram.py
sensei/Histogram.py
+1
-1
sensei/InTransitAdaptorFactory.cxx
sensei/InTransitAdaptorFactory.cxx
+100
-0
sensei/InTransitAdaptorFactory.h
sensei/InTransitAdaptorFactory.h
+57
-0
sensei/InTransitDataAdaptor.cxx
sensei/InTransitDataAdaptor.cxx
+114
-0
sensei/InTransitDataAdaptor.h
sensei/InTransitDataAdaptor.h
+97
-0
sensei/IsoSurfacePartitioner.cxx
sensei/IsoSurfacePartitioner.cxx
+180
-0
sensei/IsoSurfacePartitioner.h
sensei/IsoSurfacePartitioner.h
+57
-0
sensei/LibsimAnalysisAdaptor.cxx
sensei/LibsimAnalysisAdaptor.cxx
+777
-912
sensei/LibsimAnalysisAdaptor.h
sensei/LibsimAnalysisAdaptor.h
+10
-2
sensei/MPIManager.cxx
sensei/MPIManager.cxx
+67
-0
sensei/MPIManager.h
sensei/MPIManager.h
+34
-0
sensei/MPIUtils.h
sensei/MPIUtils.h
+322
-0
sensei/MappedPartitioner.cxx
sensei/MappedPartitioner.cxx
+75
-0
sensei/MappedPartitioner.h
sensei/MappedPartitioner.h
+59
-0
sensei/MemoryProfiler.cxx
sensei/MemoryProfiler.cxx
+971
-0
sensei/MemoryProfiler.h
sensei/MemoryProfiler.h
+18
-16
sensei/MeshMetadata.cxx
sensei/MeshMetadata.cxx
+413
-0
sensei/MeshMetadata.h
sensei/MeshMetadata.h
+194
-97
sensei/MeshMetadataMap.cxx
sensei/MeshMetadataMap.cxx
+115
-0
sensei/MeshMetadataMap.h
sensei/MeshMetadataMap.h
+53
-0
sensei/Partitioner.h
sensei/Partitioner.h
+56
-0
sensei/PlanarPartitioner.cxx
sensei/PlanarPartitioner.cxx
+45
-0
sensei/PlanarPartitioner.h
sensei/PlanarPartitioner.h
+50
-0
sensei/PlanarSlicePartitioner.cxx
sensei/PlanarSlicePartitioner.cxx
+170
-0
sensei/PlanarSlicePartitioner.h
sensei/PlanarSlicePartitioner.h
+52
-0
sensei/Profiler.cxx
sensei/Profiler.cxx
+524
-0
sensei/Profiler.h
sensei/Profiler.h
+199
-0
sensei/ProgrammableDataAdaptor.cxx
sensei/ProgrammableDataAdaptor.cxx
+10
-56
sensei/ProgrammableDataAdaptor.h
sensei/ProgrammableDataAdaptor.h
+12
-59
sensei/PythonAnalysis.cxx
sensei/PythonAnalysis.cxx
+3
-1
sensei/PythonAnalysis.i
sensei/PythonAnalysis.i
+2
-181
sensei/STLUtils.h
sensei/STLUtils.h
+154
-0
sensei/SliceExtract.cxx
sensei/SliceExtract.cxx
+586
-0
sensei/SliceExtract.h
sensei/SliceExtract.h
+100
-0
sensei/VTKAmrWriter.cxx
sensei/VTKAmrWriter.cxx
+25
-12
sensei/VTKAmrWriter.h
sensei/VTKAmrWriter.h
+0
-2
sensei/VTKDataAdaptor.cxx
sensei/VTKDataAdaptor.cxx
+51
-6
sensei/VTKDataAdaptor.h
sensei/VTKDataAdaptor.h
+6
-37
sensei/VTKHistogram.cxx
sensei/VTKHistogram.cxx
+0
-1
sensei/VTKPosthocIO.cxx
sensei/VTKPosthocIO.cxx
+79
-80
sensei/VTKPosthocIO.h
sensei/VTKPosthocIO.h
+7
-3
sensei/VTKUtils.cxx
sensei/VTKUtils.cxx
+987
-6
sensei/VTKUtils.h
sensei/VTKUtils.h
+87
-0
sensei/VTKmCDFAnalysis.cxx
sensei/VTKmCDFAnalysis.cxx
+6
-6
sensei/VTKmContourAnalysis.cxx
sensei/VTKmContourAnalysis.cxx
+2
-3
sensei/VTKmVolumeReductionAnalysis.cxx
sensei/VTKmVolumeReductionAnalysis.cxx
+6
-6
sensei/XMLUtils.cxx
sensei/XMLUtils.cxx
+103
-0
sensei/XMLUtils.h
sensei/XMLUtils.h
+110
-0
sensei/testing/CMakeLists.txt
sensei/testing/CMakeLists.txt
+86
-20
sensei/testing/catalyst_render_partition.xml.in
sensei/testing/catalyst_render_partition.xml.in
+9
-0
sensei/testing/catalyst_render_receiver_partition.py
sensei/testing/catalyst_render_receiver_partition.py
+337
-0
sensei/testing/catalyst_render_sender_partition.py
sensei/testing/catalyst_render_sender_partition.py
+338
-0
sensei/testing/histogram.xml
sensei/testing/histogram.xml
+4
-0
sensei/testing/read_adios1_bp_block.xml
sensei/testing/read_adios1_bp_block.xml
+5
-0
sensei/testing/read_adios1_bp_default.xml
sensei/testing/read_adios1_bp_default.xml
+3
-0
sensei/testing/read_adios1_bp_mapped_checker.xml
sensei/testing/read_adios1_bp_mapped_checker.xml
+8
-0
sensei/testing/read_adios1_bp_mapped_checker_subset.xml
sensei/testing/read_adios1_bp_mapped_checker_subset.xml
+8
-0
sensei/testing/read_adios1_bp_mapped_ring.xml
sensei/testing/read_adios1_bp_mapped_ring.xml
+8
-0
sensei/testing/read_adios1_bp_planar_1.xml
sensei/testing/read_adios1_bp_planar_1.xml
+5
-0
sensei/testing/read_adios1_bp_planar_2.xml
sensei/testing/read_adios1_bp_planar_2.xml
+5
-0
sensei/testing/read_adios1_bp_planar_3.xml
sensei/testing/read_adios1_bp_planar_3.xml
+5
-0
sensei/testing/read_adios1_flexpath_block.xml
sensei/testing/read_adios1_flexpath_block.xml
+5
-0
sensei/testing/read_adios1_flexpath_default.xml
sensei/testing/read_adios1_flexpath_default.xml
+3
-0
sensei/testing/read_adios1_flexpath_mapped_checker.xml
sensei/testing/read_adios1_flexpath_mapped_checker.xml
+8
-0
sensei/testing/read_adios1_flexpath_mapped_ring.xml
sensei/testing/read_adios1_flexpath_mapped_ring.xml
+8
-0
sensei/testing/read_adios1_flexpath_planar_1.xml
sensei/testing/read_adios1_flexpath_planar_1.xml
+5
-0
sensei/testing/read_adios1_flexpath_planar_2.xml
sensei/testing/read_adios1_flexpath_planar_2.xml
+5
-0
sensei/testing/read_adios1_flexpath_planar_3.xml
sensei/testing/read_adios1_flexpath_planar_3.xml
+5
-0
sensei/testing/read_h5_block.xml
sensei/testing/read_h5_block.xml
+5
-0
sensei/testing/read_h5_default.xml
sensei/testing/read_h5_default.xml
+3
-0
sensei/testing/read_h5_mapped_checker.xml
sensei/testing/read_h5_mapped_checker.xml
+8
-0
sensei/testing/read_h5_mapped_checker_subset.xml
sensei/testing/read_h5_mapped_checker_subset.xml
+8
-0
sensei/testing/read_h5_mapped_ring.xml
sensei/testing/read_h5_mapped_ring.xml
+8
-0
sensei/testing/read_h5_planar_1.xml
sensei/testing/read_h5_planar_1.xml
+5
-0
sensei/testing/read_h5_planar_2.xml
sensei/testing/read_h5_planar_2.xml
+5
-0
sensei/testing/read_h5_planar_3.xml
sensei/testing/read_h5_planar_3.xml
+5
-0
sensei/testing/testADIOS1.sh
sensei/testing/testADIOS1.sh
+14
-9
sensei/testing/testADIOS1Read.py
sensei/testing/testADIOS1Read.py
+136
-0
sensei/testing/testADIOS1Write.py
sensei/testing/testADIOS1Write.py
+4
-4
sensei/testing/testHDF5.cpp
sensei/testing/testHDF5.cpp
+742
-0
sensei/testing/testHistogram.cpp
sensei/testing/testHistogram.cpp
+3
-0
sensei/testing/testPartitioner.py
sensei/testing/testPartitioner.py
+59
-0
sensei/testing/testPartitioners.sh
sensei/testing/testPartitioners.sh
+77
-0
sensei/testing/testPartitionersDriver.sh
sensei/testing/testPartitionersDriver.sh
+65
-0
sensei/testing/testPartitionersRead.py
sensei/testing/testPartitionersRead.py
+102
-0
sensei/testing/testPartitionersWrite.py
sensei/testing/testPartitionersWrite.py
+158
-0
sensei/testing/testProgrammableDataAdaptor.cpp
sensei/testing/testProgrammableDataAdaptor.cpp
+29
-54
sensei/testing/testProgrammableDataAdaptor.py
sensei/testing/testProgrammableDataAdaptor.py
+36
-28
sensei/testing/testPythonAnalysis.cpp
sensei/testing/testPythonAnalysis.cpp
+33
-31
sensei/testing/write_adios1_bp.xml
sensei/testing/write_adios1_bp.xml
+3
-0
sensei/testing/write_adios1_flexpath.xml
sensei/testing/write_adios1_flexpath.xml
+3
-0
sensei/testing/write_h5.xml
sensei/testing/write_h5.xml
+3
-0
senseiConfig.h.in
senseiConfig.h.in
+13
-3
tools/sensei_profile_explorer/sensei_profile_explorer
tools/sensei_profile_explorer/sensei_profile_explorer
+425
-0
utils/CMakeLists.txt
utils/CMakeLists.txt
+0
-1
utils/timer/CMakeLists.txt
utils/timer/CMakeLists.txt
+0
-17
utils/timer/MemoryProfiler.cxx
utils/timer/MemoryProfiler.cxx
+0
-221
utils/timer/README.md
utils/timer/README.md
+0
-61
utils/timer/Timer.cxx
utils/timer/Timer.cxx
+0
-631
utils/timer/Timer.h
utils/timer/Timer.h
+0
-116
No files found.
CMake/FindADIOS.cmake
→
CMake/FindADIOS
1
.cmake
View file @
3d66d374
# - Find ADIOS library, routines for scientific, parallel IO
# - Find ADIOS
1
library, routines for scientific, parallel IO
# https://www.olcf.ornl.gov/center-projects/adios/
#
# Use this module by invoking find_package with the form:
# find_package(ADIOS
# find_package(ADIOS
1
# [version] [EXACT] # Minimum or EXACT version, e.g. 1.6.0
# [REQUIRED] # Fail with an error if ADIOS or a required
# [REQUIRED] # Fail with an error if ADIOS
1
or a required
# # component is not found
# [QUIET] # ...
# [COMPONENTS <...>] # Compiled in components: fortran, readonly,
# sequential (all are case insentative)
# )
#
# Module that finds the includes and libraries for a working ADIOS install.
# Module that finds the includes and libraries for a working ADIOS
1
install.
# This module invokes the `adios_config` script that should be installed with
# the other ADIOS tools.
# the other ADIOS
1
tools.
#
# To provide a hint to the module where to find the ADIOS installation,
# set the ADIOS_ROOT environment variable.
# To provide a hint to the module where to find the ADIOS
1
installation,
# set the ADIOS
1
_ROOT environment variable.
#
# If this variable is not set, make sure that at least the according `bin/`
# directory of ADIOS is in your PATH environment variable.
# directory of ADIOS
1
is in your PATH environment variable.
#
# Set the following CMake variables BEFORE calling find_packages to
# influence this module:
# ADIOS_USE_STATIC_LIBS - Set to ON to force the use of static
# ADIOS
1
_USE_STATIC_LIBS - Set to ON to force the use of static
# libraries. Default: OFF
#
# This module will define the following variables:
# ADIOS
_INCLUDE_DIRS - Include directories for the ADIOS
headers.
# ADIOS
_LIBRARIES - ADIOS
libraries.
# ADIOS
_FOUND - TRUE if FindADIOS
found a working install
# ADIOS_VERSION - Version in format Major.Minor.Patch
# ADIOS
1_INCLUDE_DIRS - Include directories for the ADIOS1
headers.
# ADIOS
1_LIBRARIES - ADIOS1
libraries.
# ADIOS
1_FOUND - TRUE if FindADIOS1
found a working install
# ADIOS
1
_VERSION - Version in format Major.Minor.Patch
#
# Not used for now:
# ADIOS_DEFINITIONS - Compiler definitions you should add with
# add_definitions(${ADIOS_DEFINITIONS})
# ADIOS
1
_DEFINITIONS - Compiler definitions you should add with
# add_definitions(${ADIOS
1
_DEFINITIONS})
#
# Example to find ADIOS (default)
# find_package(ADIOS)
# if(ADIOS_FOUND)
# include_directories(${ADIOS_INCLUDE_DIRS})
# Example to find ADIOS
1
(default)
# find_package(ADIOS
1
)
# if(ADIOS
1
_FOUND)
# include_directories(${ADIOS
1
_INCLUDE_DIRS})
# add_executable(foo foo.c)
# target_link_libraries(foo ${ADIOS_LIBRARIES})
# target_link_libraries(foo ${ADIOS
1
_LIBRARIES})
# endif()
# Example to find ADIOS using component
# find_package(ADIOS COMPONENTS fortran)
# if(ADIOS_FOUND)
# include_directories(${ADIOS_INCLUDE_DIRS})
# Example to find ADIOS
1
using component
# find_package(ADIOS
1
COMPONENTS fortran)
# if(ADIOS
1
_FOUND)
# include_directories(${ADIOS
1
_INCLUDE_DIRS})
# add_executable(foo foo.c)
# target_link_libraries(foo ${ADIOS_LIBRARIES})
# target_link_libraries(foo ${ADIOS
1
_LIBRARIES})
# endif()
###############################################################################
#Copyright (c) 2014, Axel Huebl and Felix Schmitt from http://picongpu.hzdr.de
...
...
@@ -89,13 +89,13 @@ cmake_minimum_required(VERSION 2.8.5)
###############################################################################
# ADIOS
# ADIOS
1
###############################################################################
# get flags for adios_config, -l is the default
#-f for fortran, -r for readonly, -s for sequential (nompi)
set
(
OPTLIST
"-l"
)
if
(
ADIOS_FIND_COMPONENTS
)
foreach
(
COMP
${
ADIOS_FIND_COMPONENTS
}
)
if
(
ADIOS
1
_FIND_COMPONENTS
)
foreach
(
COMP
${
ADIOS
1
_FIND_COMPONENTS
}
)
string
(
TOLOWER
${
COMP
}
comp
)
if
(
comp STREQUAL
"fortran"
)
set
(
OPTLIST
"
${
OPTLIST
}
f"
)
...
...
@@ -104,97 +104,97 @@ if(ADIOS_FIND_COMPONENTS)
elseif
(
comp STREQUAL
"sequential"
)
set
(
OPTLIST
"
${
OPTLIST
}
s"
)
else
()
message
(
"ADIOS component
${
COMP
}
is not supported. Please use fortran, readonly, or sequential"
)
message
(
"ADIOS
1
component
${
COMP
}
is not supported. Please use fortran, readonly, or sequential"
)
endif
()
endforeach
()
endif
()
# we start by assuming we found ADIOS and falsify it if some
# dependencies are missing (or if we did not find ADIOS at all)
set
(
ADIOS_FOUND TRUE
)
# we start by assuming we found ADIOS
1
and falsify it if some
# dependencies are missing (or if we did not find ADIOS
1
at all)
set
(
ADIOS
1
_FOUND TRUE
)
# find `adios_config` program #################################################
# check the ADIOS_ROOT hint and the normal PATH
find_file
(
ADIOS_CONFIG
# check the ADIOS
1
_ROOT hint and the normal PATH
find_file
(
ADIOS
1
_CONFIG
NAME adios_config
PATHS
${
ADIOS
_ROOT
}
bin
${
ADIOS_DIR
}
/bin $ENV{ADIOS_ROOT}/bin $ENV{ADIOS
_DIR}/bin
PATHS
${
ADIOS
1_ROOT
}
bin
${
ADIOS1_DIR
}
/bin $ENV{ADIOS1_ROOT}/bin $ENV{ADIOS1
_DIR}/bin
$ENV{INSTALL_PREFIX}/bin $ENV{PATH}
)
if
(
ADIOS_CONFIG
)
message
(
STATUS
"Found 'adios_config':
${
ADIOS_CONFIG
}
"
)
else
(
ADIOS_CONFIG
)
set
(
ADIOS_FOUND FALSE
)
message
(
STATUS
"Can NOT find 'adios_config' - set ADIOS
_ROOT, ADIOS
_DIR or INSTALL_PREFIX, or check your PATH"
)
endif
(
ADIOS_CONFIG
)
if
(
ADIOS
1
_CONFIG
)
message
(
STATUS
"Found 'adios_config':
${
ADIOS
1
_CONFIG
}
"
)
else
(
ADIOS
1
_CONFIG
)
set
(
ADIOS
1
_FOUND FALSE
)
message
(
STATUS
"Can NOT find 'adios_config' - set ADIOS
1_ROOT, ADIOS1
_DIR or INSTALL_PREFIX, or check your PATH"
)
endif
(
ADIOS
1
_CONFIG
)
# check `adios_config` program ################################################
if
(
ADIOS_FOUND
)
execute_process
(
COMMAND
${
ADIOS_CONFIG
}
${
OPTLIST
}
OUTPUT_VARIABLE ADIOS_LINKFLAGS
RESULT_VARIABLE ADIOS_CONFIG_RETURN
if
(
ADIOS
1
_FOUND
)
execute_process
(
COMMAND
${
ADIOS
1
_CONFIG
}
${
OPTLIST
}
OUTPUT_VARIABLE ADIOS
1
_LINKFLAGS
RESULT_VARIABLE ADIOS
1
_CONFIG_RETURN
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
NOT ADIOS_CONFIG_RETURN EQUAL 0
)
set
(
ADIOS_FOUND FALSE
)
if
(
NOT ADIOS
1
_CONFIG_RETURN EQUAL 0
)
set
(
ADIOS
1
_FOUND FALSE
)
message
(
STATUS
"Can NOT execute 'adios_config' - check file permissions"
)
endif
()
# find ADIOS_ROOT_DIR
execute_process
(
COMMAND
${
ADIOS_CONFIG
}
-d
OUTPUT_VARIABLE ADIOS_ROOT_DIR
# find ADIOS
1
_ROOT_DIR
execute_process
(
COMMAND
${
ADIOS
1
_CONFIG
}
-d
OUTPUT_VARIABLE ADIOS
1
_ROOT_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
NOT IS_DIRECTORY
"
${
ADIOS_ROOT_DIR
}
"
)
set
(
ADIOS_FOUND FALSE
)
message
(
STATUS
"The directory provided by 'adios_config -d' does not exist:
${
ADIOS_ROOT_DIR
}
"
)
if
(
NOT IS_DIRECTORY
"
${
ADIOS
1
_ROOT_DIR
}
"
)
set
(
ADIOS
1
_FOUND FALSE
)
message
(
STATUS
"The directory provided by 'adios_config -d' does not exist:
${
ADIOS
1
_ROOT_DIR
}
"
)
endif
()
endif
(
ADIOS_FOUND
)
endif
(
ADIOS
1
_FOUND
)
# option: use only static libs ################################################
if
(
ADIOS_USE_STATIC_LIBS
)
if
(
ADIOS
1
_USE_STATIC_LIBS
)
# carfully: we have to restore the original path in the end
set
(
_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
${
CMAKE_FIND_LIBRARY_SUFFIXES
}
)
set
(
CMAKE_FIND_LIBRARY_SUFFIXES .a
)
endif
()
# we found something in ADIOS_ROOT_DIR and adios_config works #################
if
(
ADIOS_FOUND
)
# ADIOS headers
list
(
APPEND ADIOS
_INCLUDE_DIRS
${
ADIOS
_ROOT_DIR
}
/include
)
# we found something in ADIOS
1
_ROOT_DIR and adios_config works #################
if
(
ADIOS
1
_FOUND
)
# ADIOS
1
headers
list
(
APPEND ADIOS
1_INCLUDE_DIRS
${
ADIOS1
_ROOT_DIR
}
/include
)
# check for compiled in dependencies, recomve ";" in ADIOS_LINKFLAGS (from cmake build)
string
(
REGEX REPLACE
";"
" "
ADIOS
_LINKFLAGS
"
${
ADIOS
_LINKFLAGS
}
"
)
message
(
STATUS
"ADIOS
linker flags (unparsed):
${
ADIOS
_LINKFLAGS
}
"
)
# check for compiled in dependencies, recomve ";" in ADIOS
1
_LINKFLAGS (from cmake build)
string
(
REGEX REPLACE
";"
" "
ADIOS
1_LINKFLAGS
"
${
ADIOS1
_LINKFLAGS
}
"
)
message
(
STATUS
"ADIOS
1 linker flags (unparsed):
${
ADIOS1
_LINKFLAGS
}
"
)
# find all library paths -L
# note: this can cause trouble if some libs are specified twice from
# different sources (quite unlikely)
# http://www.cmake.org/pipermail/cmake/2008-November/025128.html
set
(
ADIOS_LIBRARY_DIRS
""
)
string
(
REGEX MATCHALL
" -L([A-Za-z_0-9/
\\
.-]+)"
_ADIOS
_LIBDIRS
"
${
ADIOS
_LINKFLAGS
}
"
)
foreach
(
_LIBDIR
${
_ADIOS_LIBDIRS
}
)
set
(
ADIOS
1
_LIBRARY_DIRS
""
)
string
(
REGEX MATCHALL
" -L([A-Za-z_0-9/
\\
.-]+)"
_ADIOS
1_LIBDIRS
"
${
ADIOS1
_LINKFLAGS
}
"
)
foreach
(
_LIBDIR
${
_ADIOS
1
_LIBDIRS
}
)
string
(
REPLACE
" -L"
""
_LIBDIR
${
_LIBDIR
}
)
list
(
APPEND ADIOS_LIBRARY_DIRS
${
_LIBDIR
}
)
list
(
APPEND ADIOS
1
_LIBRARY_DIRS
${
_LIBDIR
}
)
endforeach
()
# we could append ${CMAKE_PREFIX_PATH} now but that is not really necessary
#message(STATUS "ADIOS
DIRS to look for libs: ${ADIOS
_LIBRARY_DIRS}")
#message(STATUS "ADIOS
1 DIRS to look for libs: ${ADIOS1
_LIBRARY_DIRS}")
# parse all -lname libraries and find an absolute path for them
string
(
REGEX MATCHALL
" -l([A-Za-z_0-9
\\
.-]+)"
_ADIOS
_LIBS
"
${
ADIOS
_LINKFLAGS
}
"
)
foreach
(
_LIB
${
_ADIOS_LIBS
}
)
string
(
REGEX MATCHALL
" -l([A-Za-z_0-9
\\
.-]+)"
_ADIOS
1_LIBS
"
${
ADIOS1
_LINKFLAGS
}
"
)
foreach
(
_LIB
${
_ADIOS
1
_LIBS
}
)
string
(
REPLACE
" -l"
""
_LIB
${
_LIB
}
)
# find static lib: absolute path in -L then default
find_library
(
_LIB_DIR NAMES
${
_LIB
}
PATHS
${
ADIOS_LIBRARY_DIRS
}
CMAKE_FIND_ROOT_PATH_BOTH
)
find_library
(
_LIB_DIR NAMES
${
_LIB
}
PATHS
${
ADIOS
1
_LIBRARY_DIRS
}
CMAKE_FIND_ROOT_PATH_BOTH
)
# found?
if
(
_LIB_DIR
)
message
(
STATUS
"Found
${
_LIB
}
in
${
_LIB_DIR
}
"
)
list
(
APPEND ADIOS_LIBRARIES
"
${
_LIB_DIR
}
"
)
list
(
APPEND ADIOS
1
_LIBRARIES
"
${
_LIB_DIR
}
"
)
else
(
_LIB_DIR
)
set
(
ADIOS_FOUND FALSE
)
message
(
STATUS
"ADIOS: Could NOT find library '
${
_LIB
}
'"
)
set
(
ADIOS
1
_FOUND FALSE
)
message
(
STATUS
"ADIOS
1
: Could NOT find library '
${
_LIB
}
'"
)
endif
(
_LIB_DIR
)
# clean cached var
...
...
@@ -203,25 +203,25 @@ if(ADIOS_FOUND)
endforeach
()
#add libraries which are already using cmake format
string
(
REGEX MATCHALL
"/([A-Za-z_0-9/
\\
.-]+)
\\
.([a|so]+)"
_ADIOS
_LIBS_SUB
"
${
ADIOS
_LINKFLAGS
}
"
)
list
(
APPEND ADIOS
_LIBRARIES
"
${
_ADIOS
_LIBS_SUB
}
"
)
string
(
REGEX MATCHALL
"/([A-Za-z_0-9/
\\
.-]+)
\\
.([a|so]+)"
_ADIOS
1_LIBS_SUB
"
${
ADIOS1
_LINKFLAGS
}
"
)
list
(
APPEND ADIOS
1_LIBRARIES
"
${
_ADIOS1
_LIBS_SUB
}
"
)
# add the version string
execute_process
(
COMMAND
${
ADIOS_CONFIG
}
-v
OUTPUT_VARIABLE ADIOS_VERSION
execute_process
(
COMMAND
${
ADIOS
1
_CONFIG
}
-v
OUTPUT_VARIABLE ADIOS
1
_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif
(
ADIOS_FOUND
)
endif
(
ADIOS
1
_FOUND
)
# unset checked variables if not found
if
(
NOT ADIOS_FOUND
)
unset
(
ADIOS_INCLUDE_DIRS
)
unset
(
ADIOS_LIBRARIES
)
endif
(
NOT ADIOS_FOUND
)
if
(
NOT ADIOS
1
_FOUND
)
unset
(
ADIOS
1
_INCLUDE_DIRS
)
unset
(
ADIOS
1
_LIBRARIES
)
endif
(
NOT ADIOS
1
_FOUND
)
# restore CMAKE_FIND_LIBRARY_SUFFIXES if manipulated by this module ###########
if
(
ADIOS_USE_STATIC_LIBS
)
if
(
ADIOS
1
_USE_STATIC_LIBS
)
set
(
CMAKE_FIND_LIBRARY_SUFFIXES
${
_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
}
)
endif
()
...
...
@@ -232,7 +232,7 @@ endif()
# handles the REQUIRED, QUIET and version-related arguments for find_package
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
ADIOS
REQUIRED_VARS ADIOS
_LIBRARIES ADIOS
_INCLUDE_DIRS
VERSION_VAR ADIOS_VERSION
find_package_handle_standard_args
(
ADIOS
1
REQUIRED_VARS ADIOS
1_LIBRARIES ADIOS1
_INCLUDE_DIRS
VERSION_VAR ADIOS
1
_VERSION
)
CMake/FindLIBSIM.cmake
View file @
3d66d374
...
...
@@ -49,7 +49,7 @@ find_library(LIBSIM_LIBRARY NAMES simV2
find_library
(
LIBSIM_LIBRARY NAMES simV2
)
mark_as_advanced
(
LIBSIM_LIBRARY
)
set
(
LIBSIM_LIBRARIES
${
LIBSIM_LIBRARY
}
${
LIBSIM_THIRD_PARTY
}
)
set
(
LIBSIM_LIBRARIES
${
LIBSIM_LIBRARY
}
${
LIBSIM_THIRD_PARTY
}
dl
)
# header
if
(
VISIT_DIR
)
...
...
CMake/SENSEIConfig.cmake.in
View file @
3d66d374
...
...
@@ -30,7 +30,8 @@ set(ENABLE_PYTHON @ENABLE_PYTHON@)
set(ENABLE_CATALYST @ENABLE_CATALYST@)
set(ENABLE_CATALYST_PYTHON @ENABLE_CATALYST_PYTHON@)
set(ENABLE_LIBSIM @ENABLE_LIBSIM@)
set(ENABLE_ADIOS @ENABLE_ADIOS@)
set(ENABLE_ADIOS1 @ENABLE_ADIOS1@)
set(ENABLE_HDF5 @ENABLE_HDF5@)
set(ENABLE_CONDUIT @ENABLE_CONDUIT@)
set(ENABLE_VTK_GENERIC_ARRAYS @ENABLE_VTK_GENERIC_ARRAYS@)
set(ENABLE_VTK_ACCELERATORS @ENABLE_VTK_ACCELERATORS@)
...
...
@@ -60,9 +61,7 @@ endif()
include(thread)
include(sMPI)
include(sVTK)
include(timer)
include(pugixml)
include(timer)
include(sDIY)
if (ENABLE_VTKM)
include(sVTKm)
...
...
@@ -70,8 +69,11 @@ endif()
if (ENABLE_LIBSIM)
include(sLibsim)
endif()
if (ENABLE_ADIOS)
include(sADIOS)
if (ENABLE_ADIOS1)
include(sADIOS1)
endif()
if (ENABLE_HDF5)
include(sHDF5)
endif()
if (ENABLE_CONDUIT)
include(sConduit)
...
...
CMake/adios.cmake
View file @
3d66d374
if
(
ENABLE_ADIOS
)
find_package
(
ADIOS REQUIRED
)
if
(
ENABLE_ADIOS
1
)
find_package
(
ADIOS
1
REQUIRED
)
add_library
(
sADIOS INTERFACE
)
target_link_libraries
(
sADIOS
INTERFACE
${
ADIOS
_LIBRARIES
}
)
target_include_directories
(
sADIOS
SYSTEM INTERFACE
${
ADIOS
_INCLUDE_DIRS
}
)
if
(
ADIOS_DEFINITIONS
)
target_compile_definitions
(
sADIOS
INTERFACE
${
ADIOS
_DEFINITIONS
}
)
add_library
(
sADIOS
1
INTERFACE
)
target_link_libraries
(
sADIOS
1 INTERFACE
${
ADIOS1
_LIBRARIES
}
)
target_include_directories
(
sADIOS
1 SYSTEM INTERFACE
${
ADIOS1
_INCLUDE_DIRS
}
)
if
(
ADIOS
1
_DEFINITIONS
)
target_compile_definitions
(
sADIOS
1 INTERFACE
${
ADIOS1
_DEFINITIONS
}
)
endif
()
install
(
TARGETS sADIOS
EXPORT sADIOS
)
install
(
EXPORT sADIOS DESTINATION lib/cmake EXPORT_LINK_INTERFACE_LIBRARIES
)
install
(
TARGETS sADIOS
1 EXPORT sADIOS1
)
install
(
EXPORT sADIOS
1
DESTINATION lib/cmake EXPORT_LINK_INTERFACE_LIBRARIES
)
endif
()
CMake/catalyst.cmake
View file @
3d66d374
if
(
ENABLE_CATALYST
)
set
(
SENSEI_PV_COMPONENTS vtkPVCatalyst vtkPVServerManagerRendering
)
set
(
sensei_pv_components_legacy vtkPVCatalyst vtkPVServerManagerRendering
)
set
(
sensei_pv_components_modern Catalyst ServerManagerRendering
)
if
(
ENABLE_CATALYST_PYTHON
)
list
(
APPEND SENSEI_PV_COMPONENTS vtkPVPythonCatalyst
)
list
(
APPEND sensei_pv_components_legacy vtkPVPythonCatalyst
)
list
(
APPEND sensei_pv_components_modern PythonCatalyst
)
endif
()
find_package
(
ParaView CONFIG QUIET
)
if
(
NOT ParaView_FOUND
)
message
(
STATUS
${
ParaView_NOT_FOUND_MESSAGE
}
)
message
(
FATAL_ERROR
"Catalyst analysis components require Catalyst build "
"(or install directory. Please set ParaView_DIR to point to directory "
"containing `ParaViewConfig.cmake` or `paraview-config.cmake`."
)
endif
()
if
(
ParaView_VERSION VERSION_LESS
"5.7.0"
)
set
(
SENSEI_PV_COMPONENTS
${
sensei_pv_components_legacy
}
${
SENSEI_VTK_COMPONENTS
}
)
else
()
set
(
SENSEI_PV_COMPONENTS
${
sensei_pv_components_modern
}
)
endif
()
find_package
(
ParaView CONFIG COMPONENTS
${
SENSEI_PV_COMPONENTS
}
)
find_package
(
ParaView COMPONENTS
${
SENSEI_VTK_COMPONENTS
}
${
SENSEI_PV_COMPONENTS
}
)
# avoid leaking these internal variables
unset
(
sensei_pv_components_legacy
)
unset
(
sensei_pv_components_modern
)
if
(
NOT ParaView_FOUND
)
message
(
FATAL_ERROR
"Catalyst analysis components require Catalyst build"
"(or install directory. Please set ParaView_DIR to point to
"
"directory
"
"containing `ParaViewConfig.cmake`."
)
message
(
FATAL_ERROR
"Catalyst analysis components require Catalyst build
"
"(or install directory. Please set ParaView_DIR to point to
directory
"
"containing `ParaViewConfig.cmake`
or `paraview-config.cmake`
."
)
endif
()
add_library
(
sVTK INTERFACE
)
target_link_libraries
(
sVTK INTERFACE
${
VTK_LIBRARIES
}
)
target_include_directories
(
sVTK SYSTEM INTERFACE
${
PARAVIEW_INCLUDE_DIRS
}
)
target_compile_definitions
(
sVTK INTERFACE
${
VTK_DEFINITIONS
}
)
if
(
ParaView_VERSION VERSION_LESS
"5.7.0"
)
target_link_libraries
(
sVTK INTERFACE
${
VTK_LIBRARIES
}
)
target_include_directories
(
sVTK SYSTEM INTERFACE
${
PARAVIEW_INCLUDE_DIRS
}
)
target_compile_definitions
(
sVTK INTERFACE
${
VTK_DEFINITIONS
}
)
else
()
# find VTK separately
find_package
(
VTK CONFIG QUIET COMPONENTS
${
SENSEI_VTK_COMPONENTS
}
)
target_link_libraries
(
sVTK INTERFACE
${
ParaView_LIBRARIES
}
${
VTK_LIBRARIES
}
)
endif
()
install
(
TARGETS sVTK EXPORT sVTK
)
install
(
EXPORT sVTK DESTINATION lib/cmake EXPORT_LINK_INTERFACE_LIBRARIES
)
...
...
CMake/hdf5.cmake
0 → 100644
View file @
3d66d374
if
(
ENABLE_HDF5
)
find_package
(
HDF5 REQUIRED COMPONENTS C
)
if
(
NOT HDF5_IS_PARALLEL
)
message
(
SEND_ERROR
"Failed to locate parallel hdf5 installation"
)
endif
()
add_library
(
sHDF5 INTERFACE
)
target_link_libraries
(
sHDF5 INTERFACE
${
HDF5_LIBRARIES
}
)
target_include_directories
(
sHDF5 SYSTEM INTERFACE
${
HDF5_INCLUDE_DIRS
}
)
install
(
TARGETS sHDF5 EXPORT sHDF5
)
install
(
EXPORT sHDF5 DESTINATION lib/cmake EXPORT_LINK_INTERFACE_LIBRARIES
)
endif
()
CMake/mpi.cmake
View file @
3d66d374
find_package
(
MPI
)
if
(
ENABLE_CRAY_MPICH
OR
(
NOT DEFINED ENABLE_CRAY_MPICH AND
NOT
(
"$ENV{CRAY_MPICH_DIR}"
STREQUAL
""
)))
set
(
ENV{PKG_CONFIG_PATH}
"$ENV{CRAY_MPICH_DIR}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}"
)
find_package
(
PkgConfig QUIET
)
pkg_check_modules
(
CRAY_MPICH REQUIRED QUIET mpich
)
set
(
MPI_C_INCLUDE_PATH
${
CRAY_MPICH_INCLUDE_DIRS
}
CACHE STRING
"MPI include directories"
)
set
(
MPI_C_LIBRARIES
${
CRAY_MPICH_LDFLAGS
}
CACHE STRING
"MPI link dependencies"
)
set
(
MPIEXEC srun CACHE STRING
"Platform MPI run equivalent"
)
set
(
MPI_C_FOUND CACHE BOOL ON
"status of MPI config"
)
else
()
find_package
(
MPI
)
endif
()
if
(
NOT MPI_C_FOUND
)
message
(
FETAL_ERROR
"Failed to locate MPI C libraries and headers"
)
...
...
CMake/options.cmake
View file @
3d66d374
...
...
@@ -16,8 +16,12 @@ cmake_dependent_option(ENABLE_CATALYST_PYTHON
"Enable analysis methods that use Catalyst Python scripts"
OFF
"ENABLE_CATALYST"
OFF
)
cmake_dependent_option
(
ENABLE_ADIOS
"Enable analysis methods that use ADIOS"
OFF
cmake_dependent_option
(
ENABLE_ADIOS1
"Enable analysis methods that use ADIOS 1"
OFF
"ENABLE_SENSEI"
OFF
)
cmake_dependent_option
(
ENABLE_HDF5
"Enable analysis methods that use HDF5"
OFF
"ENABLE_SENSEI"
OFF
)
cmake_dependent_option
(
ENABLE_CONDUIT
...
...
@@ -44,6 +48,10 @@ cmake_dependent_option(ENABLE_VTK_ACCELERATORS
"Enable analysis methods that use VTK-m via VTK's Accelerators module"
OFF
"ENABLE_SENSEI"
OFF
)
cmake_dependent_option
(
ENABLE_VTK_FILTERS
"Enable use of VTK's generic filters library"
OFF
"ENABLE_SENSEI"
OFF
)
cmake_dependent_option
(
ENABLE_VTKM
"Enable analysis methods that use VTK-m"
OFF
"ENABLE_SENSEI"
OFF
)
...
...
@@ -52,26 +60,31 @@ cmake_dependent_option(ENABLE_VTKM_RENDERING
"Enable analysis methods that use VTK-m's rendering library"
OFF
"ENABLE_VTKM"
OFF
)
option
(
ENABLE_PARALLEL3D
"Enable Parallel3D miniapp"
ON
)
option
(
ENABLE_PROFILER
"Enable the internal profiler"
OFF
)
option
(
ENABLE_OSCILLATORS
"Enable Oscillators miniapp"
ON
)
option
(
ENABLE_CONDUITTEST
"Enable Conduit miniapp"
OFF
)
option
(
ENABLE_KRIPKE
"Enable Kripke miniapp"
OFF
)
option
(
ENABLE_MANDELBROT
"Enable Mandelbrot miniapp"
ON
)
option
(
ENABLE_VORTEX
"Enable Vortex miniapp"
ON
)
message
(
STATUS
"ENABLE_SENSEI=
${
ENABLE_SENSEI
}
"
)
message
(
STATUS
"ENABLE_PYTHON=
${
ENABLE_PYTHON
}
"
)
message
(
STATUS
"ENABLE_VTK_GENERIC_ARRAYS=
${
ENABLE_VTK_GENERIC_ARRAYS
}
"
)
message
(
STATUS
"ENABLE_CATALYST=
${
ENABLE_CATALYST
}
"
)
message
(
STATUS
"ENABLE_CATALYST_PYTHON=
${
ENABLE_CATALYST
}
"
)
message
(
STATUS
"ENABLE_ADIOS=
${
ENABLE_ADIOS
}
"
)
message
(
STATUS
"ENABLE_ADIOS1=
${
ENABLE_ADIOS1
}
"
)
message
(
STATUS
"ENABLE_HDF5=
${
ENABLE_HDF5
}
"
)
message
(
STATUS
"ENABLE_CONDUIT=
${
ENABLE_CONDUIT
}
"
)
message
(
STATUS
"ENABLE_LIBSIM=
${
ENABLE_LIBSIM
}
"
)
message
(
STATUS
"ENABLE_VTK_IO=
${
ENABLE_VTK_IO
}
"
)
message
(
STATUS
"ENABLE_VTK_MPI=
${
ENABLE_VTK_MPI
}
"
)
message
(
STATUS
"ENABLE_VTK_RENDERING=
${
ENABLE_VTK_RENDERING
}
"
)
message
(
STATUS
"ENABLE_VTK_ACCELERATORS=
${
ENABLE_VTK_ACCELERATORS
}
"
)
message
(
STATUS
"ENABLE_VTK_FILTERS=
${
ENABLE_VTK_FILTERS
}
"
)
message
(
STATUS
"ENABLE_VTKM=
${
ENABLE_VTKM
}
"
)
message
(
STATUS
"ENABLE_VTKM_RENDERING=
${
ENABLE_VTKM_RENDERING
}
"
)
message
(
STATUS
"ENABLE_P
ARALLEL3D=
${
ENABLE_PARALLEL3D
}
"
)
message
(
STATUS
"ENABLE_P
ROFILER=
${
ENABLE_PROFILER
}
"
)
message
(
STATUS
"ENABLE_OSCILLATORS=
${
ENABLE_OSCILLATORS
}
"
)
message
(
STATUS
"ENABLE_CONDUITTEST=
${
ENABLE_CONDUITTEST
}
"
)
message
(
STATUS
"ENABLE_KRIPKE=
${
ENABLE_KRIPKE
}
"
)
CMake/python.cmake
View file @
3d66d374
if
(
ENABLE_PYTHON
)
# TODO -- Python 3
find_package
(
PythonInterp REQUIRED
)
if
(
PYTHONINTERP_FOUND
)
find_program
(
PYTHON_CONFIG_EXECUTABLE python-config
)
if
(
NOT PYTHON_CONFIG_EXECUTABLE
)
message
(
SEND_ERROR
"python-config executable is required."
)
endif
()
execute_process
(
COMMAND
${
PYTHON_CONFIG_EXECUTABLE
}
--prefix
OUTPUT_VARIABLE python_prefix OUTPUT_STRIP_TRAILING_WHITESPACE
)
set
(
PYTHON_INCLUDE_DIR
${
python_prefix
}
/include/python2.7
)
if
(
EXISTS
${
python_prefix
}
/lib/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
set
(
PYTHON_LIBRARY
${
python_prefix
}
/lib/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
elseif
(
EXISTS
${
python_prefix
}
/lib64/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
set
(
PYTHON_LIBRARY
${
python_prefix
}
/lib64/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
elseif
(
EXISTS
${
python_prefix
}
/lib/x86_64-linux-gnu/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
set
(
PYTHON_LIBRARY
${
python_prefix
}
/lib/x86_64-linux-gnu/libpython2.7
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
else
()
message
(
SEND_ERROR
"Failed to locate Python library for
${
python_prefix
}
"
)
endif
()
endif
()
find_package
(
PythonLibs REQUIRED
)
set
(
SENSEI_PYTHON_VERSION 2 CACHE STRING
"The major version number of Python SENSEI should use."
)
set_property
(
CACHE SENSEI_PYTHON_VERSION PROPERTY STRINGS 2 3
)
find_package
(
PythonInterp
${
SENSEI_PYTHON_VERSION
}
REQUIRED
)
find_package
(
PythonLibs
${
SENSEI_PYTHON_VERSION
}
REQUIRED
)
find_package
(
NUMPY REQUIRED
)
find_program
(
swig_cmd NAMES swig swig3.0
)
if
(
swig_cmd-NOTFOUND
)
...
...
CMake/testing.cmake
View file @
3d66d374
...
...
@@ -5,6 +5,9 @@ if (BUILD_TESTING)
include
(
CTest
)
endif
()
set
(
TEST_NP
"4"
CACHE STRING
"Number of procs to use in parallel tests"
)
math
(
EXPR TEST_NP_HALF
"
${
TEST_NP
}
/2"
)
# senseiAddTest(name
# EXEC_NAME -- optional, name of the copiled test
# SOURCES -- optional, source files to comile
...
...
CMake/vtk.cmake
View file @
3d66d374
set
(
SENSEI_VTK_COMPONENTS vtkCommonDataModel
)
# lets build the list of modules for VTK pre-8.90 and post 8.90
set
(
sensei_vtk_components_legacy
)
set
(
sensei_vtk_components_modern
)
set
(
sensei_vtk_components_legacy vtkCommonDataModel
)
set
(
sensei_vtk_components_modern CommonDataModel
)