Andre! Are you able to compile a c++ program using mpich2?
I am not sure it is related but we figured that we needed to load the (open)mpi library before we loaded the compiled module. This is done in: dolfin/common/dynamicloadmpi.py We might need to alter this, but I have no clue of how, as it should presumable load the mpich2 library if libmpi.so points to mpich2. Johan On Monday October 11 2010 06:04:07 Andre Massing wrote: > Hi! > > I tried to use DOLFIN mpich2 on my Mac OS X, but the swig generated > python bindings are > broken with mpich2: Loading _cpp.so during the import results into the > following error message: > > Attempting to use an MPI routine before initializing MPICH2 > > I got a similar file when compiling dolfin using MPICH2 on Ubuntu Lucid: > >>> import dolfin > > Fatal error in MPI_Comm_test_inter: Invalid communicator, error stack: > MPI_Comm_test_inter(110): MPI_Comm_test_inter(comm=0x1cf92200, > flag=0x7fffd831c57c) failed > MPI_Comm_test_inter(67).: Invalid communicator > > Is this a known issue? I could not find a related bug report... > > Andre > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

