# MPI tests are set up to run on 3 processes. N_MPI=3 export PRTE_MCA_plm_ssh_agent=/bin/false export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe export OMPI_MCA_btl_base_warn_component_unused=0 export PETSC_DIR=/usr/lib/petsc64 export SLEPC_DIR=/usr/lib/slepc64 PYVER=$(py3versions -sv) case " armel riscv64 " in \ *\ ${DEB_HOST_ARCH}\ *) PYVER=$(py3versions -dv);; \ esac for pyver in $PYVER; do echo "=== python $pyver 64-bit unit test (serial) ===" DOLFIN_LIB_NAME_EXT=64 python$pyver -m pytest python/test/unit/ done for pyver in $PYVER; do echo "=== python $pyver 64-bit unit test (MPI) ===" DOLFIN_LIB_NAME_EXT=64 mpirun -n ${N_MPI} python$pyver -m pytest python/test/unit/ --color=no done