Hi guys,
Just wanted to chime in to say that all my development work happens on a Mac
workstation, and I work exclusively with clang. No problems so far.
For whatever it is worth, following are my configuration options:
PETSC_DIR=/Users/manav/Documents/codes/numerical_lib/petsc/real
SLEPC_DIR=/Users/manav/Documents/codes/numerical_lib/slepc/real
FC=gfortran-mp-4.7 F77=gfortran-mp-4.7 CC=clang CXX=clang++
CXXFLAGS="-I/opt/local/include/openmpi -I/opt/local/include/metis
-I/opt/local/include/vtk-5.10" CFLAGS="-I/opt/local/include/openmpi
-I/opt/local/include/metis" LIBS="-L/opt/local/lib -lmpi_cxx -lmpi" ./configure
--prefix=${PWD}/../ --enable-mpi --enable-dependency-tracking --enable-fortran
--enable-shared --enable-exceptions --disable-openmp
--disable-default-comm-world --enable-tracefiles --enable-amr
--enable-vsmoother --enable-periodic --enable-dirichlet --enable-parmesh
--enable-nodeconstraint --enable-ghosted --enable-pfem --enable-ifem
--enable-second --enable-xdr --enable-reference-counting --enable-perflog
--enable-examples --enable-boost --disable-trilinos --enable-tbb --enable-sfc
--enable-tecplot --enable-metis --enable-parmetis --enable-tetgen
--enable-triangle --enable-vtk --
enable-hdf5 --enable-libHilbert --enable-nanoflann --enable-exodus
--enable-netcdf --enable-petsc --enable-slepc --with-mpi=/opt/local
--with-trilinos=/usr/local/trilinos --with-tbb=/opt/local/tbb41_20121003oss
--with-metis=internal --with-hdf5=/opt/local
--with-vtk-lib=/opt/local/lib/vtk-5.10
--with-vtk-include=/opt/local/include/vtk-5.10 --with-methods="opt dbg"
I use mpi, gfortran, vtk, hdf out of macports and, and TBB downloaded from
Intel's site.
Manav
On May 29, 2013, at 10:09 AM, Cody Permann <[email protected]> wrote:
> More information:
> I just had our tech build libMesh without MPI and PETSc with the Apple
> supplied Clang and it worked fine.
> Cody
>
>
> On Wed, May 29, 2013 at 7:49 AM, Roy Stogner <[email protected]>wrote:
>
>>
>> On Wed, 29 May 2013, lorenzo alessio botti wrote:
>>
>>> Compiling with clang, meaning that I have also recompiled mpich and
>> petsc,
>>> I get the following error
>>
>> What's your version of clang? We don't have that in continuous
>> integration yet but IIRC I did test 0.9.1 with it.
>>
>>> CXX src/fe/libmesh_opt_la-fe_boundary.lo
>>> In file included from src/fe/fe_boundary.C:26:
>> ...
>>> /usr/include/c++/4.2.1/bits/stl_construct.h:121:33: error: implicit
>>> instantiation of undefined template 'libMesh::TensorValue<double>'
>>
>> Try adding
>> #include "libmesh/tensor_value.h"
>> to the header list in fe_boundary.C?
>> ---
>> Roy
>>
>>
>> ------------------------------------------------------------------------------
>> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
>> Get 100% visibility into your production application - at no cost.
>> Code-level diagnostics for performance bottlenecks with <2% overhead
>> Download for free and get started troubleshooting in minutes.
>> http://p.sf.net/sfu/appdyn_d2d_ap1
>> _______________________________________________
>> Libmesh-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users