-
Committer:
Alberto Garcia
-
Date:
2018-02-01 10:46:52 UTC
-
mfrom:
(38.1.3 mk-update)
-
Revision ID:
albertog@icmab.es-20180201104652-zhl3yha50fy1y28n
Tags: libgridxc-0.8.0
Improvements to building system. Dual serial/mpi hierarchy
- The 'build.sh' script harnesses the standard makefile to build an
alternative hierarchy of the form
ROOT
gridxc.mk, libxc.mk
serial/
...
mpi/
...
Each of the 'serial' and 'mpi' subdirectories are complete
installations of libGridXC. The top-level gridxc.mk defines the
appropriate LIBS and INCFLAGS variables depending on the setting of
the WITH_MPI variable, that can be set in client makefiles.
- The auxiliary libxc.mk file is automatically installed.
- A local installation is always done (./lib, ./include)
- Simpler makefile for Testers, using local installation
- The fortran.mk file must include FC_SERIAL and FC_PARALLEL symbols.