Tutorial 1 – Check out and go
Objective – [Duplicate and] check out an existing suite and modify for your computer system
- Cache met office repository password
- Checkout JULES at version 5.2 release to an appropriate location
- fcm checkout fcm:jules.x_tr@vn5.2 $HOME/JULES/vn5.2
- [If you don't have the fcm keywords set up use: fcm checkout https://code.metoffice.gov.uk/svn/jules/main/trunk@12251 $HOME/JULES/vn5.2]
- Start rosie using: “rosie go”
- Search for and copy suite number: u-bb219
- Right click on the suite and select copy. This will create your own suite, with aunique ID, that you are free to edit and commit to the repository to save any changes you make.
- (Please note, I do not do this step in the video below.)
- Open your newly created suite, this will trigger a couple of warning messages regarding your meta data, hence the first task:
- Update the fcm-make and jules metadata paths to your JULES version 5.2 release location
- Click on the fcm-make tab in the left hand column, and replace the dummy path with ~/JULES/vn5.2/rose-meta/jules-fcm-make/HEAD
- Click on the jules tab in the left hand column, and replace the dummy path with ~/JULES/vn5.2/rose-meta/jules-standalone/HEAD
- Your suite now knows how to treat all the options you want to provide
- Configure the fcm-make options:
- Click on the fcm make -> Build Configuration tab.
- If you are using a platform known by jules, select the appropriate platform from the drop down box.
- If not you need to know your fortran compiler and the location of your netCDF libraries. You do not need to include the OMP or MPI parallesation options for this suite.
- Configure the JULES configuration:
- Choose an appropriate output location (I recommend '$HOME/JULES_Tutorial/output' for compatibility with my plotting script)
- ensure you create this output directory: mkdir -p '$HOME/JULES_Tutorial/output'
- Check and Save the suite (the "ABC" button), then Run the suite (the play button)
- This will open a gui control window which informs you of the status of your "job".
- There are 2 stages for this job, fcm_make and jules.
- When the job has succeeded open up the suite location from the "Tools" drop down menu.
- You can plot the output using JT_plot_output.py from this terminal:
- ./JT_plot_output.py [-data_dir /your/output/directory]
- If all this has worked you can commit your changes to your repository using the "fcm commit" commandfrom the terminal
- This opens your terminal defaul text editor, usually vi. Enter here a message you want to accompany your suite revision, e.g. "my first successful jules run".
- To start typing in vi press the "i" key, when you have finished typing press "Esc", to save and close type ":wq" then hit return.
- After you close you the text editor confirm that you want to commit the changes.
- (Please note, this step is not included in the video tutorial)
- This opens your terminal defaul text editor, usually vi. Enter here a message you want to accompany your suite revision, e.g. "my first successful jules run".
(Please note, the above instructions have been updated following a JULES training course, hence the video below follows a slightly different sequence)