Skip to content
README.md 1.5 KiB
Newer Older
Christoph Knote's avatar
Christoph Knote committed
# WRFotron

Installation instructions

Christoph Knote's avatar
Christoph Knote committed
1. Get WRFotron

  * go to the folder you want WRFotron to reside

  * clone the repository in there

    `git clone https://git.rz.uni-augsburg.de/knotechr/wrfotron.git`

  * subfolder `wrfotron` now contains your WRFotron installation

2. Set up a machine profile (if necessary)
  * create file with all commands to be executed prior to all runs, e.g. loading modules, setting ulimits, etc.:

Christoph Knote's avatar
Christoph Knote committed
    `machine_profiles/your_machine.bash`
Christoph Knote's avatar
Christoph Knote committed

Christoph Knote's avatar
Christoph Knote committed
  * link to root level as profile.bash
Christoph Knote's avatar
Christoph Knote committed

Christoph Knote's avatar
Christoph Knote committed
    `ln -s machine_profiles/your_machine.bash profile.bash`

Christoph Knote's avatar
Christoph Knote committed
3. Experiment setup
Christoph Knote's avatar
Christoph Knote committed
  * create a new experiment folder in blueprints, following the example
Christoph Knote's avatar
Christoph Knote committed

    `cp -r blueprints/example blueprints/your_experiment`

Christoph Knote's avatar
Christoph Knote committed
  * create an experiment config for your machine
Christoph Knote's avatar
Christoph Knote committed

    `cp -r blueprints/your_experiment/machine_specific/machine_example blueprints/your_experiment/machine_specific/your_machine`
    
  * adapt `config.bash` and the batch preambles in that folder to your environment

Christoph Knote's avatar
Christoph Knote committed
  * link to experiment folder

    `ln -s blueprints/your_experiment/machine_specific/alcc/batch_preambles blueprints/your_experiment/`
    
    `ln -s blueprints/your_experiment/machine_specific/alcc/config.bash blueprints/your_experiment/`

Christoph Knote's avatar
Christoph Knote committed
4. Test
Christoph Knote's avatar
Christoph Knote committed
  * make a run *(dates depend on the available data, obviously)*

    `. master.bash your_experiment 2001 01 01 00 24 06`
  
  * you should now have a run folder

    `${workDir}/your_experiment/2001-01-01_00:00:00-2001-01-02_00:00:00`

    ($workDir is set in the experiment config)
Christoph Knote's avatar
Christoph Knote committed