[mvapich-discuss] Compile mvapich-0.9.8 with icc on ia64
Sylvain Jeaugey
sylvain.jeaugey at bull.net
Thu Jan 11 04:48:42 EST 2007
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
More information about the mvapich-discuss
mailing list