scalapack: fix building with mpich

This commit is contained in:
Markus Kowalewski 2021-01-10 15:08:59 +01:00
parent 6dba41fbcb
commit b6a09f8887
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB

View file

@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
# make sure the test starts even if we have less than 4 cores
export OMPI_MCA_rmaps_base_oversubscribe=1
# Fix to make mpich run in a sandbox
export HYDRA_IFACE=lo
# Run single threaded
export OMP_NUM_THREADS=1