abinit/bindings/libpaw
Marc Torrent 506d836aa1 Force sequential compilation of the stand-alone libPAW (waiting for a better solution) 2018-10-22 19:56:21 +02:00
..
libpaw-utils Force sequential compilation of the stand-alone libPAW (waiting for a better solution) 2018-10-22 19:56:21 +02:00
README init abinit 8.1.2 2016-07-02 07:56:36 +02:00

README

HOWTO to obtain a standalone libPAW library from ABINIT sources
=====
Just type 'make dist' (or simply 'make') in the present directory

Other commands:
 make clean: clean all libPAW files (source file directory & tarball)
 make libpaw: build the libPAW source file directory
 make libpaw-tarball: create the tarball from the libPAW source file directory

Then you get a tarball containing the libPAW library;
you can use it as explained below:

----------------------------------------------------------------------------

HOWTO to compile a standalone libPAW library
=====
Untar the libpaw.tar.gz file

Edit the makefile.in file and adjust some parameters
 FC : Fortran compiler (use mpif90 to include MPI)
 FCFLAGS= Fortran compiler flags

If you want to embbed libPAW in a host code, it might be useful to edit
the src/libpaw.h file.

Type 'make libpaw'