Selon Rainer Hurling <rhur...@gwdg.de> le jeu  3 fév 14:19:16 2011 :

Ok, so I usually have to take care to link libraries like libmpl, libopa etc. in addition to libmpich (or using the wrappers if possible).

Yes, this is the idea. Note: libopa is rarely needed.

Yet another solution could be to configure mpich2 with
--enable-lib-depend, but this is experimental...

What would be the consequence of configuring mpich2 with --enable-lib-depend? Would dependencies like libmpl be more integrated in libmpich?

This is based on inter-library dependencies. This is experimental and
only for shared library builds at this time. It causes libmpich.so to
depend on libmpl.so and libopa.so. Once you do that, you can just link
to libmpich.so, and it'll automatically pick the remaining libraries as
needed.

Remark: these explanations come from the authors.
--
Th. Thomas.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to