[openib-general] mvapich-gen2 IA64 compile problem
Dhabaleswar Panda
panda at cse.ohio-state.edu
Wed Oct 12 10:01:30 PDT 2005
Hi John,
> I am compiling mvapich-gen2 on a IA64 (SGI Altix) and have hit an
> issue with ibverbs_const.h DEFAULT_MTU is defined for IA32, X86_64
> and EM64T, but not IA64, so please may I propose this small patch to
> fix this problem :-
Thanks for your note and the patch. We have not done extensive testing
of current mvapich-gen2 for IA64 platform (we have done it for other
platforms). We will incorporate your patch, test it out, and push it
out to the OpenIB/SVN soon.
Thanks again for sending us the patch.
Thanks,
DK
>
> --- ibverbs_const.h 2005-10-10 15:43:41.615100090 -0500
> +++ ibverbs_const.h-johnip 2005-10-10 15:46:14.696637248 -0500
> @@ -20,11 +20,10 @@
> #define DEFAULT_MAX_RECV_WQE (300)
> #define DEFAULT_MAX_SEND_SGE (1)
> #define DEFAULT_MAX_RECV_SGE (1)
> -#if defined(_IA32_) || defined(_X86_64_)
> -#define DEFAULT_MTU (IBV_MTU_1024)
> -#endif
> #if defined(_EM64T_)
> #define DEFAULT_MTU (IBV_MTU_2048)
> +#else
> +#define DEFAULT_MTU (IBV_MTU_1024)
> #endif
> #define DEFAULT_MAX_RDMA_SIZE (1048576)
> #define DEFAULT_PSN (0)
>
> So the new code would look like this :-
>
> #if defined(_EM64T_)
> #define DEFAULT_MTU (IBV_MTU_2048)
> #else
> #define DEFAULT_MTU (IBV_MTU_1024)
> #endif
>
> John
>
> --
> John Partridge
>
> Silicon Graphics Inc
> Tel: 651-683-3428
> Vnet: 233-3428
> E-Mail: johnip at sgi.com
>
More information about the general
mailing list