I was told that the trunk version of libmesh 
has been upgraded to work with the Cxx version of petsc.
I am still seeing the "SEEK_SET" error. What compiler version MPI
version has SEEK_SET been fixed for?
I am using MPICH2 with gcc 4.3.1


wget 
ftp://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-2.3.3-p13.tar.gz
configuring petsc with
config/configure.py --download-f-blas-lapack=ifneeded --with-mpi-dir=$MPI_DIR 
--with-clanguage=C++ --with-shared=1



wget 
http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/mpich2-1.0.7.tar.gz
configure mpich2 with
$MPI_SOURCE/configure --prefix=$MPI_DIR --enable-sharedlibs=gcc


svn checkout https://libmesh.svn.sourceforge.net/svnroot/libmesh/trunk/libmesh 
configure libmesh with
./configure --enable-everything --with-vtk-lib=/usr/lib64

Compiling C++ (in debug mode) src/base/dof_map_constraints.C...
In file included from 
/home/dfuentes/LIBRARIES/MPI/mpich2-1.0.7-gcc-4.3.1/include/mpi.h:1142,
                  from 
/home/dfuentes/DDDAS/trunk/libmesh/include/base/libmesh_common.h:31,
                  from 
/home/dfuentes/DDDAS/trunk/libmesh/include/base/dof_map.h:33,
                  from src/base/dof_map_constraints.C:27:
/home/dfuentes/LIBRARIES/MPI/mpich2-1.0.7-gcc-4.3.1/include/mpicxx.h:26:2: 
error: #error "SEEK_SET is #defined but must not be for the C++ binding of 
MPI"
/home/dfuentes/LIBRARIES/MPI/mpich2-1.0.7-gcc-4.3.1/include/mpicxx.h:30:2: 
error: #error "SEEK_CUR is #defined but must not be for the C++ binding of 
MPI"
/home/dfuentes/LIBRARIES/MPI/mpich2-1.0.7-gcc-4.3.1/include/mpicxx.h:35:2: 
error: #error "SEEK_END is #defined but must not be for the C++ binding of 
MPI"
In file included from 
/home/dfuentes/LIBRARIES/MPI/mpich2-1.0.7-gcc-4.3.1/include/mpi.h:1142,
                  from 
/home/dfuentes/DDDAS/trunk/libmesh/include/base/libmesh_common.h:31,
                  from 
/home/dfuentes/DDDAS/trunk/libmesh/include/base/dof_map.h:33,
                  from src/base/dof_map_constraints.C:27:





thanks,
df

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to