The choice (for me) was between autoconf and cmake. The latest autoconf release is from 2012. cmake is updated regularly, and supports modern features out of the box (Fortran support, C++11 / C++14, integration with test suites, etc.) I've seen autoconf projects where things got really messy when writing Makefile.am files for subdirectories with weird syntax, while I've seen quite clean CMakeLists.txt files for large-ish projects that have a more uniform syntax and much better error checking.

-erik


On Tue, Apr 11, 2017 at 4:59 PM, Steven R. Brandt <sbrandt@cct.lsu.edu> wrote:

I'm curious as to why you chose cmake.

--Steve


On 11.04.2017 10:32 saaku, Erik Schnetter wrote:
Roland

You need to install these packages:

    depends_on('cereal')
    depends_on('googletest')
    depends_on('hwloc')
    depends_on('jemalloc')
    depends_on('mpi')
    depends_on('qthreads')

Then you can call cmake, pointing it to these packages in "the usual way", i.e. by passing flags such as "-DCEREAL_ROOT=..." etc. to cmake. If you have pkg-config installed, then cmake should also be able to use it to find external packages if PKG_CONFIG_PATH (?) is set pointing to them. The ".travis.yml" file in FunHPC might also be a good starting point, although it is based on Ubuntu 14.04 and thus a bit more complicated than necessary.

-erik



On Tue, Apr 11, 2017 at 3:57 PM, Roland Haas <rhaas@illinois.edu> wrote:
Hello Erik,

do you have up to date (ie post cmake) instruction on how to compile
funhpc on a linux machine?

Yours,
Roland

--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.

_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users




--


_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users




--
Erik Schnetter <schnetter@cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/