Hello Tim, just try to add these three lines into your "libmesh_common.h" just before "# include <mpi.h>" around line 38 :
#undef SEEK_SET #undef SEEK_END #undef SEEK_CUR The problem is some sort of mpi bug. Tim Kroeger wrote: > Dear libMesh team, > > after a long time of not using libMesh, I plan to use it again in the > near future -- and am looking forward to using distributed meshes. > > I checked out the svn head and tried to compile, but I got this: > > > Compiling C++ (in optimized mode) src/base/dof_map.C... > In Datei, eingefügt von > /home/tim/archives/packages/mpich2-1.0.5p4/src/include/mpi.h:1104, > von > /home/tim/fem-libs/libMesh/libmesh-svn/libmesh/include/base/libmesh_common.h:39, > > > von > /home/tim/fem-libs/libMesh/libmesh-svn/libmesh/include/numerics/coupling_matrix.h:29, > > > von src/base/dof_map.C:27: > /home/tim/archives/packages/mpich2-1.0.5p4/src/include/mpicxx.h:27:2: > Fehler: #error "SEEK_SET is #defined but must not be for the C++ > binding of MPI" > /home/tim/archives/packages/mpich2-1.0.5p4/src/include/mpicxx.h:31:2: > Fehler: #error "SEEK_CUR is #defined but must not be for the C++ > binding of MPI" > /home/tim/archives/packages/mpich2-1.0.5p4/src/include/mpicxx.h:36:2: > Fehler: #error "SEEK_END is #defined but must not be for the C++ > binding of MPI" > make: *** [src/base/dof_map.i686-pc-linux-gnu.opt.o] Fehler 1 > > > I remember that I had gotten something similar before, but I can't > remember what the solution was. Can you help me? > > Best Regards, > > Tim > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > ------------------------------------------------------------------------ > > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users > -- DI Loris Nagler Institute of Applied Mechanics Tel: +43/(0)316/873-7606 Graz University of Technology Fax: +43/(0)316/873-7641 Technikerstr. 4/II e-mail: [EMAIL PROTECTED] 8010 Graz http://www.mech.TUGraz.at ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
