Skip to content
Snippets Groups Projects
Commit a94b94b2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Removed static vars from lapack

It seems the lapack routine I took from gromacs are not threadsafe.
Indeed, routines slasq5 and dlasq5 contained static variables.
I removed all of them and everything seems to still work correctly.
This seems to solve the problem that @gtribello
found in his no-buffer branch.
parent 3d208a5a
No related branches found
No related tags found
No related merge requests found
......@@ -12206,9 +12206,9 @@ PLUMED_BLAS_F77_FUNC(dlasq5,DLASQ5)(int *i0,
int i__1;
double d__1, d__2;
 
static double d__;
static int j4, j4p2;
static double emin, temp;
double d__;
int j4, j4p2;
double emin, temp;
 
--z__;
 
......@@ -31035,9 +31035,9 @@ PLUMED_BLAS_F77_FUNC(slasq5,SLASQ5)(int *i0,
int i__1;
float d__1, d__2;
 
static float d__;
static int j4, j4p2;
static float emin, temp;
float d__;
int j4, j4p2;
float emin, temp;
 
--z__;
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment