From: Stefano <sbo...@ya...> - 2005-12-22 10:47:26
|
I am still struggling with the installation. After succesfully installing petsc and slepc, I configure libmesh with the command ./configure --enable-petsc --enable-slepc --with-mpi=0 But it seems that --with-mpi=0 is not unsderstood cause compiling src/mesh/mesh_communication.C... 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 function) It seems that HAVE_MPI is defined ... As I can see, the mpi settings are inherited from petsc, where mpi is disabled! Any hint? BTW, at each file compile I have the following warning: src/mesh/matlab_io.C:1: warning: -fPIC ignored for target (all code is position independent) Stefano --- Stefano <sbo...@ya...> wrote: > I am trying to (re)install libmesh under windows xp > / > cygwin. > For the moment I am not interested in mpi. > > I proceeded in the following order: > 1. install petsc > export PETSC_DIR=cygdrive/c/petsc-2.3.0 > ./config/configure.py --with-mpi=0 > make > make test > > results of the test are ok > > 2. install slepc > export SLEPC_DIR=cygdrive/c/slepc-2.3.0 > ./config/configure.py > > 3. install libmesh > should I use: > ./configure --disable-mpi --with-slepc > --with-petsc > or > ./configure --without-mpi --enbale-slepc > --enable-petsc > or a mix of the two? > > Anyway, in make.common pets is correctly set while > slepc is not enbaled (the slepcs_dir is correctly > set). Is it enough to edit make.common to link to > slepc? > > Thanks > Stefano > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users > |