Running@ecmwf

Indice dei contenuti


installing and using PERL modules

  1. download:
    perl -MCPAN -e 'install Chocolate::Belgian'
  2. change dir to
    $HOME/.cpan/build/<module> 
  3. run
    perl Makefile.PL LIB=$HOME/<mylib> PREFIX=$HOME/<mylib>
  4. run
    make install
  5. in the perl script:
    use lib '$HOME/<mylib>'
  6. in your .kshrc file put:
    export OBJECT_MODE=32
    N.B. if you are going to compile BOLCHEM, remove the "export OBJECT_MODE=32" from .kshrc otherwise the compilation will not succeed!

Building an operational chain (at ECMWF)

In general the operational chain is made of the following sequential steps:

  1. Data Retrieval (e.g. real time2 data from MARS)
  2. Preprocessing
  3. Run the model
  4. Post-processing

Endianess (HPCE)

Info on 32/64 bit

Info on single/double precision (HPCE)

GRIB-2 coding/encoding using GRIB API

Some info (Installation, description and examples in C and FORTRAN) regarding the use of GRIB API library: here.

Here are a summary of the steps to follow reading a grib (1 or 2) file (refer for example to this code:

GRIB tools are available at the ECMWF machines. A useful tool is grib_dump, that allows to get the message from a file. An example output from "grib_dump -a" (writes also the aliases of the keys) can be found here.