[mvapich-discuss] Compile mvapich-0.9.8 with icc on ia64

Sayantan Sur surs at cse.ohio-state.edu
Thu Jan 11 11:56:00 EST 2007


Hello Sylvain,

Thanks a lot for sharing this patch! We'll add this to the trunk and
0.9.8 branch.

Sayantan.

* On Jan,1 Sylvain Jeaugey<sylvain.jeaugey at bull.net> wrote :
> Hi list,
> 
> Compilation of mpich-0.9.8 fails on ia64 with intel compiler (9.0/9.1). I 
> got it working using this patch :
> 
> --- viacheck.c.orig     2007-01-11 10:28:07.000000000 +0100
> +++ viacheck.c.icc      2007-01-11 10:32:40.000000000 +0100
> @@ -114,7 +114,11 @@
>  }
> 
>  #if defined(_IA64_)
> +#if defined(__INTEL_COMPILER)
> +#define RMB()  __mf();
> +#else
>  #define RMB()  asm volatile ("mf" ::: "memory");
> +#endif
>  #elif defined(_IA32_)
>  #define RMB()  asm volatile ("lfence" ::: "memory");
>  #elif defined(_X86_64_)
> 
> Sylvain
> 
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss

-- 
http://www.cse.ohio-state.edu/~surs


More information about the mvapich-discuss mailing list