Hi,
I have some problems with ScaLAPACK. I can compile and link (mpif77) all the test programs and everything works fine. But if I want to compile and link a Fortran 90 program, it fails:
[...]: In function 'MAIN_':
: undefined reference to 'blacs_get_'
[...]
*[...]: In function 'pxerbla_':
: undefined reference to 's_wsfe'
etc.
I think this is a problem from the compilers: g77 (GNU gcc) <-> f90 (Sun Studio). If I take the g95-compiler, it fails too (at *):
[...]: In function 'pxerbla_':
: undefined reference to 's_wsfe'
etc.
Any suggestions how I can solve it? Or is this a bug:
http://www.hku.hk/cc/sp2/software/mpi/R ... pif90.html
http://www.theochem.rub.de/~axel.kohlme ... linux.html ?
I have already changed CDEFS from -Df77IsF2C to -Add_, but nothing changed. What can I do? Can anybody help?

