<html style="direction: ltr;"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true" bgcolor="#FFFFFF" text="#000000">
Greetings MPICH experts,<br>
<br>
I've run code with MPICH often on my Macbook Pro (4 cores), but not
lately. Recently I updated MPICH from Macports, preparing for new
running. Now my code doesn't compile. Do you know this error
message:<br>
------<br>
<font face="Courier New, Courier, monospace">mpicc -c -O3 -DMPI
-DPRECISION=2 -I. -DNHYP -DLU ../generic/com_mpi.c<br>
In file included from ../generic/com_mpi.c:104:<br>
/opt/local/include/mpich-clang37/mpi.h:116:56: error: expected
identifier<br>
static const MPI_Datatype mpich_mpi_char
MPICH_ATTR_TYPE_T...<br>
^<br>
/opt/local/include/mpich-clang37/mpi.h:24:106: note: expanded from
macro<br>
'MPICH_ATTR_TYPE_TAG'<br>
...__attribute__((type_tag_for_datatype(MPI,type)))<br>
^<br>
<command line>:1:13: note: expanded from here<br>
#define MPI 1<br>
^</font><br>
-----<br>
and then there is a sequence of similar messages, all regarding
mpi.h. The compilation halts after 20 messages.<br>
<br>
I originally tried this with mpich-default, with the same result. I
wondered if it had to do with an incompatibility with clang, so I
installed mpich-clang37 @3.1.4_1+gcc49, with the above result.<br>
<br>
The same code still runs on current MPICH and MVAPICH installations
on several systems.<br>
<br>
Thanks for your help,<br>
Ben<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Prof. Benjamin Svetitsky Phone: +972-3-640 8870
School of Physics and Astronomy Fax: +972-3-640 7932
Tel Aviv University E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bqs@julian.tau.ac.il">bqs@julian.tau.ac.il</a>
69978 Tel Aviv, Israel WWW: <a class="moz-txt-link-freetext" href="http://julian.tau.ac.il/bqs">http://julian.tau.ac.il/bqs</a>
</pre>
</body>
</html>