[mvapich-discuss] Forcing PSM on a machine with both PSM and PSM2 libs

Hari Subramoni subramoni.1 at osu.edu
Tue Aug 2 18:27:15 EDT 2016


Hi Adam,

The "--with-psm" configure option takes am argument which is the path to
the psm library. Can you please mention the path and see if it works?

Thx,
Hari.

On Aug 2, 2016 5:50 PM, "Adam T. Moody" <moody20 at llnl.gov> wrote:

> Hello MVAPICH team,
>
> I have a machine that has both PSM and PSM2 installed.  I would like to
> create a build that links to PSM, but configure always picks PSM2 if it's
> available, even if I specify "--with-device=ch3:psm --with-psm".  I think
> the following patch would help, although I've not been able to test it yet.
>
>
> --- a/src/mpid/ch3/channels/psm/subconfigure.m4    2016-03-29
> 17:52:51.000000000 -0700
> +++ b/src/mpid/ch3/channels/psm/subconfigure.m4    2016-08-02
> 14:43:03.743895000 -0700
> @@ -60,6 +60,13 @@
>      AC_CHECK_LIB(psm2, psm2_init, , [
>      AC_MSG_ERROR(['psm2 library not found.  Did you specify --with-psm2=
> or --with-psm2-lib=?'])
>      ])
> +elif test "x$with_psm" != "x" ; then
> +    AC_CHECK_HEADER([psm.h], , [
> +     AC_MSG_ERROR(['psm.h not found.  Did you specify --with-psm= or
> --with-psm-include=?'])
> +    ])
> +    AC_CHECK_LIB(psm_infinipath, psm_init, , [
> +     AC_MSG_ERROR(['psm_infinipath library not found.  Did you specify
> --with-psm= or --with-psm-lib=?'])
> +    ])
>  else
>      AC_CHECK_HEADER([psm.h], [have_psm=yes], [have_psm=no])
>      AC_CHECK_HEADER([psm2.h], [have_psm2=yes], [have_psm2=no])
>
>
> Can you verify this?
>
> Thanks,
>
> -Adam
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20160802/0be783bd/attachment.html>


More information about the mvapich-discuss mailing list