Changes between Version 1 and Version 2 of FpClimate


Ignore:
Timestamp:
Mar 29, 2016, 11:18:07 AM (8 years ago)
Author:
ignacio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FpClimate

    v1 v2  
    55
    66  - [wiki:FpClimateNorESM FLEXPART-NorESM/CAM ]
     7
     8The download and installation test procedure:
     9
     101) Create a base directory e.g.
     11  mkdir ~/repos
     12
     132) Get the code using Git, type the command:
     14git clone https://www.flexpart.eu/gitmob/flexpart -b flexpart-noresm
     15
     16Make be sure Git is installed in your system  https://git-scm.com/downloads. This will create a local “flexpart” directory containing the sub-directories “src” (with sources), “tests” and “options”
     17
     183) Get the meteorological data and two extra “.dat” files needed by FLEXPART  (~650 Mb)
     19Downloading the file “flexpartnoresm.dat.tar”  from:
     20 https://www.flexpart.eu/downloads/53
     21
     22The archive contains the meteorological data (meteogrid) and two additional “.dat” files that FLEXPART needs inside the directory “options” 
     23
     244) Decompress the data using the command:
     25tar -xf flexpartnoresm.dat.tar
     26
     27the archive contains the driving meteorological data for tests (in sub-directory “meteogrid”) and two essential input  “.dat”  files that FLEXPART needs in the “options” directory
     28
     295) be sure to move the two input “.dat files”  mentioned in (4) to the options directory e.g. use command:
     30     mv *.dat options
     31 
     326)  Once the structure is in place one has to create the executable.
     33 a) make sure the NetCDF libraries are available (http://www.unidata.ucar.edu/software/netcdf/)
     34 b) modify the makefile where needed to link to your local NetCDF library
     35 c) make the executable:  make -f makefile_noresm_gfortran
     36 
     377) Finally test that the installation works
     38a) go to the “tests” directory
     39b1) execute the file  ./create_tests
     40It will create 3 basic test cases in the directory ~/repos/flexpart/tests_tmp
     41b2) or execute the file  /create_and_run
     42It  will create the tests and run automatically
     43
     44
     45
     46
     47
     48
     49