[CIG-MC] CitComsS

Eh Tan tan2 at gps.caltech.edu
Fri Sep 29 11:27:13 PDT 2006


Hi Etienne,

It is a known issue of MPI-2 standard. See this link for more information.
<http://www-unix.mcs.anl.gov/mpi/mpich2/faq.htm#cxxseek>

The workaround is to set CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK when you run
configure. That is:

./configure CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK --prefix=$HOME/cig


Cheers,

--Eh Tan



Etienne Pallier wrote:

> Hello,
>
> I have a problem when "making" (make) CitComsS (on AMD 64 bit linux
> Fedora 5).
> The configuration step (./configure) was ok, but then the "make" step
> crashes when coming to MPI binding.
> We are using MPICH2. Should we use MPICH1 instead ?
> Have you got an idea why ?
> Thank you.
> Here is the "make" log :
>
> ...
> make[6]: Entering directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages/mpi'
> Making all in mpipython
> make[7]: Entering directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages/mpi/mpipython'
> if mpicxx -DHAVE_CONFIG_H -I. -I. -I../../..
> -I/usr/include/python2.4  
> -I/tmp/citcom/CitcomS-2.0.2/pythia-0.8/include   -g -O2 -MT
> mpipython.o -MD -MP -MF ".deps/mpipython.Tpo" -c -o mpipython.o
> mpipython.cc; \
> then mv -f ".deps/mpipython.Tpo" ".deps/mpipython.Po"; else rm -f
> ".deps/mpipython.Tpo"; exit 1; fi
> Dans le fichier inclus à partir de /opt/mpi/include/mpi.h:1104,
>          à partir de mpipython.cc:16:
> /opt/mpi/include/mpicxx.h:26:2: erreur: #error "SEEK_SET is #defined
> but must not be for the C++ binding of MPI"
> /opt/mpi/include/mpicxx.h:30:2: erreur: #error "SEEK_CUR is #defined
> but must not be for the C++ binding of MPI"
> /opt/mpi/include/mpicxx.h:35:2: erreur: #error "SEEK_END is #defined
> but must not be for the C++ binding of MPI"
> make[7]: *** [mpipython.o] Erreur 1
> make[7]: Leaving directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages/mpi/mpipython'
> make[6]: *** [all-recursive] Erreur 1
> make[6]: Leaving directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages/mpi'
> make[5]: *** [all] Erreur 2
> make[5]: Leaving directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages/mpi'
> make[4]: *** [all-recursive] Erreur 1
> make[4]: Leaving directory
> `/tmp/citcom/CitcomS-2.0.2/pythia-0.8/packages'
> make[3]: *** [all-recursive] Erreur 1
> make[3]: Leaving directory `/tmp/citcom/CitcomS-2.0.2/pythia-0.8'
> make[2]: *** [all] Erreur 2
> make[2]: Leaving directory `/tmp/citcom/CitcomS-2.0.2/pythia-0.8'
> make[1]: *** [all-recursive] Erreur 1
> make[1]: Leaving directory `/tmp/citcom/CitcomS-2.0.2'
> make: *** [all] Erreur 2
>



More information about the CIG-MC mailing list