Difference between revisions of "FLEXPART Model/FLEXPARTLibraries"

From mn/geo/geoit
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
**Compiling libraries in 32 and 64 bit with absoft and gfortran**
+
Flexpart has already been compiled on sverdrup.uio.no and [http://www.uio.no/english/services/it/research/hpc/abel/ Abel].
  
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:  
+
To check which version is available on abel:
     
+
<pre>module avail flexpart
- makefile.ecmwf_absoft_64
+
</pre>
- makefile.ecmwf_gfortran_64
+
To set-up your environment on Abel:
- makefile.gfs_absoft_64
+
<pre>module load flexpart</pre>
- makefile.gfs_gfortran_64
+
<br/>This will load the default version of flexpart. The default version of flexpart may not be the latest version. If you start new development, we advice you to load the latest version (highest version number!):
 +
<pre>module load flexpart/9.2</pre>
 +
&nbsp;
  
- makefile.ecmwf_absoft_32
+
'''FLEXPART_HOME''': directory where flexpart has been compiled/installed. You will find the source code for FLEXPART.<br/>'''FLEXPART_WINDS''': directory where FLEXPART windfields are stored. This directory contains windfields necessary to run all our tutorials/examples.<br/>'''FLEXPART_EXAMPLES''': directory where FLEXPART examples can be found.
- makefile.ecmwf_gfortran_32
 
- makefile.gfs_absoft_32   
 
- makefile.gfs_gfortran_32
 
  
- makefile.ecmwf_emos_absoft_32
+
&nbsp;
- makefile.gfs_emos_absoft_32
 
  
Note: the emos makefiles are not working because of unresolved problems in getting emos compatible.
+
=== Running tutorials ===
  
For future reference:
+
To run FLEXPART examples, the best is to copy them in your own directory:
 +
<pre>cp -R $FLEXPART_EXAMPLES .
  
The structure 'inside' is now for 32-bit libs and includes:
+
cd HelloWorld
  
~flexpart/lib/absoft
+
FLEXPART</pre>
 
+
The name of the main executable is FLEXPART. FLEXPART uses an input file called pathnames where you shall specify the options directory, the output directory and the location of AVAILABLE file for WINDFIELDS.
~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.
 

Revision as of 13:54, 15 September 2014

Flexpart has already been compiled on sverdrup.uio.no and Abel.


To check which version is available on abel:

module avail flexpart

To set-up your environment on Abel:

module load flexpart


This will load the default version of flexpart. The default version of flexpart may not be the latest version. If you start new development, we advice you to load the latest version (highest version number!):

module load flexpart/9.2

 

FLEXPART_HOME: directory where flexpart has been compiled/installed. You will find the source code for FLEXPART.
FLEXPART_WINDS: directory where FLEXPART windfields are stored. This directory contains windfields necessary to run all our tutorials/examples.
FLEXPART_EXAMPLES: directory where FLEXPART examples can be found.

 

Running tutorials

To run FLEXPART examples, the best is to copy them in your own directory:

cp -R $FLEXPART_EXAMPLES .

cd HelloWorld

FLEXPART

The name of the main executable is FLEXPART. FLEXPART uses an input file called pathnames where you shall specify the options directory, the output directory and the location of AVAILABLE file for WINDFIELDS.