Changes between Version 2 and Version 3 of FpInstall


Ignore:
Timestamp:
Jun 28, 2013, 3:31:42 PM (11 years ago)
Author:
dearn
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FpInstall

    v2 v3  
    2727}}}
    28283. Install Grib-API library
    29     * mkdir /%HOME%/lib/src/
    30     * cp %GRIB%.tar.gz /%HOME%/lib/
    31     * cp %GRIB%.tar.gz /%HOME%/lib/src/
    32     * cd /%HOME%/lib/src/
    33     * tar -xvf %GRIB%.tar.gz
    34     * ./configure --prefix=/%HOME%/lib/%GRIB% --with-jasper=/%HOME%/lib/%JASPER%
    35     * make
    36     * make check
    37     * make install
    38 
     29{{{
     30 mkdir /%HOME%/lib/src/
     31 cp %GRIB%.tar.gz /%HOME%/lib/
     32 cp %GRIB%.tar.gz /%HOME%/lib/src/
     33 cd /%HOME%/lib/src/
     34 tar -xvf %GRIB%.tar.gz
     35 ./configure --prefix=/%HOME%/lib/%GRIB% --with-jasper=/%HOME%/lib/%JASPER%
     36 make
     37 make check
     38 make install
     39}}}
    39404. Add the following lines to the bash.rc-file of your home directory:
    40 
    41     * edit %HOME%/.bashrc (e.g. vi or emacs)
    42     * export GRIB_API_BIN=“/%HOME/lib/%GRIB%/bin“
    43     * export GRIB_API_LIB=“/%HOME/lib/%GRIB%/lib“
    44     * export GRIB_API_INCLUDE=“/%HOME/lib/%GRIB%/include“
    45     * export PATH=$GRIB_API_BIN:$PATH
    46 
     41{{{
     42 edit %HOME%/.bashrc (e.g. vi or emacs)
     43 export GRIB_API_BIN=“/%HOME/lib/%GRIB%/bin“
     44 export GRIB_API_LIB=“/%HOME/lib/%GRIB%/lib“
     45 export GRIB_API_INCLUDE=“/%HOME/lib/%GRIB%/include“
     46 export PATH=$GRIB_API_BIN:$PATH
     47}}}
    47485. Testing if Grib-API installation has been successful: read out Grib-file:
    48     * grib_ls %FILENAME%
    49 
     49{{{
     50 grib_ls %FILENAME%
     51}}}
    50526. Download Flexpart (%FLEXPART%.tar.gz) as described in the flexpart documentation
    5153
    52547. Unzip Flexpart-Archive, modify makefile und compile
     55{{{
     56 tar -xvf %FLEXPART%.tar.gz
     57 cp makefile.%(version)% makefile
     58 edit makefile (e.g. vi or emacs)
     59}}}
     60     Change lines to:
     61{{{
     62 INCPATH=/lib/%GRIB%/include
     63 LIBPATH1=/lib/%GRIB%/lib
     64 LIBPATH2=/lib/%JASPER%/lib
     65}}}
    5366
    54     * tar -xvf %FLEXPART%.tar.gz
    55     * cp makefile.%(version)% makefile
    56     * edit makefile (e.g. vi or emacs)
    57     * Change lines to:
    58     * INCPATH=/lib/%GRIB%/include
    59     * LIBPATH1=/lib/%GRIB%/lib
    60     * LIBPATH2=/lib/%JASPER%/lib
    6167Adjust file includepar in the Flexpart-directory to your local computing capacities (if the values of the following parameters are choosen too high, compiling via make will fail)
    62     *  parameter(nxmax=721,nymax=361,nuvzmax=92,nwzmax=92,nzmax=92) (input: ECMWF windfields with resolution 0.5°)
    63     *  parameter(nxmax=361,nymax=181,nuvzmax=92,nwzmax=92,nzmax=92) (input: ECMWF windfields with resolution 1.0°)
    64     * parameter(maxpart=22000000) (Change to: 1000000 (or 500000 / according to your computer specifications))
    65     * parameter(maxspec=60) (Number of species. Change to 1 oder 2 (according to your computer specifications and your scientific problem)))
    66     * make clean
    67     * make
    68 
     68{{{
     69 parameter(nxmax=721,nymax=361,nuvzmax=92,nwzmax=92,nzmax=92) (input: ECMWF windfields with resolution 0.5°)
     70 parameter(nxmax=361,nymax=181,nuvzmax=92,nwzmax=92,nzmax=92) (input: ECMWF windfields with resolution 1.0°)
     71 parameter(maxpart=22000000) (Change to: 1000000 (or 500000 / according to your computer specifications))
     72 parameter(maxspec=60) (Number of species. Change to 1 oder 2 (according to your computer specifications and your scientific problem)))
     73 make clean
     74 make
     75}}}
    6976Minimum requirements to achieve results in a reasonable time: 4GB RAM