<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=BROWNIE</id>
	<title>BROWNIE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=BROWNIE"/>
	<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BROWNIE&amp;action=history"/>
	<updated>2026-05-21T04:54:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BROWNIE&amp;diff=151&amp;oldid=prev</id>
		<title>James at 20:14, 27 October 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BROWNIE&amp;diff=151&amp;oldid=prev"/>
		<updated>2022-10-27T20:14:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:14, 27 October 2022&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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3) Create a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;submit script. Use your favorite text editor to put the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;3) Create a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;submit script. Use your favorite text editor to put the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;following lines into file &amp;quot;brownie_serial.job&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;following lines into file &amp;quot;brownie_serial.job&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BROWNIE&amp;diff=77&amp;oldid=prev</id>
		<title>James: Created page with &quot;BROWNIE is installed on the Andy cluster under the directory &quot;/share/apps/brownie/default/bin/&quot;. The directory &quot;/share/apps/brownie/default/examples/&quot; contains two example files.   In order to run one of these examples on Andy follow the steps:  1) create a directory and &quot;cd&quot; there:  &lt;pre&gt; mkdir ./brownie_test  &amp;&amp; cd ./brownie_test &lt;/pre&gt;  2) Copy the example input deck to the current directory:  &lt;pre&gt; cp /share/apps/brownie/default/example/ratetest_example.nex ./ &lt;/pre&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BROWNIE&amp;diff=77&amp;oldid=prev"/>
		<updated>2022-10-20T19:55:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;BROWNIE is installed on the Andy cluster under the directory &amp;quot;/share/apps/brownie/default/bin/&amp;quot;. The directory &amp;quot;/share/apps/brownie/default/examples/&amp;quot; contains two example files.   In order to run one of these examples on Andy follow the steps:  1) create a directory and &amp;quot;cd&amp;quot; there:  &amp;lt;pre&amp;gt; mkdir ./brownie_test  &amp;amp;&amp;amp; cd ./brownie_test &amp;lt;/pre&amp;gt;  2) Copy the example input deck to the current directory:  &amp;lt;pre&amp;gt; cp /share/apps/brownie/default/example/ratetest_example.nex ./ &amp;lt;/pre&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;BROWNIE is installed on the Andy cluster under the directory &amp;quot;/share/apps/brownie/default/bin/&amp;quot;. The directory &amp;quot;/share/apps/brownie/default/examples/&amp;quot;&lt;br /&gt;
contains two example files. &lt;br /&gt;
&lt;br /&gt;
In order to run one of these examples on Andy follow the steps:&lt;br /&gt;
&lt;br /&gt;
1) create a directory and &amp;quot;cd&amp;quot; there:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ./brownie_test  &amp;amp;&amp;amp; cd ./brownie_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) Copy the example input deck to the current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /share/apps/brownie/default/example/ratetest_example.nex ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3) Create a PBS submit script. Use your favorite text editor to put the&lt;br /&gt;
following lines into file &amp;quot;brownie_serial.job&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --partition production&lt;br /&gt;
#SBATCH --job-name BROWNIE_Serial&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
#SBATCH --ntasks=1&lt;br /&gt;
#SBATCH --mem=2880&lt;br /&gt;
&lt;br /&gt;
# Find out name of master execution host (compute node)&lt;br /&gt;
echo -n &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SLURM Master compute node is: &amp;quot;&lt;br /&gt;
hostname&lt;br /&gt;
&lt;br /&gt;
# You must explicitly change to the working directory in SLURM&lt;br /&gt;
cd $SLURM_SUBMIT_DIR&lt;br /&gt;
&lt;br /&gt;
# Point to the execution directory to run&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Begin BROWNIE Serial Run ...&amp;quot;&lt;br /&gt;
brownie ./ratetest_example.nex &amp;gt; brownie_ser.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; End   BROWNIE Serial Run ...&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4) Load the BROWNIE module to include all required environmental&lt;br /&gt;
variables and the path to the BROWNIE executable (the modules&lt;br /&gt;
utility is discussed in detail above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load brownie&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5) Submit the job to the SLURM queue using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qsub brownie_serial.job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running the rate test case should take less than 15 minutes and will produce SLURM output and error files beginning&lt;br /&gt;
with the job name &amp;#039;BROWNIE_serial&amp;#039;. The primary BROWNIE application results will be written into the user-specified&lt;br /&gt;
file at the end of the BROWNIE command line after the greater-than sign. Here it is named &amp;#039;brownie_ser.out&amp;#039;.  The&lt;br /&gt;
expression &amp;#039;2&amp;gt;&amp;amp;1&amp;#039; combines Unix standard output from the program with Unix standard error.  Users should always&lt;br /&gt;
explicitly specify the name of the application&amp;#039;s output file in this way to ensure that it is written directly into the user&amp;#039;s&lt;br /&gt;
working directory which has much more disk space than the SLURM spool directory on /var.&lt;br /&gt;
&lt;br /&gt;
Details on the meaning of the SLURM script are covered below in the SLURM section. The most important lines are the &amp;#039;#SLURM --nodes=1 ntasks=1 mem=2880&amp;#039;.  The first instructs SLURM to select 1 resource &amp;#039;chunk&amp;#039; with 1 processor (core) and 2,880 MBs&lt;br /&gt;
of memory in it for the job. The second instructs SLURM to place this job wherever the least used resources are found (freely).&lt;br /&gt;
The master compute node that SLURM finally selects to run your job will be printed in the SLURM output file by the &amp;#039;hostname&amp;#039;&lt;br /&gt;
command.&lt;br /&gt;
&lt;br /&gt;
One can check the status of the job using &amp;quot;qstat&amp;quot; command. Upon successful completion&lt;br /&gt;
the following files will be generated:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BrownieBatch.nex&lt;br /&gt;
brownie_test.eXXXX   --- std error from SLURM&lt;br /&gt;
BrownieLog.txt&lt;br /&gt;
brownie_test.oXXXX  --- std output from SLURM&lt;br /&gt;
RatetestOutput.txt --- result returned by Brownie&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>