mvapich: fix build with gfortran 10

Similar to mpich, there are difficulties preventing fixing the
mismatched arguments upstream.
This commit is contained in:
Ryan Burns 2021-12-05 12:59:33 -08:00
parent 3f1c889d08
commit 6240a5697f

View file

@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
"--enable-threads=multiple"
"--enable-hybrid"
"--enable-shared"
"FFLAGS=-fallow-argument-mismatch" # fix build with gfortran 10
] ++ optional useSlurm "--with-pm=slurm"
++ optional (network == "ethernet") "--with-device=ch3:sock"
++ optionals (network == "infiniband") [ "--with-device=ch3:mrail" "--with-rdma=gen2" ]