Paul Romano
b6d6bdf3f5
Merge branch 'develop' into mixed_ncrystal_pr
2023-01-09 13:13:14 +07:00
Paul Romano
a0d8541a01
Make sure OpenMCConfig.cmake.in includes MCPL
2022-12-22 22:27:03 -06:00
Jose Ignacio Marquez Damian
4391d601fd
find NCrystal
2022-11-28 11:06:06 -03:00
aprilnovak
4d321bc98b
Replace centroid() with vertex_average(). Refs #1914
2022-07-14 18:53:58 -05:00
Kalin Kiesling
3bcc45c9bd
find mpi in cmake config
2022-04-06 13:29:48 -05:00
Kalin Kiesling
62bb9ebf99
corrected install options in cmake config
2022-03-22 13:23:02 -05:00
Paul Romano
6eea13043f
Add support for PNG plots using libpng
2021-10-04 15:48:42 -05:00
Patrick Shriwise
b392f59a13
Using the configuration options to indicate requirement of libmesh and dagmc packages.
2021-08-17 19:33:00 -05:00
Patrick Shriwise
18a1ba1c41
Ensuring that all necessary information makes it into the OpeMCconfig file for linked applicatoins.
2021-04-07 20:56:18 -05:00
Patrick Shriwise
0abf803bb7
Adding ability to specify the libMesh pkconfig type with the METHOD env var.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
cb6c24ba9b
Formatting correction in FindLIBMESH module.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
6723a8f64a
Fix for CMake message syntax.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
f013f4d877
Adding CMake version check for libMesh builds.
2021-04-07 19:07:07 -05:00
Patrick Shriwise
50dbd50f2b
Ensure that the CMAKE_PREFIX_PATH is checked for the libmesh installation.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
341101e6f7
Adding a version check for libMesh.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
21d3c14d86
Cleanup of CMake files.
2021-04-07 19:07:06 -05:00
Patrick Shriwise
b9ef22128c
Allow direct setting of LIBMESH_DIR for CMake.
2021-04-07 19:06:16 -05:00
Patrick Shriwise
7323ae526f
Updates to get the timing of variable addition and score setting right for libmesh.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
f7220b62db
Some cleanup from self-review
2021-04-07 19:06:15 -05:00
Patrick Shriwise
abda65d038
Making sure libmesh is found in the OpenMC config if we build with it.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
d2dd262846
Making sure libmesh is found in the OpenMC config if we build with it.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
a03d58cb59
Updating build style for libmesh.
2021-04-07 19:06:15 -05:00
Patrick Shriwise
c95a0a914a
Start of libmesh implementation.
2021-04-07 19:05:08 -05:00
Patrick Shriwise
60cfe907b1
Apply suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-01-18 22:27:58 -06:00
Patrick Shriwise
b94d89dea7
Moving version numbers into a configured HEADER. Adding version numbers to CMake and including a version file.
2021-01-18 13:02:09 -06:00
Patrick Shriwise
1998dac26f
Re-adding the find_package call in OpenMCConfig.cmake
2020-04-07 14:04:06 -05:00
Patrick Shriwise
ac2e1665e8
Removing dagmc-imported target export and FindDAGMC.cmake files as suggested by @paulromano.
2020-04-07 11:40:47 -05:00
Paul Romano
c7c3db8246
Don't use target_link_directorires (only supported in cmake 3.13+)
2020-02-23 22:15:28 -06:00
Paul Romano
48ee3e78ec
Make sure DAGMC is discoverable if linking against OpenMC
2020-02-20 14:05:34 -06:00
Andrew Davis
b9c3d7af54
Fix CMake issues per Paul R fixes
2020-02-12 22:21:57 +00:00
Paul Romano
90288f2a62
Export targets from CMakeLists.txt
2019-10-30 16:03:27 -05:00
Paul Romano
2982ce884d
Rely on FindHDF5.cmake that is distributed with CMake
2019-03-25 21:57:32 -05:00
Patrick Shriwise
75b43614f4
Adding check for DAGMC_ROOT in environment as a hint.
2018-10-01 10:38:16 -05:00
shriwise
45ccb2da16
Adding option for building with CAD support and moving FindDAGMC into the correct location for openmc cmake modules.
2018-09-21 15:51:27 -04:00
shriwise
fd7368e1bd
Adding dagmc pointers to the CAD geometry classes.
2018-09-21 15:51:27 -04:00
Paul Romano
13113ca820
Fixes in FindHDF5.cmake for Intel Xeon Phi.
...
Before, -lz -ldl -lm -lrt would be turned into absolute paths. This doesn't work
for the Xeon Phi where we need to cross-compile. The Intel compiler
automatically adds the libraries with the correct architecture as long as -l
arguments are passed as is.
2015-09-14 10:48:19 +07:00
Paul Romano
b1f4597e23
unset a few variables in FindHDF5.cmake
2015-09-13 12:08:18 +07:00
Paul Romano
3fb6f99ecd
Update FindHDF5 based on Brad King comments
2015-09-04 12:51:18 +07:00
Paul Romano
3c1ba76f95
Rely on FindHDF5 rather than h5fc and h5pfc scripts
...
The FindHDF5.cmake packaged with CMake is broken in a number of respects. The HL
components don't work (debian has a patch in cmake-data). It's also impossible
to prefer a parallel installation if both h5fc and h5pfc appear on your
PATH. Finally, hdf5_hl is not included in the list of libraries needed for the
Fortran_HL component. A local version of FindHDF5 is used here which fixes all
these issues. This enables one to compile OpenMC with MPI + serial HDF5 if
needed by introducing the PHDF5 preprocessor flag.
2015-09-04 12:51:18 +07:00