ttrying to disable "mpiexec -oversubscribe" - petsc-git-PKGBUILD - build templa… | |
git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD | |
Log | |
Files | |
Refs | |
--- | |
commit e4ebcf1b54558918e6b4563a60c4c74ad8a9efaa | |
parent 9ea9b0419bfe86269da385eecad76446f6621dd6 | |
Author: eDgar <eDgar_|at|_openmail.cc> | |
Date: Sun, 26 Sep 2021 13:39:15 -0500 | |
ttrying to disable "mpiexec -oversubscribe" | |
Diffstat: | |
M PKGBUILD | 7 ++++--- | |
1 file changed, 4 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/PKGBUILD b/PKGBUILD | |
t@@ -22,7 +22,7 @@ source=(git+${url}.git#branch=release | |
test_optdepends.sh) | |
sha512sums=('SKIP' | |
'b6a1d48aab1c2639a4c1cbd8b313ace253f1c36eedaa3de3508ffbd6060e1def9… | |
- 'e9ca635fde40291ae78c3985c03fe68f97ce4c2d15674ba776a3d3f820ef0d82b… | |
+ '77b257ea28a9f109c48c8447ab2db4204f6dba715626f15e916ec8f54c18d0158… | |
_config=linux-c-opt | |
_install_dir="/usr" | |
t@@ -84,6 +84,7 @@ generic_flags="${generic_flags} -O2" | |
export LANG=C | |
export OMPI_MCA_opal_cuda_support=0 | |
+export OMPI_MCA_mpi_oversubscribe=0 | |
unset PETSC_DIR | |
export PETSC_ARCH=${_config} | |
t@@ -109,8 +110,7 @@ build() { | |
--FFLAGS="$generic_flags" | |
--MAKEFLAGS=${MAKEFLAGS} | |
--LDFLAGS=${LDFLAGS} | |
- --with-environment-variables=0 | |
- --disable-environment-variables=1 | |
+ --with-environment-variables=1 | |
--with-cxx-dialect=auto | |
--with-mpi=1 | |
--with-pic=1 | |
t@@ -124,6 +124,7 @@ build() { | |
cd "${srcdir}"/"${_base}" | |
python ./configure ${CONFOPTS[@]} | |
make -s ${MAKEFLAGS} all | |
+ # MPIEXEC="$(which mpiexec) --nooversubscribe" make -s ${MAKEFLAGS} all | |
} | |
check() { |