nandor.sieben
11/25/2008 7:57:00 AM
> > I am not trying to run the executable compiled on the 32 bit machine.
> > I recompile
> > everything on the 64 bit machines.
>
> Why?
It is my own code. Since I have the source code it makes sense to
recompile and hope it
will be optimized for the new machine. I don't know if the 32 bit
executable would run on
the 64 bit machines but perhaps I should try that.
Could this piece of code be responsible?
extern "C"
{
void dsyev_ (const char *jobz,
const char *uplo,
const int &n,
double a[],
const int &lda,
double w[], double work[], int &lwork, int &info);
}
int
dsyev (const vector < vector < double > >&mat, vector < double
>&eval,
vector < vector < double > >&evec)
{
....
dsyev_ ("V", "U", n, a, n, w, work, lwork, info);
....
}
This is how I use the fortran lapack library. Perhaps the type sizes
change differently in C++ and in Fortran
when going from 32 bit to 64 bit.