There seems to be a bug in the new version of SuperLU (see also http://opensees.berkeley.edu/community/ ... .php?t=387). It looks like someone has dropped a line in dgstrf.c, leaving variable iperm_r undefined under certain conditions.
true but they put it in the decleration of i_perm_r
int *iperm_r;
was changed in the latest code to:
int *iperm_r = NULL;
will see if the change you suggest does work .. after all the problem occurs on the windows version which is compiled using the bug-free vc++ compiler.
Actually the original code compiles just fine in VS.net and the problem does not occur in the release version of the program. I encountered it while running a time history analysis in a debug mode. In this case, time history analysis fails during the first step (a call to one of the functions using iperm_r, which definitely isn't defined at that time).