···18181919stdenv.mkDerivation rec {
2020 pname = "petsc";
2121- version = "3.17.4";
2121+ version = "3.19.1";
22222323 src = fetchurl {
2424 url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz";
2525- sha256 = "sha256-mcEnSGcio//ZWiaLTOsJdsvyF5JsaBqWMb1yRuq4yyo=";
2525+ sha256 = "sha256-dNtgxTyAtI1cOeB7w5qIPsztiLnySl3hfPb0hakD4SA=";
2626 };
27272828 mpiSupport = !withp4est || p4est.mpiSupport;
···4141 substituteInPlace config/install.py \
4242 --replace /usr/bin/install_name_tool ${darwin.cctools}/bin/install_name_tool
4343 '';
4444+4545+ # Both OpenMPI and MPICH get confused by the sandbox environment and spew errors like this (both to stdout and stderr):
4646+ # [hwloc/linux] failed to find sysfs cpu topology directory, aborting linux discovery.
4747+ # [1684747490.391106] [localhost:14258:0] tcp_iface.c:837 UCX ERROR opendir(/sys/class/net) failed: No such file or directory
4848+ # These messages contaminate test output, which makes the quicktest suite to fail. The patch adds filtering for these messages.
4949+ patches = [ ./filter_mpi_warnings.patch ];
44504551 preConfigure = ''
4652 export FC="${gfortran}/bin/gfortran" F77="${gfortran}/bin/gfortran"