[mvapich-discuss] error compiling MVAPICH2-2.3a ch3:sock on CentOS 7.2

Hari Subramoni subramoni.1 at osu.edu
Tue Apr 25 17:00:26 EDT 2017


Thank you. We will take this in. It should be available with the next
release of MVAPICH2.

Regards,
Hari.


On Tue, Apr 25, 2017 at 4:56 PM, Isaac Carroll <ICarroll at lightfleet.com>
wrote:

> Here is the patch:
>
>
>
> --- /dev/fd/63  2017-04-25 13:54:06.855825165 -0700
>
> +++ mvapich2-2.3a/src/mpid/ch3/channels/sock/include/mpidi_ch3_pre.h
> 2017-04-13 14:27:39.273178714 -0700
>
> @@ -27,6 +27,12 @@
>
> MPIDI_CH3I_PKT_SC_OPEN_RESP,                   \
>
> MPIDI_CH3I_PKT_SC_CLOSE
>
>
>
> +#define MPIDI_CH3_PKT_ENUM_TYPE_TO_STRING                       \
>
> +    [MPIDI_CH3I_PKT_SC_OPEN_REQ] = "MPIDI_CH3I_PKT_SC_OPEN_REQ",
> \
>
> +    [MPIDI_CH3I_PKT_SC_CONN_ACCEPT] = "MPIDI_CH3I_PKT_SC_CONNACCEPT",
>      \
>
> +    [MPIDI_CH3I_PKT_SC_OPEN_RESP] = "MPIDI_CH3I_PKT_SC_OPEN_RESP",
> \
>
> +    [MPIDI_CH3I_PKT_SC_CLOSE] = "MPIDI_CH3I_PKT_SC_CLOSE",
>
> +
>
> typedef struct {
>
>      int dummy;  /* dummy variable to ensure we don't have an empty
> structure */
>
> } MPIDI_CH3I_CH_comm_t;
>
>
>
> *From:* hari.subramoni at gmail.com [mailto:hari.subramoni at gmail.com] *On
> Behalf Of *Hari Subramoni
> *Sent:* Tuesday, April 25, 2017 1:39 PM
>
> *To:* Isaac Carroll
> *Cc:* mvapich-discuss at cse.ohio-state.edu
> *Subject:* Re: [mvapich-discuss] error compiling MVAPICH2-2.3a ch3:sock
> on CentOS 7.2
>
>
>
> Hi Issac,
>
>
>
> You can reply back to the e-mail thread with the patch.
>
>
>
> Thx,
> Hari.
>
>
>
> On Tue, Apr 25, 2017 at 4:36 PM, Isaac Carroll <ICarroll at lightfleet.com>
> wrote:
>
> I’d be happy to contribute the patch. What’s the best way to do that?
>
>
>
> *From:* hari.subramoni at gmail.com [mailto:hari.subramoni at gmail.com] *On
> Behalf Of *Hari Subramoni
> *Sent:* Monday, April 24, 2017 8:52 PM
>
>
> *To:* Isaac Carroll
> *Cc:* mvapich-discuss at cse.ohio-state.edu
> *Subject:* Re: [mvapich-discuss] error compiling MVAPICH2-2.3a ch3:sock
> on CentOS 7.2
>
>
>
> Hi Isaac,
>
>
>
> This is good to know. If you would like to contribute the patch back to
> us, we can make it available with the next release of MVAPICH2 (with
> appropriate credits).
>
>
>
> Regards,
>
> Hari.
>
>
>
> On Thu, Apr 20, 2017 at 12:27 PM, Isaac Carroll <ICarroll at lightfleet.com>
> wrote:
>
> Thank you, yes I was able to compile successfully with the nemesis tcp
> interface.
>
>
>
> When I looked into the code I discovered that MPIDI_CH3_PKT_ENUM_TYPE_TO_STRING
> is not declared for ch3:sock, but when I put in what looked correct (based
> on the code for the nemesis tcp interface) it compiled successfully.
>
>
>
> *From:* hari.subramoni at gmail.com [mailto:hari.subramoni at gmail.com] *On
> Behalf Of *Hari Subramoni
> *Sent:* Thursday, April 20, 2017 9:23 AM
> *To:* Isaac Carroll
> *Cc:* mvapich-discuss at cse.ohio-state.edu
> *Subject:* Re: [mvapich-discuss] error compiling MVAPICH2-2.3a ch3:sock
> on CentOS 7.2
>
>
>
> Hello Isaac,
>
>
>
> Sorry to hear that you're facing compilation issues with the ch3:sock
> interface. We will take a look at this and get back to you soon. In the
> mean time, can you please use the nemesis tcp interface?
>
>
>
> Regards,
>
> Hari.
>
>
>
> On Thu, Apr 13, 2017 at 5:37 PM, Isaac Carroll <ICarroll at lightfleet.com>
> wrote:
>
> I am running into the following problem when trying to compile
> MVAPICH2-2.3a on CentOS 7.2 . I used configure option
> --with-device=ch3:sock to compare performance over standard ethernet. I get
> this error:
>
>   CC       src/mpid/ch3/src/lib_libmpi_la-mpid_init.lo
> src/mpid/ch3/src/mpid_init.c:205:5: error: ‘MPIDI_CH3_PKT_ENUM_TYPE_TO_STRING’
> undeclared here (not in a function)
>      MPIDI_CH3_PKT_ENUM_TYPE_TO_STRING
>      ^
> make[2]: *** [src/mpid/ch3/src/lib_libmpi_la-mpid_init.lo] Error 1
>
> Am I missing a dependency somewhere?
>
> _______________________________________________
> 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/20170425/1910821a/attachment.html>


More information about the mvapich-discuss mailing list