Hi,
am trying to get example1.f to compile and run. I'm using ubuntu, 64bit, with the repository scalapack etc.
I have managed to get it compiling eventually, but when I do:
mpirun -np 6 ./example1
it doesn't seem to find the number of processes, and so thinks it is just a single rank process, which then means it fails.
Any help would be welcome... thanks.
My make command is:
mpif77 example1.f -o example1 -I/usr/include/mpi -L/usr/lib/mpich/lib -L/usr/lib/atlas -lmpich -lscalapack-mpich -lblacsF77init-mpich -lblacs-mpich -lblas -lpthread
And the output is:
p0_525: p4_error: : 1
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
p0_526: p4_error: : 1
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
p0_529: p4_error: : 1
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
p0_527: p4_error: : 1
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
BLACS ERROR 'Illegal grid (2 x 3), #procs=1'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'BLACS_GRIDINIT/BLACS_GRIDMAP'.
[0] MPI Abort by user Aborting program !
[0] Aborting program!
p0_530: p4_error: : 1

