← Back to team overview

dolfin team mailing list archive

Re: Fwd: [Branch ~dolfin-core/dolfin/main] Rev 4679: Apply patch from Joachim Berdal Haga for less verbose logging.

 

Hi,

When I build DOLFIN with enableDebug=0 and enableOptimize=1 I get this:

mpic++ -o dolfin/la/SparsityPattern.os -c -Wall -pipe -ansi
-BOOST_UBLAS_NDEBUG -O3 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK
-DPACKAGE_VERSION=\"0.9.7\" -DHAS_CGAL=1 -DHAS_TRILINOS=1
-DHAS_UMFPACK=1 -DHAS_CHOLMOD=1 -DHAS_PARMETIS=1 -DHAS_LAPACK=1
-DHAS_SLEPC=1 -DHAS_ZLIB=1 -DHAS_MTL4=1 -DHAS_PETSC=1 -DHAS_SCOTCH=1
-fno-strict-aliasing -frounding-math -DMTL_HAS_BLAS -fPIC -I.
-I/work/fenics/dolfin-dev/include -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/libxml2
-I/work/src/CGAL-3.5.1/local/include
-I/work/src/trilinos-10.0.5-Source/Build-openmpi-1.3.4/local/include/trilinos
-I/usr/include/suitesparse -I/usr/include/suitesparse
-I/work/src/ParMetis-3.1.1-openmpi-1.2.5/local/include
-I/work/src/slepc-3.0.0-p7-openmpi-1.3.4
-I/work/src/slepc-3.0.0-p7-openmpi-1.3.4/linux-gnu-cxx-opt/include
-I/work/src/slepc-3.0.0-p7-openmpi-1.3.4/include
-I/work/src/petsc-3.0.0-p11-openmpi-1.3.4/linux-gnu-cxx-opt/include
-I/work/src/petsc-3.0.0-p11-openmpi-1.3.4/include
-I/work/src/openmpi-1.3.4/local/include
-I/work/src/openmpi-1.3.4/local/lib -I/usr/include -I/work/src/mtl4
-I/usr/include -I/work/src/petsc-3.0.0-p11-openmpi-1.3.4/linux-gnu-cxx-opt/include
-I/work/src/petsc-3.0.0-p11-openmpi-1.3.4/include
-I/work/src/openmpi-1.3.4/local/include
-I/work/src/openmpi-1.3.4/local/lib
-I/work/src/scotch_5.1-openmpi-1.3.4/local/include
dolfin/la/SparsityPattern.cpp
dolfin/la/SparsityPattern.cpp: In member function ‘virtual void
dolfin::SparsityPattern::apply()’:
dolfin/la/SparsityPattern.cpp:194: error: ‘DEBUG’ was not declared in this scope


Johannes

On Tue, Apr 6, 2010 at 8:36 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> Strange, it was included in the patch. It's there now.
>
> --
> Anders
>
>
> On Tue, Apr 06, 2010 at 08:30:13AM +0800, Garth N. Wells wrote:
>> The file LogLevel.h is missing.
>>
>> Garth
>>
>> -------- Original Message --------
>> Subject: [Branch ~dolfin-core/dolfin/main] Rev 4679: Apply patch
>> from Joachim  Berdal Haga for less verbose logging.
>> Date: Mon, 05 Apr 2010 17:25:37 -0000
>> From: noreply@xxxxxxxxxxxxx
>> Reply-To: noreply@xxxxxxxxxxxxx
>> To: Garth Wells <gnw20@xxxxxxxxx>
>>
>> ------------------------------------------------------------
>> revno: 4679
>> committer: Anders Logg <logg@xxxxxxxxx>
>> branch nick: dolfin-dev
>> timestamp: Mon 2010-04-05 19:22:50 +0200
>> message:
>>   Apply patch from Joachim Berdal Haga for less verbose logging.
>> modified:
>>   demo/pde/poisson/cpp/main.cpp
>>   dolfin/common/timing.cpp
>>   dolfin/fem/DirichletBC.cpp
>>   dolfin/fem/DofMap.cpp
>>   dolfin/fem/DofMapBuilder.cpp
>>   dolfin/fem/EqualityBC.cpp
>>   dolfin/fem/FiniteElement.cpp
>>   dolfin/fem/Form.cpp
>>   dolfin/fem/SystemAssembler.cpp
>>   dolfin/io/MFile.cpp
>>   dolfin/io/MatlabFile.cpp
>>   dolfin/io/OctaveFile.cpp
>>   dolfin/io/VTKFile.cpp
>>   dolfin/io/XMLFile.cpp
>>   dolfin/io/XMLFile.h
>>   dolfin/la/CholmodCholeskySolver.cpp
>>   dolfin/la/DefaultFactory.cpp
>>   dolfin/la/EpetraKrylovSolver.cpp
>>   dolfin/la/ITLKrylovSolver.cpp
>>   dolfin/la/KrylovSolver.cpp
>>   dolfin/la/LAPACKSolvers.cpp
>>   dolfin/la/PETScKrylovSolver.cpp
>>   dolfin/la/PETScLUSolver.cpp
>>   dolfin/la/SLEPcEigenSolver.cpp
>>   dolfin/la/SingularSolver.cpp
>>   dolfin/la/SparsityPattern.cpp
>>   dolfin/la/UmfpackLUSolver.cpp
>>   dolfin/log/Logger.cpp
>>   dolfin/log/Logger.h
>>   dolfin/log/Progress.cpp
>>   dolfin/log/log.cpp
>>   dolfin/log/log.h
>>   dolfin/main/SubSystemsManager.cpp
>>   dolfin/main/init.cpp
>>   dolfin/mesh/BoundaryComputation.cpp
>>   dolfin/mesh/LocalMeshCoarsening.cpp
>>   dolfin/mesh/LocalMeshData.cpp
>>   dolfin/mesh/LocalMeshRefinement.cpp
>>   dolfin/mesh/Mesh.cpp
>>   dolfin/mesh/MeshPartitioning.cpp
>>   dolfin/mesh/RivaraRefinement.cpp
>>   dolfin/mesh/SubDomain.cpp
>>   dolfin/mesh/UniformMeshRefinement.cpp
>>   dolfin/mesh/UnitSphere.cpp
>>   dolfin/nls/NewtonSolver.cpp
>>   dolfin/ode/ComplexODE.cpp
>>   dolfin/ode/MonoAdaptivity.cpp
>>   dolfin/ode/MultiAdaptiveJacobian.cpp
>>   dolfin/ode/MultiAdaptiveTimeSlab.cpp
>>   dolfin/ode/ODE.cpp
>>   dolfin/ode/ODECollection.cpp
>>   dolfin/ode/ODESolver.cpp
>>   dolfin/ode/cGqMethod.cpp
>>   dolfin/ode/dGqMethod.cpp
>>   dolfin/parameter/GlobalParameters.cpp
>>   dolfin/parameter/Parameters.cpp
>>   dolfin/plot/plot.cpp
>>   dolfin/swig/log_post.i
>>   dolfin/swig/parameter_post.i
>> The size of the diff (1636 lines) is larger than your specified
>> limit of 1000 lines
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAku61m8ACgkQTuwUCDsYZdEC7ACfV93QOTAK0rG5q/Lme90DMcEX
> dAAAn0o8lsvMTIZqnprEd/G62UfGk09D
> =oLlU
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp
>
>



References