← Back to team overview

dolfin team mailing list archive

Re: CMake rebuild

 

On Thu, Sep 16, 2010 at 11:16:29AM +0200, Johannes Ring wrote:
> On Thu, Sep 16, 2010 at 9:28 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> > When I change something in DOLFIN and make a rebuild, I expect to be
> > able to enter the build directory and just type make install, but
> > frequently it starts a configure process which fails and leaves me
> > with a broken build directory and I need to start from scratch with a
> > clean build directory.
> >
> > What is the best way to make a rebuild?
>
> I'm not sure, but what sort of changes do you make when this happens

Change small things inside .cpp files.

I might also have pulled some other changes.

> and what error message do you get when the configure process fails?

Many of these:

-- Configuring done
CMake Warning at dolfin/CMakeLists.txt:197 (add_library):
  Cannot generate a safe runtime search path for target dolfin because
  files
  in some directories may conflict with libraries in implicit directories:

    runtime library [liblapack.so.3gf] in /usr/lib may be hidden by
    files in:
      /usr/lib/atlas
    runtime library [libblas.so.3gf] in /usr/lib may be hidden by
    files in:
      /usr/lib/atlas

  Some of these libraries may not be found correctly.

And then a SLEPc build error after the build has been going for some time:

/home/logg/scratch/src/dolfin-dev/dolfin/la/SLEPcEigenSolver.cpp:13:26:
error: slepcversion.h: Filen eller katalogen finns inte

It might just be that the build system is changing and I pull those
changes which are incompatible with my current cache variables.

--
Anders



Follow ups

References