 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://source.geography.bristol.ac.uk/mediawiki/index.php?action=history&amp;feed=atom&amp;title=GENIE_setup_alternatives</id>
	<title>GENIE setup alternatives - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://source.geography.bristol.ac.uk/mediawiki/index.php?action=history&amp;feed=atom&amp;title=GENIE_setup_alternatives"/>
	<link rel="alternate" type="text/html" href="https://source.geography.bristol.ac.uk/mediawiki/index.php?title=GENIE_setup_alternatives&amp;action=history"/>
	<updated>2026-04-04T19:07:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.8</generator>
	<entry>
		<id>https://source.geography.bristol.ac.uk/mediawiki/index.php?title=GENIE_setup_alternatives&amp;diff=3090&amp;oldid=prev</id>
		<title>Genie-user at 09:15, 7 June 2007</title>
		<link rel="alternate" type="text/html" href="https://source.geography.bristol.ac.uk/mediawiki/index.php?title=GENIE_setup_alternatives&amp;diff=3090&amp;oldid=prev"/>
		<updated>2007-06-07T09:15:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==genie_example.job and make==&lt;br /&gt;
&lt;br /&gt;
The script '''genie_example.job''' runs the model and also directs the output files.  To do this, it needs to know where the model source code is kept and the output directory.  These default to '''~/genie''' and '''~/genie_output''', but can be changed.  You can do this by editing '''genie-main/user.sh''' or by providing command-line options to the script:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./genie_example.job -o &amp;lt;outdir&amp;gt; -c &amp;lt;codedir&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
genie_example.job calls make, if the model is not compiled.  This is important since the model has compile-time options, which may vary from one experiment to another.  In order to run the tests, the makefiles contain targets (e.g. make test) which call genie_example.job (tests are defined as special configuration files).  To provide flexibility so that the tests can be run automatically (nightly build) and in an arbitrary location (away from normal working checkout), the makefiles also have varaibles for the code output directories.  All makefile variables can be overridden on the command line, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make GENIE_ROOT=&amp;lt;codedir&amp;gt; OUT_DIR=&amp;lt;outdir&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Genie-user</name></author>
	</entry>
</feed>