This is how I configure it:
./configure --enable-mpi --enable-amr --enable-vsmoother --enable-dirichlet
--enable-nodeconstraint --enable-parmesh --enable-pfem --enable-ifem
--enable-second --enable-examples --enable-boost --enable-petsc
--enable-periodic --enable-tetgen --enable-triangle --enable-vtk
--with-boost=/usr/local
--with-mpi=/home/miguel/petsc-3.4.4/externalpackages/openmpi-1.6.4
--with-vtk-include=/usr/local/include/vtk-6.1
--with-vtk-lib=/usr/local/lib/ --disable-slepc --disable-eigen
--disable-pthreads
--with-cxx=/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpicxx
--with-cc=/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpicc
--with-fc=/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpif90
--disable-exodus-fortran
And this is the summary I get:
----------------------------------- SUMMARY
-----------------------------------
Package version.................... : libmesh-1.0.0-pre
C++ compiler type.................. : gcc4.8
C++ compiler....................... :
/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpicxx
C compiler......................... :
/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpicc
Fortran compiler................... :
/home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpif90
Build Methods...................... : dbg devel opt
CPPFLAGS...(dbg)................... : -DDEBUG -D_GLIBCXX_DEBUG
-D_GLIBCXX_DEBUG_PEDANTIC
CXXFLAGS...(dbg)................... : -O0 -felide-constructors -g -ansi
-pedantic -W -Wall -Wextra -Wno-long-long -Wunused -Wpointer-arith -Wformat
-Wparentheses -Woverloaded-virtual -fopenmp
CFLAGS.....(dbg)................... : -g -Wimplicit -fopenmp
CPPFLAGS...(devel)................. :
CXXFLAGS...(devel)................. : -O2 -felide-constructors -g -ansi
-pedantic -W -Wall -Wextra -Wno-long-long -Wunused -Wpointer-arith -Wformat
-Wparentheses -Wuninitialized -funroll-loops -fstrict-aliasing
-Woverloaded-virtual -Wdisabled-optimization -fopenmp
CFLAGS.....(devel)................. : -O2 -g -Wimplicit -funroll-loops
-fstrict-aliasing -fopenmp
CPPFLAGS...(opt)................... : -DNDEBUG
CXXFLAGS...(opt)................... : -O2 -felide-constructors
-funroll-loops -fstrict-aliasing -Wdisabled-optimization -fopenmp
CFLAGS.....(opt)................... : -O2 -funroll-loops -fstrict-aliasing
-fopenmp
Install dir........................ : /usr/local
Build user......................... : miguel
Build host......................... : miguel-Precision-WorkStation-T3500
Build architecture................. : x86_64-unknown-linux-gnu
Git revision....................... :
40b5c431f7a28637e6e401d9324706ce220354ad
Library Features:
library warnings................. : yes
adaptive mesh refinement......... : yes
blocked matrix/vector storage.... : no
complex variables................ : no
example suite.................... : yes
ghosted vectors.................. : yes
high-order shape functions....... : yes
unique-id support................ : no
id size (boundaries)............. : 2 bytes
id size (dofs)................... : 4 bytes
id size (processors)............. : 2 bytes
id size (subdomains)............. : 2 bytes
infinite elements................ : yes
Dirichlet constraints............ : yes
node constraints................. : yes
parallel mesh.................... : yes
performance logging.............. : no
periodic boundary conditions..... : yes
reference counting............... : yes
shape function 2nd derivatives... : yes
stack trace files................ : no
track node valence............... : yes
variational smoother............. : yes
xdr binary I/O................... : yes
Optional Packages:
boost............................ : yes
cppunit.......................... : no
eigen............................ : no
exodus........................... : yes
version....................... : v5.22
fparser.......................... : yes
build from version............ : release
glpk............................. : yes
gmv.............................. : yes
gzstream......................... : yes
hdf5............................. : yes
laspack.......................... : no
libhilbert....................... : yes
metis............................ : yes
mpi.............................. : yes
nanoflann........................ : yes
nemesis.......................... : yes
version....................... : v5.22
netcdf........................... : yes
version....................... : 4
openmp........................... : yes
parmetis......................... : yes
petsc............................ : yes
version....................... : 3.4.4
pthreads......................... : no
sfcurves......................... : no
slepc............................ : no
tbb.............................. : yes
c++ threads...................... : yes
flavor........................ : tbb::tbb_thread
c++ rtti ........................ : yes
tecio............................ : yes
tecplot...(vendor binaries)...... : no
tetgen........................... : yes
triangle......................... : no
trilinos......................... : no
vtk.............................. : no
libmesh_optional_INCLUDES........ : -I/usr/include
-I/home/miguel/petsc-3.4.4/include
-I/home/miguel/petsc-3.4.4/arch-linux2-c-debug/include -I/usr/local/include
libmesh_optional_LIBS............ : -L/lib -lhdf5 -Wl,-rpath,/lib
-L/usr/lib -lglpk -lz -ltbb -ltbbmalloc
-L/home/miguel/petsc-3.4.4/arch-linux2-c-debug/lib -lpetsc -llapack -lblas
-lX11 -lm -Wl,-rpath,/home/miguel/petsc-3.4.4/arch-linux2-c-debug/lib
-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.8
-L/usr/lib/gcc/x86_64-linux-gnu/4.8 -Wl,-rpath,/usr/lib/x86_64-linux-gnu
-L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu
-L/lib/x86_64-linux-gnu -lmpi_cxx -lstdc++ -lmpi -lrt -lnsl -lutil -lgcc_s
-lpthread -ldl
-------------------------------------------------------------------------------
Configure complete, now type 'make' and then 'make install'.
---------------------------------------------
--------- Done Configuring libMesh ----------
---------------------------------------------
On Wed, May 14, 2014 at 2:48 PM, Roy Stogner <[email protected]>wrote:
>
> On Wed, 14 May 2014, Miguel Angel Salazar de Troya wrote:
>
> src/base/libmesh.C:477:24: error: invalid conversion from 'int' to
>> 'MPI_Comm {aka ompi_communicator_t*}' [-fpermissive]
>> PETSC_COMM_WORLD = libMesh::GLOBAL_COMM_WORLD;
>>
>
> It looks as if somehow you're using MPI-configured PETSc but libMesh
> got configured with MPI disabled?
> ---
> Roy
>
--
*Miguel Angel Salazar de Troya*
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
[email protected]
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users