Disable reallocation of work array in xSYTRF
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 28 Apr 2019 08:02:28 +0000 (10:02 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2019 08:02:28 +0000 (10:02 +0200)
as it appears to cause memory management problems (seen in the LAPACK tests)

relapack/config.h

index 9113a71..e4fab0a 100644 (file)
@@ -36,8 +36,8 @@
 // allow malloc in xsygst for improved performance
 #define XSYGST_ALLOW_MALLOC ALLOW_MALLOC
 // allow malloc in xsytrf if the passed work buffer is too small
-#define XSYTRF_ALLOW_MALLOC ALLOW_MALLOC
-
+//#define XSYTRF_ALLOW_MALLOC ALLOW_MALLOC
+#define XSYTRF_ALLOW_MALLOC 0
 
 ////////////////////////////////
 // LAPACK routine replacement //