On Thu, 22 Dec 2005, Stefano wrote:
> But it seems that --with-mpi=0 is not unsderstood
> cause compiling
> I get:
> src/mesh/mesh_communication.C: In member function
> `void MeshCommunication::broadcast_bcs(MeshBase&,
> BoundaryInfo&) const':
> src/mesh/mesh_communication.C:348: error:
> `MPI_UNSIGNED_SHORT' undeclared (first use this
> It seems that HAVE_MPI is defined ...
> As I can see, the mpi settings are inherited from
> petsc, where mpi is disabled!
> Any hint?
Would you try "--disable-mpi" and see if the same error happens?
> BTW, at each file compile I have the following
> src/mesh/matlab_io.C:1: warning: -fPIC ignored for
> target (all code is position independent)
This shouldn't be a problem; for some reason your compiler is just
telling you that it's making shared-library-compatible code regardless
of the flags telling it to do so, not because of them.