This shows you the differences between two versions of the page.
tools:deploy [2013/04/09 13:05] |
tools:deploy [2013/04/09 13:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | === Objective === | ||
+ | |||
+ | |||
+ | The objective is to deploy automatically different versions of EC-Earth on | ||
+ | MareNostrum using the directory structure agreed by the CFU members (instead | ||
+ | of the one provided by default in the EC-Earth releases). To accomplish this task, | ||
+ | a suite of scripts has been prepared and kept at the common place "/ | ||
+ | |||
+ | |||
+ | === Use === | ||
+ | |||
+ | |||
+ | 1. Modify the configuration file deploy.conf. For example, for v2.2: | ||
+ | |||
+ | * model=ecearth | ||
+ | * version=v2.2.0 | ||
+ | * source_dir=/ | ||
+ | * patch_dir=/ | ||
+ | * patch_file=ecearth2.2-marenostrum-20100711.tar | ||
+ | * settings_file=settings.ibmpower5.orca1.MareNostrum | ||
+ | * deploy_dir_base=/ | ||
+ | * tmp_path=/ | ||
+ | |||
+ | 2. Submit the job at queue " | ||
+ | |||
+ | After completion of the job at MareNostrum, | ||
+ | |||
+ | By using this tool multiple EC-Earth versions have been produced and kept at the common EC-Earth location "/ | ||
+ | |||
+ | At the moment, the sources and patches for the different EC-Earth releases have been stored on HSM. If there is a need to change this location (specifically other than HSM), the scripts inflate_sources.sh and apply_patch.sh will have to be modified accordingly. | ||
+ | |||
+ | In order to use this tool, simply visit the common directory mentioned above and follow the instructions below: | ||
+ | |||
+ | |||
+ | === Directory structure === | ||
+ | |||
+ | |||
+ | A set of directories is created by the tool: | ||
+ | |||
+ | * **sources** | ||
+ | This directory contains the source code and compiled code of the EC-Earth release along with the default EC-Earth directory structure. | ||
+ | * **bin** | ||
+ | After the successful compilation of EC-Earth, all obtained binaries (executables) are moved to this location. | ||
+ | * **inidata** | ||
+ | The driving data sets got with every release of EC-Earth are kept at this location. | ||
+ | * **scripts** | ||
+ | The simulation launching scripts are placed at this location. | ||
+ | * **setup** | ||
+ | The simulation launching scripts of EC-Earth needed some other helping scripts for its different components (such as oasis3, nemo, ifs etc) which has been kept here. | ||
+ | * **patches** | ||
+ | |||
+ | |||
+ | === Contact === | ||
+ | |||
+ | |||
+ | muhammad.asif@ic3.cat | ||