From b95638c980f7d54695de49daa32a2adab9ee4513 Mon Sep 17 00:00:00 2001 From: giannozz Date: Tue, 22 Oct 2019 16:08:36 +0200 Subject: [PATCH] Default maximum number of processor for linear algebra set to the number of available processors and not half that much (if using ScaLAPACK), as proposed by Ye Luo in issue #8. --- LAXlib/mp_diag.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LAXlib/mp_diag.f90 b/LAXlib/mp_diag.f90 index dc8293f9e..ad399ede4 100644 --- a/LAXlib/mp_diag.f90 +++ b/LAXlib/mp_diag.f90 @@ -98,7 +98,7 @@ CONTAINS ! no command-line argument -ndiag N or -northo N is present ! insert here custom architecture specific default definitions #if defined __SCALAPACK - nproc_ortho_try = MAX( parent_nproc/2, 1 ) + nproc_ortho_try = MAX( parent_nprocs, 1 ) #else nproc_ortho_try = 1 #endif