[gmx-developers] MPI has not been initialized properly
David van der Spoel
spoel at xray.bmc.uu.se
Thu Dec 5 16:23:25 CET 2013
On 2013-12-05 16:07, David van der Spoel wrote:
> I have a problem running a test program using mpirun:
>
> MPI has not been initialized properly
> this arises during init_commrec()
>
> The code is compiled and linked using mpicc:
>
> % otool -L mmslave_test
> mmslave_test:
> @rpath/libgromacs_mpi.8.dylib (compatibility version 8.0.0, current
> version 0.0.0)
> /opt/local/lib/libmpi.1.dylib (compatibility version 3.0.0, current
> version 3.2.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1197.1.1)
>
> Any clue?
>
> Thanks!
OK, I found it. One has to call MPI_Init() of course.
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list