FLEXPART Model/FLEXPARTLibraries

From mn/geo/geoit
Revision as of 16:03, 14 September 2011 by Jfb (talk | contribs) (Created page with "**Compiling libraries in 32 and 64 bit with absoft and gfortran** There are again new makefiles now for flexpart, checkout the latest version rev96 from the repository. IMPORTAN...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
    • Compiling libraries in 32 and 64 bit with absoft and gfortran**

There are again new makefiles now for flexpart, checkout the latest version rev96 from the repository. IMPORTANT: all your older makefiles will not be working any more!

I had to do this to find a consistent way to accomodate the 64 and 32 bit versions of the libraries for absoft and gfortran. The previous messy and confusing structure is gone now. Sorry for the extra work for you, but I think it will pay off medium-term.

The available makefiles are now named fully descriptively:

- makefile.ecmwf_absoft_64 - makefile.ecmwf_gfortran_64 - makefile.gfs_absoft_64 - makefile.gfs_gfortran_64

- makefile.ecmwf_absoft_32 - makefile.ecmwf_gfortran_32 - makefile.gfs_absoft_32 - makefile.gfs_gfortran_32

- makefile.ecmwf_emos_absoft_32 - makefile.gfs_emos_absoft_32

Note: the emos makefiles are not working because of unresolved problems in getting emos compatible.

For future reference:

The structure 'inside' is now for 32-bit libs and includes:

~flexpart/lib/absoft

~flexpart/lib/gfortran

The structure is now for 64-bit libs and includes:

~flexpart/lib64/absoft

~flexpart/lib64/gfortran

Rebuilding the libraries can now be simply done by running a set of scripts in /nilu2/home/flexpart/lib64/sources

The scripts can be modified easily to build the libraries on the 'outside' machines as well.