<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://climate-cms.wikis.unsw.edu.au/index.php?action=history&amp;feed=atom&amp;title=UM_Run_Scripts</id>
	<title>UM Run Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://climate-cms.wikis.unsw.edu.au/index.php?action=history&amp;feed=atom&amp;title=UM_Run_Scripts"/>
	<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=UM_Run_Scripts&amp;action=history"/>
	<updated>2026-11-18T05:07:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://climate-cms.wikis.unsw.edu.au/index.php?title=UM_Run_Scripts&amp;diff=736&amp;oldid=prev</id>
		<title>S.wales at 05:31, 18 March 2019</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=UM_Run_Scripts&amp;diff=736&amp;oldid=prev"/>
		<updated>2019-03-18T05:31:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:31, 18 March 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Pre UM10}}[[Category: Unified Model]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The UM is operated through a system of shell scripts, generated by the UMUI. In most cases users don't directly interact with these scripts, however the process is documented here for advanced users.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The UM is operated through a system of shell scripts, generated by the UMUI. In most cases users don't directly interact with these scripts, however the process is documented here for advanced users.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>S.wales</name></author>
		
	</entry>
	<entry>
		<id>http://climate-cms.wikis.unsw.edu.au/index.php?title=UM_Run_Scripts&amp;diff=361&amp;oldid=prev</id>
		<title>ScottWales: Imported from Wikispaces</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=UM_Run_Scripts&amp;diff=361&amp;oldid=prev"/>
		<updated>2013-02-06T06:32:08Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wikispaces&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The UM is operated through a system of shell scripts, generated by the UMUI. In most cases users don't directly interact with these scripts, however the process is documented here for advanced users.&lt;br /&gt;
&lt;br /&gt;
Generating the run scripts happens when you press the 'Process' button in the UMUI, 'Submit' runs them. Submit copies across the umui_jobs/$RUNID directory to umui_runs/$RUNID-$TIMESTAMP, runs SUBMIT on the supercomputer to generate the batch scripts then runs FCM_MAIN_SCR on accesscollab to run fcm &amp;amp; qsub the batch scripts. This is handled by UM/um_nav_actions.tcl in the UMUI code.&lt;br /&gt;
&lt;br /&gt;
=UMUI Scripts= &lt;br /&gt;
&lt;br /&gt;
These are generated by the UMUI&lt;br /&gt;
&lt;br /&gt;
* '''SUBMIT'''&lt;br /&gt;
&lt;br /&gt;
Generates the run scripts for the supercomputer - '''umuisubmit_compile''', '''umuisubmit_run''' and '''umuisubmit_clr''' for build, run and build &amp;amp; run jobs.&lt;br /&gt;
&lt;br /&gt;
** '''umuisubmit_compile'''&lt;br /&gt;
&lt;br /&gt;
Sets up the PBS information for the queue system, loads modules then runs '''FCM_BUILD_COMMAND'''.&lt;br /&gt;
&lt;br /&gt;
*** '''FCM_BUILD_COMMAND'''&lt;br /&gt;
&lt;br /&gt;
Runs 'fcm build' on the umbase, ummodel and umrecon directories in order to compile the runscripts, model and reconfiguration programs, then puts all the programs in the bin directory.&lt;br /&gt;
&lt;br /&gt;
** '''umuisubmit_run'''&lt;br /&gt;
&lt;br /&gt;
Sets up PBS and variables for the job decomposition then runs '''SCRIPT'''&lt;br /&gt;
&lt;br /&gt;
*** '''SCRIPT'''&lt;br /&gt;
&lt;br /&gt;
Sets up environment variables for the model configuration, then calls the runscript '''UMScr_TopLevel'''&lt;br /&gt;
&lt;br /&gt;
** '''umuisubmit_clr'''&lt;br /&gt;
&lt;br /&gt;
Identical to umuisubmit_compile, only once the build is done it will submit umuisubmit_run to the queue to automatically run the job.&lt;br /&gt;
&lt;br /&gt;
* '''FCM_MAIN_SCR'''&lt;br /&gt;
&lt;br /&gt;
Handles the compilation of a job. It extracts the source code from subversion with '''FCM_EXTR_SCR''' if needed, then submits the relevant batch script (umuisubmit_{compile,run,clr}) to the queue.&lt;br /&gt;
&lt;br /&gt;
** '''FCM_EXTR_SCR'''&lt;br /&gt;
&lt;br /&gt;
Extracts the source code from subversion to accesscollab using the fcm tool. If the job is using multiple branches then fcm is used to merge them together into a single source folder. Once any merging has been done the source code is copied across to the supercomputer, ready to be compiled.&lt;br /&gt;
&lt;br /&gt;
=UM Scripts= &lt;br /&gt;
&lt;br /&gt;
These come from the UM repository, in src/script/control&lt;br /&gt;
&lt;br /&gt;
* '''UMScr_Toplevel'''&lt;br /&gt;
&lt;br /&gt;
Sets up namelist files, calls '''qsmaster''' then prints copious amounts of output to the log file. Once this is done calls '''submitchk''' to check for resubmission.&lt;br /&gt;
&lt;br /&gt;
** '''qsmaster'''&lt;br /&gt;
&lt;br /&gt;
Chooses which of the UM, NEMO or CICE to run, calls '''qsexecute''' to run the UM then calls '''qsfinal''' to clean up&lt;br /&gt;
&lt;br /&gt;
*** '''qsexecute'''&lt;br /&gt;
&lt;br /&gt;
Sets up control files, runs the reconfiguration if needed then runs the UM itself.&lt;br /&gt;
&lt;br /&gt;
Search for 'LINUX_MPP' to find the mpirun commands that get run on NCI. In order these are the reconfiguration, the UM with automatic post-processing enabled and the UM with automatic post-processing disabled. PAREXE is a script that makes sure all of the environment variables are set on every node; this isn't needed on the NCI systems, it's a relic from the Met Office.&lt;br /&gt;
&lt;br /&gt;
The giant if statement at the start of the script is for handling restart data, most of it is error recovery for when the UM is being run in operational mode.&lt;br /&gt;
&lt;br /&gt;
*** '''qsfinal'''&lt;br /&gt;
&lt;br /&gt;
Updates restart information with qspickup, qshistreset and qshistprint, creates a resumbit script using '''qsresubmit'''.&lt;br /&gt;
&lt;br /&gt;
**** '''qsresubmit'''&lt;br /&gt;
&lt;br /&gt;
Checks if the job is a CRUN, then creates a script $JOBID.resub that will submit the next section. The resubmit script isn't yet submitted&lt;br /&gt;
&lt;br /&gt;
** '''submitchk'''&lt;br /&gt;
&lt;br /&gt;
Does some error checking of the archiving system then submits the restart script created by qsresubmit.&lt;/div&gt;</summary>
		<author><name>ScottWales</name></author>
		
	</entry>
</feed>