Page 1 of 1

pro0blem compiling scalapack on fortran 90

PostPosted: Fri Aug 06, 2010 12:13 pm
by jsrassa
Hello, I would really appreciate your help with this problem: I am trying to compile and run a fortran 90 code in ubuntu but as I try to run the program,there appears this message:
blacs error `users with C main programs must explicitly call MPI_INIT`
I am compiling withthe following code:
gfortran scalapack_prb1.f90 -lscalapack-openmpi -lblacs-openmpi -lm

Thank you,
Juan Sebastian

Re: pro0blem compiling scalapack on fortran 90

PostPosted: Thu Aug 12, 2010 11:26 am
by admin
The link seems to missing some libraries
scalapack, blacsF77, blacs , blas and lapack are all needed. You just have 2 out of the 5.
Julie