freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freepooma-devel] Parallel Pooma (Repeated request)


From: Richard Guenther
Subject: Re: [Freepooma-devel] Parallel Pooma (Repeated request)
Date: Fri, 2 Jun 2006 17:25:19 +0200 (CEST)

On Fri, 2 Jun 2006, Svilen Sabchevski wrote:

Dear colleagues,

After building sucessfully a serial version of the POOMA
now I am trying to do the same with the parallel one
using MPICH2.

Although the configure ended without problems (see the attached log
file) the compilation produced an error at the very beginning. See the
attached file for the error messages.

Any comment and/or suggestion how to solve the problem would be
greatly appreciated.

The log file got filtered away.  Can you put it online somewhere or
paste the relevant parts in plain-text?
Thanks,
Richard.


Thanks Richard,

Following your suggestion I am pasting below the plane text of the
log file and the error messages.

Ok, I know the problem ;)  You need to figure out how to disable
inclusion of the C++ mpi bindings (mpicxx.h)

In file included from /home/mpich2-install/include/mpi.h:1120,
                from 
/home/p_freepooma-2.4.1/src/Threads/IterateSchedulers/SerialAsync.h:66,
                from /home/p_freepooma-2.4.1/src/Threads/Scheduler.h:84,
                from /home/p_freepooma-2.4.1/src/Threads/PoomaSmarts.h:39,
                from /home/p_freepooma-2.4.1/src/Pooma/Pooma.h:95,
                from src/Connect/Paws/PawsAppPointer.cmpl.cpp:24:
/home/mpich2-install/include/mpicxx.h:26:2: #error "SEEK_SET is #defined but must 
not be for the C++ binding of MPI"
/home/mpich2-install/include/mpicxx.h:30:2: #error "SEEK_CUR is #defined but must 
not be for the C++ binding of MPI"
/home/mpich2-install/include/mpicxx.h:35:2: #error "SEEK_END is #defined but must 
not be for the C++ binding of MPI"
In file included from /home/mpich2-install/include/mpi.h:1120,
                from 
/home/p_freepooma-2.4.1/src/Threads/IterateSchedulers/SerialAsync.h:66,
                from /home/p_freepooma-2.4.1/src/Threads/Scheduler.h:84,
                from /home/p_freepooma-2.4.1/src/Threads/PoomaSmarts.h:39,
                from /home/p_freepooma-2.4.1/src/Pooma/Pooma.h:95,
                from src/Connect/Paws/PawsAppPointer.cmpl.cpp:24:
/home/mpich2-install/include/mpicxx.h: In member function `virtual void 
MPI::Datatype::Commit()':
/home/mpich2-install/include/mpicxx.h:151: error: exception handling disabled, 
use -fexceptions to enable
Command exited with non-zero status 1
0.63user 0.09system 0:00.65elapsed 111%CPU (0avgtext+0avgdata 
187728maxresident)k
0inputs+0outputs (11709major+0minor)pagefaults 0swaps

which is included from mpi.h.  Look for a header guard in mpicxx.h and
#define it at the beginning of the #if POOMA_MPI in src/Tulip/Messaging.h like f.i. the following which I need for LAM:

#if POOMA_MPI
# define MPIPP_H  // prevent lam mpicxx.h from being included
# include "Tulip/CheetahSerialize.h"
# include <mpi.h>
#endif

Maybe this get's you going further.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]