{"id":1625,"date":"2018-03-19T13:05:33","date_gmt":"2018-03-19T13:05:33","guid":{"rendered":"https:\/\/research.reading.ac.uk\/act\/?post_type=kbe_knowledgebase&#038;p=1625"},"modified":"2024-06-14T14:36:45","modified_gmt":"2024-06-14T13:36:45","slug":"openifsreading","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/","title":{"rendered":"openIFS@Reading"},"content":{"rendered":"<h5>Introduction<\/h5>\n<p>The ECMWF OpenIFS programme provides an easy-to-use, exportable version of the IFS in use at ECMWF for operational weather forecasting. For more information about the model itself, please visit the <a href=\"https:\/\/software.ecmwf.int\/wiki\/display\/OIFS\/OpenIFS+Hom e\">ECMWF OpenIFS website.<\/a><\/p>\n<p>If you want to start using the OpenIFS on the Reading Academic Computing Cluster (RACC), please follow the instructions below. You don&#8217;t need to install it from source code from ECMWF, there is a pre-configured version available on the RACC already.<\/p>\n<p><a href=\"https:\/\/www.lists.rdg.ac.uk\/mailman\/listinfo\/met-openifs\">Join our OpenIFS mailing list<\/a> to receive updates on OpenIFS@Reading progress and to post to the OpenIFS users group.<\/p>\n<p>&nbsp;<\/p>\n<h5>1. Obtaining and compiling the OpenIFS on the Reading Academic Computing Cluster (RACC) (Version 40r1)<\/h5>\n<p>Please note that the instructions in this section and the following are to download OpenIFS Version 40r1, which is currently still used for teaching. If you wish to use the new release 43r3, please amend the instructions according to section 3 on v43r3.<\/p>\n<p>Once you&#8217;re logged in to the RACC \u00a0(see <a href=\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/academic-cluster-usage\/\">here<\/a> how to do this), you&#8217;ll need to download a few scripts to acquire, compile and run OpenIFS. You can copy those from the following location:<\/p>\n<pre class=\"lang:default decode:true \">\/storage\/silver\/metdata\/models\/openIFS\/oifs_repo<\/pre>\n<p>The 3 scripts in the above directory are:<\/p>\n<p>get_oifs.sh &#8211; This downloads the OpenIFS model code and a sample experiment setup.<\/p>\n<p>setup_oifs &#8211; This sets up your OpenIFS model environment.<\/p>\n<p>compile_oifs.sh &#8211; This compiles your model code.<\/p>\n<p>These scripts need to be run in succession. Make sure you are not in your home directory when you run these. An OpenIFS model run needs quite a bit of space and the storage platforms for the home directories are not designed to store the input to or\u00a0output from jobs running on the cluster as this type of usage can cause problems when you fill your home directory up.<\/p>\n<p>First, execute get_oifs.sh:<\/p>\n<pre class=\"nums:false lang:default decode:true\">.\/get_oifs.sh<\/pre>\n<p>This will download the model code along with an example configuration which you can use to check if your setup is working. Next, the shell environment needs to be set up. To do this, type:<\/p>\n<pre class=\"nums:false lang:default decode:true \">source setup_oifs<\/pre>\n<p>You should see a screen message displaying the currently loaded modulefiles, <span lang=\"EN-GB\">as well as some important OpenIFS directory paths that are set up with the above command<\/span>.<\/p>\n<p>Now you can compile the model by executing the compile_oifs.sh script. You should only need to do this once if you\u2019re not making changes to the source code.<\/p>\n<pre class=\"nums:false lang:default decode:true \">.\/compile_oifs.sh<\/pre>\n<p>You will see a long sequence of messages as each piece of code is compiled in turn. This may take a little while and as long as messages keep scrolling though then all is fine. At the end you should see a few summary lines telling you how successful the compilation was. If you see failed=0 in there for all occasions then the compilation worked.<\/p>\n<p>&nbsp;<\/p>\n<h5>2. Running the test example<\/h5>\n<p>First, navigate to the experiment directory. It was created where you ran the get_oifs.sh script.<\/p>\n<pre class=\"nums:false lang:default decode:true \">cd oifs_experiments\/2014021112<\/pre>\n<p>In there, you\u2019ll see 2 scripts which you need to run the model:<\/p>\n<p>ifs_job.sh &#8211; This contains all the options necessary to run the model.<\/p>\n<p>submit_job.sh &#8211; This submits your model to the job queue to run on the cluster.<\/p>\n<p>You will need to edit ifs_job.sh and change the variable OIFS_EXPDIR to the path of the directory you&#8217;re currently in (the experiment directory). No other settings need to be changed to run this test example. The default setup is the &#8216;giq5&#8217; experiment with a 255 resolution number. It runs the model executable &#8216;master.exe&#8217; (compiled with compile_oifs.sh in oifs_model\/make\/gnu-opt\/oifs\/bin\/) with a timestep of 3600s on 12 processors for a forecast length of 2 days. It will save the results in a directory called output_1 for the first run. For subsequent runs you should change the OIFS_RUN number so that the results don\u2019t get overwritten.<\/p>\n<p>You\u2019re now ready to run the model! Simply execute the submission script:<\/p>\n<pre class=\"nums:false lang:default decode:true \">sbatch submit_job.sh<\/pre>\n<p>This submits your model to the batch queue on the cluster. You can track the progress of the job via the logfile (myout.txt in this example) that is created in the directory you\u2019re in. You can check the status of the job on the cluster with the &#8216;squeue&#8217; command (see the<a href=\"https:\/\/research.reading.ac.uk\/act\/knowledgebase_category\/cluster\/\"> RACC User Guide<\/a> for further info.)<\/p>\n<p>&nbsp;<\/p>\n<h5>3. Amendmends of the above instructions to download OpenIFS v43r3<\/h5>\n<p>The download, compilation and testing of the OpenIFS 43r3 release is set up to follow the same principles as that of the 40r1 version described in the sections 1 and 2 above. The source code can be obtained and compiled with the same commands, except that their location is slightly different. OpenIFS 43r3 on the RACC is also supplied with a set of initial condition files, similar to the test example above which can be used to test the setup. If you don&#8217;t wish to download\/run the test case, you can amend the &#8216;get_oifs.sh&#8217; script and remove the example acquisition part.<\/p>\n<p>You can copy the OpenIFS 43r3 scropts from the following location:<\/p>\n<pre class=\"lang:default decode:true\">\/storage\/silver\/metdata\/models\/openIFS\/oifs_repo_43r3<\/pre>\n<p>Now, the rest of the commands in section 1 can be executed, as the scripts for the download, shell environment setup and compilation of OpenIFS 43r1 are the same as that for 40r1.<\/p>\n<p>The test case can be run in a similar way to that of section two, except that the experiment has a different start date and hence a different directory name.<\/p>\n<p>The experiment directory was created where you ran the get_oifs.sh script. You can navigate to the test case with<\/p>\n<pre class=\"nums:false lang:default decode:true\">cd oifs_experiments\/1998012900<\/pre>\n<p>The 2 scripts which you need that submit and run the model are the same:<\/p>\n<p>ifs_job.sh &#8211; This contains all the options necessary to run the model.<\/p>\n<p>submit_job.sh &#8211; This submits your model to the job queue to run on the cluster.<\/p>\n<p>Edit ifs_job.sh to suit your needs but if you just want a quick check to see if your compilation of OpenIFS 43r3 is running ok, all that needs editing is OIFS_EXPDIR to match the path of your experiment directory. You can then just run the test case with:<\/p>\n<pre class=\"nums:false lang:default decode:true\">sbatch submit_job.sh<\/pre>\n<p>This submits your model to the batch queue on the cluster. You can track the progress of the job via the logfile (myout.txt in this example) that is created in the directory you\u2019re in. You can check the status of the job on the cluster with the &#8216;squeue&#8217; command (see the<a href=\"https:\/\/research.reading.ac.uk\/act\/knowledgebase_category\/cluster\/\"> RACC User Guide<\/a> for further info.)<\/p>\n<p>NOTE FOR 43r3: \u00a0Most variables don&#8217;t seem to transfer from the ifs_setup.sh to the model run hence the namelist needs to be checked\/amended. Most values such as the timestep and experiment ID should be correct in the namelist already but the value of the forecast length needs to be changed in the namelist e.g. CUSTOP=&#8217;d5&#8242;, for a forecast length of 5 days.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction  The ECMWF OpenIFS programme provides an easy-to-use, exportable version of the IFS in use at ECMWF for operational weather forecasting. For more information about the model itself, please visit the ECMWF OpenIFS website.    If you want to start using the OpenIFS on the Reading Academic Computing Cluster (RACC), please follow<\/p>\n","protected":false},"author":361,"featured_media":1634,"template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"__cvm_playback_settings":[],"__cvm_video_id":"","_links_to":"","_links_to_target":""},"kbe_taxonomy":[61,91],"kbe_tags":[],"class_list":["post-1625","kbe_knowledgebase","type-kbe_knowledgebase","status-publish","has-post-thumbnail","hentry","kbe_taxonomy-academic-cluster-articles","kbe_taxonomy-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>openIFS@Reading - Academic Computing Team<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"openIFS@Reading - Academic Computing Team\" \/>\n<meta property=\"og:description\" content=\"Introduction The ECMWF OpenIFS programme provides an easy-to-use, exportable version of the IFS in use at ECMWF for operational weather forecasting. For more information about the model itself, please visit the ECMWF OpenIFS website.  If you want to start using the OpenIFS on the Reading Academic Computing Cluster (RACC), please follow\" \/>\n<meta property=\"og:url\" content=\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/\" \/>\n<meta property=\"og:site_name\" content=\"Academic Computing Team\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-14T13:36:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/Open-IFS-logo-200_0-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"78\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/\",\"url\":\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/\",\"name\":\"openIFS@Reading - Academic Computing Team\",\"isPartOf\":{\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#website\"},\"datePublished\":\"2018-03-19T13:05:33+00:00\",\"dateModified\":\"2024-06-14T13:36:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/research.reading.ac.uk\/act\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"openIFS@Reading\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#website\",\"url\":\"https:\/\/research.reading.ac.uk\/act\/\",\"name\":\"Academic Computing Team\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/research.reading.ac.uk\/act\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#organization\",\"name\":\"University of Reading\",\"url\":\"https:\/\/research.reading.ac.uk\/act\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/2017\/08\/cropped-University_of_Reading_shield-1.png\",\"contentUrl\":\"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/2017\/08\/cropped-University_of_Reading_shield-1.png\",\"width\":512,\"height\":512,\"caption\":\"University of Reading\"},\"image\":{\"@id\":\"https:\/\/research.reading.ac.uk\/act\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"openIFS@Reading - Academic Computing Team","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/","og_locale":"en_GB","og_type":"article","og_title":"openIFS@Reading - Academic Computing Team","og_description":"Introduction The ECMWF OpenIFS programme provides an easy-to-use, exportable version of the IFS in use at ECMWF for operational weather forecasting. For more information about the model itself, please visit the ECMWF OpenIFS website.  If you want to start using the OpenIFS on the Reading Academic Computing Cluster (RACC), please follow","og_url":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/","og_site_name":"Academic Computing Team","article_modified_time":"2024-06-14T13:36:45+00:00","og_image":[{"width":200,"height":78,"url":"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/Open-IFS-logo-200_0-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/","url":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/","name":"openIFS@Reading - Academic Computing Team","isPartOf":{"@id":"https:\/\/research.reading.ac.uk\/act\/#website"},"datePublished":"2018-03-19T13:05:33+00:00","dateModified":"2024-06-14T13:36:45+00:00","breadcrumb":{"@id":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/openifsreading\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/research.reading.ac.uk\/act\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/research.reading.ac.uk\/act\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"openIFS@Reading"}]},{"@type":"WebSite","@id":"https:\/\/research.reading.ac.uk\/act\/#website","url":"https:\/\/research.reading.ac.uk\/act\/","name":"Academic Computing Team","description":"","publisher":{"@id":"https:\/\/research.reading.ac.uk\/act\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/research.reading.ac.uk\/act\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/research.reading.ac.uk\/act\/#organization","name":"University of Reading","url":"https:\/\/research.reading.ac.uk\/act\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/research.reading.ac.uk\/act\/#\/schema\/logo\/image\/","url":"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/2017\/08\/cropped-University_of_Reading_shield-1.png","contentUrl":"https:\/\/research.reading.ac.uk\/act\/wp-content\/uploads\/sites\/2\/2017\/08\/cropped-University_of_Reading_shield-1.png","width":512,"height":512,"caption":"University of Reading"},"image":{"@id":"https:\/\/research.reading.ac.uk\/act\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_knowledgebase\/1625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/users\/361"}],"version-history":[{"count":6,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_knowledgebase\/1625\/revisions"}],"predecessor-version":[{"id":7637,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_knowledgebase\/1625\/revisions\/7637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/media\/1634"}],"wp:attachment":[{"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/media?parent=1625"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_taxonomy?post=1625"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/research.reading.ac.uk\/act\/wp-json\/wp\/v2\/kbe_tags?post=1625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}