[aspect-devel] Switching Aspect to cmake

Wolfgang Bangerth bangerth at math.tamu.edu
Sun Aug 11 11:22:32 PDT 2013


OK, I take this as a vote for cmake. Anyone opposed?

Matthias -- using the current aspect CMakeLists.txt, whenever I create a 
different directory and do something like
   cmake -DDEAL_II_DIR=... ../aspect
it ends up saying

-- Autopilot invoked
-- Run   $ make help   to print a detailed help message
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bangerth/p/deal.II/2/projects/aspect

...which is my source directory, not the current build dir. The newly created 
build dir remains empty. What do I need to do to enable out-of-source builds?

Best
  W.



On 08/11/2013 04:48 AM, Thomas Geenen wrote:
> with cmake you can always build out of source if you want by creating your own
> dir and running cmake from there. i usually have a few different builds around
> (different compilers and/or mpi flavors, instrumented with scalasca etc)
> with cmake i will be able to do that more efficiently compared with the
> current make based setup.
>
> cheers
> Thomas
>
>
>
> On Sun, Aug 11, 2013 at 12:28 AM, Wolfgang Bangerth <bangerth at math.tamu.edu
> <mailto:bangerth at math.tamu.edu>> wrote:
>
>
>     All,
>     now that we've switched deal.II to cmake, I'd like to do the same with
>     Aspect. There is already a CMakeLists.txt in the project and it produces a
>     file ./aspect if you run it in-source (which I, in fact, like a lot better
>     than hiding it in lib/).
>
>     Would there be reasons to run cmake out-of-source? Does anyone see a
>     reason to have multiple Aspect installations from the same source tree? If
>     not, I'd propose we just nuke the existing Makefile and the lib/
>     directory, and update the manual.
>
>     Thoughts?
>
>     Cheers
>       W.
>     --
>     ------------------------------__------------------------------__------------
>     Wolfgang Bangerth               email: bangerth at math.tamu.edu
>     <mailto:bangerth at math.tamu.edu>
>                                      www:
>     http://www.math.tamu.edu/~__bangerth/ <http://www.math.tamu.edu/~bangerth/>
>
>     _________________________________________________
>     Aspect-devel mailing list
>     Aspect-devel at geodynamics.org <mailto:Aspect-devel at geodynamics.org>
>     http://geodynamics.org/cgi-__bin/mailman/listinfo/aspect-__devel
>     <http://geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel>
>
>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>


-- 
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/



More information about the Aspect-devel mailing list