Hi all,
I am getting the following warning from each process when initialising a BLACS context/grid in my F90 code:
BLACS ERROR 'Users with C main programs must explicitly call MPI_Init'
from {-1,-1}, pnum=0, Contxt=-1, on line -1 of file 'SRC/MPI/blacs_pinfo_.c'.
I am getting this warning with both MPICH and MPICH2 on two different compilers (Portland and Pathscale).
These are the offending lines in the code with appropriately initialised variables (the error occurs after execution of the first line):
call blacs_get(0,0,context)
call blacs_gridinit(context,'Row',grid_rows,grid_columns)
call blacs_gridinfo(context,grid_rows,grid_columns,process_row,process_column)
Would love if someone can comment on what may be causing this problem.
Thanks in advance.....

