This is a problem when using enableMpi=no. Niclas: can you add some #idefs to PXMLFile.cpp so that dolfin compiles with enableMpi=no? I would suggest taking
#include "PXMLMesh.h" outside of the MPI ifdef in XMLFile.cpp and taking care of things in PXMLFile. Garth Ilmar Wilbers wrote: > This caused teh following error: > dolfin/io/XMLFile.cpp: In member function 'virtual void > dolfin::XMLFile::operator>>(dolfin::Mesh&)': > dolfin/io/XMLFile.cpp:95: error: expected type-specifier before 'PXMLMesh' > dolfin/io/XMLFile.cpp:95: error: cannot convert 'int*' to > 'dolfin::XMLObject*' in assignment > dolfin/io/XMLFile.cpp:95: error: expected `;' before 'PXMLMesh' > c++ -o dolfin/io/XMLMesh.os -c -Wall -pipe -ansi -DDEBUG -g -Werror > -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.8.0\" -DHAS_CHOLMOD=1 -fPIC -I. > -I/Users/ilmarw/local/include -I/sw/include -I/sw/include/libxml2 > -I/sw/include -I/sw/include/suitesparse dolfin/io/XMLMesh.cpp > scons: *** [dolfin/io/XMLFile.os] Error 1 > scons: building terminated because of errors. > > ilmar > > DOLFIN wrote: >> One or more new changesets pushed to the primary dolfin repository. >> A short summary of the last three changesets is included below. >> >> changeset: 4770:11fa454be7c9385028893287adeb4d9922a536ae >> tag: tip >> parent: 4768:75e859bab4836d8cad54eabacd8fcf5aa048ba05 >> parent: 4769:f633502acbb3bd5df45cf8529b3a322829f4ebba >> user: "Garth N. Wells <[EMAIL PROTECTED]>" >> date: Thu Sep 18 08:40:30 2008 +0100 >> files: >> description: >> merge. >> >> >> changeset: 4769:f633502acbb3bd5df45cf8529b3a322829f4ebba >> parent: 4765:92facb5436c56d798c234d88a01fb084b9be2c41 >> user: Niclas Jansson <[EMAIL PROTECTED]> >> date: Wed Sep 17 09:52:48 2008 +0200 >> files: dolfin/io/File.cpp dolfin/io/GenericFile.cpp >> dolfin/io/PVTKFile.cpp dolfin/io/PVTKFile.h dolfin/io/PXMLMesh.cpp >> dolfin/io/PXMLMesh.h dolfin/io/XMLFile.cpp >> dolfin/mesh/MPIMeshCommunicator.cpp dolfin/mesh/MPIMeshCommunicator.h >> dolfin/mesh/Mesh.cpp dolfin/mesh/Mesh.h dolfin/mesh/MeshData.cpp >> dolfin/mesh/MeshData.h dolfin/mesh/MeshPartition.cpp >> dolfin/mesh/MeshPartition.h >> description: >> Parallel XML parser and new VTK format (.pvtu). >> >> >> changeset: 4768:75e859bab4836d8cad54eabacd8fcf5aa048ba05 >> user: Anders Logg <[EMAIL PROTECTED]> >> date: Wed Sep 17 22:26:52 2008 +0200 >> files: dolfin/function/NewFunction.cpp dolfin/function/NewFunction.h >> description: >> More work on new Function class >> >> ---------------------------------------------------------------------- >> For more details, visit http://www.fenics.org/hg/dolfin >> _______________________________________________ >> DOLFIN-dev mailing list >> [email protected] >> http://www.fenics.org/mailman/listinfo/dolfin-dev > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev - _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
