mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Install parallel h5py with no build isolation (#3782)
This commit is contained in:
parent
6efc9db7b3
commit
d0346e94ac
2 changed files with 5 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
|||
#include "openmc/material.h"
|
||||
#include "openmc/mesh.h"
|
||||
#include "openmc/message_passing.h"
|
||||
#include "openmc/mgxs_interface.h"
|
||||
#include "openmc/nuclide.h"
|
||||
#include "openmc/photon.h"
|
||||
#include "openmc/plot.h"
|
||||
|
|
@ -163,6 +164,7 @@ int openmc_finalize()
|
|||
data::energy_min = {0.0, 0.0, 0.0, 0.0};
|
||||
data::temperature_min = 0.0;
|
||||
data::temperature_max = INFTY;
|
||||
data::mg = {};
|
||||
model::root_universe = -1;
|
||||
model::plotter_seed = 1;
|
||||
openmc::openmc_set_seed(DEFAULT_SEED);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,9 @@ if [[ $MPI == 'y' ]]; then
|
|||
export CC=mpicc
|
||||
export HDF5_MPI=ON
|
||||
export HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/mpich
|
||||
pip install --no-binary=h5py h5py
|
||||
# Install h5py without build isolation to pick up already installed mpi4py
|
||||
pip install Cython pkgconfig
|
||||
pip install --no-build-isolation --no-binary=h5py h5py
|
||||
fi
|
||||
|
||||
# Build and install OpenMC executable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue