16 Sep
2009
16 Sep
'09
4:38 a.m.
AlfC wrote:
ok I tried your code and MPI_Init-like version still works and boost::mpi::environment version doesn't (i.e. Blacs returns the wrong nprocs)
In fact the Blacs_pinfo returns just the same as if I don't define anything so effectivelly the boost::mpi::environment is doing nothing.
I even checked that boost::mpi::environment::initialized() is false before constructing boost::mpi::environment and true after, but still Blacs_pinfo reports as if MPI is not initialized.
What platform are you using? Are you sure that BLACS and boost::mpi are using the same MPI library? If BLACS is linked against a different MPI library, for example, then you might see something like this. HTH, Ian McCulloch