mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Add RDMAV_FORK_SAFE=1 to avoid fork error with libfabric
This commit is contained in:
parent
a2b828af52
commit
d5ce4af68a
2 changed files with 5 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -84,6 +84,10 @@ jobs:
|
|||
LIBMESH: ${{ matrix.libmesh }}
|
||||
NPY_DISABLE_CPU_FEATURES: "AVX512F AVX512_SKX"
|
||||
OPENBLAS_NUM_THREADS: 1
|
||||
# libfabric complains about fork() as a result of using Python multiprocessing.
|
||||
# We can work around it with RDMAV_FORK_SAFE=1 in libfabric < 1.13 and with
|
||||
# FI_EFA_FORK_SAFE=1 in more recent versions.
|
||||
RDMAV_FORK_SAFE: 1
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ args=" "
|
|||
if [[ $MPI == 'y' ]]; then
|
||||
args="${args} --mpi "
|
||||
fi
|
||||
|
||||
|
||||
# Check for event-based
|
||||
if [[ $EVENT == 'y' ]]; then
|
||||
args="${args} --event "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue