Thanks a lot. The problem i have is that i have installed openmpi-1.2.7 and every thing went well and i tested hello_c and ring_c. But the problem now is that when i use open mpi's mpicc and mpic++ in my Makefile i get errors reported from inside openmpi's source code. I am attaching my Makefile and here I paste a snapshot of the errors I get:
=========================================================
In file included from /opt/openmpi/1.2.7/include/mpi.h:1795,
from stdaload.cpp:33: /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/mpicxx.h:136: parse error before `1' In file included from /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/mpicxx.h:168, from /opt/openmpi/1.2.7/include/mpi.h:1795, from stdaload.cpp:33: /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/functions.h:143: parse error before `1' In file included from /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/mpicxx.h:195, from /opt/openmpi/1.2.7/include/mpi.h:1795, from stdaload.cpp:33: /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/status.h:26: parse error before `::' /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/status.h:27: parse error before `::' /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/status.h:28: parse error before `::' /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/status.h:102: parse error before `1' In file included from /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/mpicxx.h:196, from /opt/openmpi/1.2.7/include/mpi.h:1795, from stdaload.cpp:33: /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/request.h:200: parse error before `1' /opt/openmpi/1.2.7/include/openmpi/ompi/mpi/cxx/request.h:206: parse error before `(' ... =========================================================
Please help me. I am being turtured by this errors and can't resolve them :-( --- On Wed, 9/17/08, Terry Frankcombe <terry@chem.gu.se> wrote: From: Terry Frankcombe <terry@chem.gu.se> |