Greetings MPICH experts,
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:
------
mpicc -c -O3 -DMPI -DPRECISION=2 -I. -DNHYP -DLU ../generic/com_mpi.c
In file included from ../generic/com_mpi.c:104:
/opt/local/include/mpich-clang37/mpi.h:116:56: error: expected identifier
static const MPI_Datatype mpich_mpi_char MPICH_ATTR_TYPE_T...
^
/opt/local/include/mpich-clang37/mpi.h:24:106: note: expanded from macro
'MPICH_ATTR_TYPE_TAG'
...__attribute__((type_tag_for_datatype(MPI,type)))
^
<command line>:1:13: note: expanded from here
#define MPI 1
^
-----
and then there is a sequence of similar messages, all regarding mpi.h. The compilation halts after 20 messages.
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.
The same code still runs on current MPICH and MVAPICH installations on several systems.
Thanks for your help,
Ben
-- Prof. Benjamin Svetitsky Phone: +972-3-640 8870 School of Physics and Astronomy Fax: +972-3-640 7932 Tel Aviv University E-mail: bqs@julian.tau.ac.il 69978 Tel Aviv, Israel WWW: http://julian.tau.ac.il/bqs
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss