<?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=BPP2</id>
	<title>BPP2 - 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=BPP2"/>
	<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BPP2&amp;action=history"/>
	<updated>2026-05-11T01:04:41Z</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=BPP2&amp;diff=117&amp;oldid=prev</id>
		<title>James: Text replacement - &quot;[pP][bB][sS]&quot; to &quot;SLURM&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BPP2&amp;diff=117&amp;oldid=prev"/>
		<updated>2022-10-27T19:31:20Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;[pP][bB][sS]&amp;quot; to &amp;quot;SLURM&amp;quot;&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 19:31, 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-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&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;Running the fence lizard test case should take less than 15 minutes and will produce &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;output and error files beginning&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;Running the fence lizard test case should take less than 15 minutes and will produce &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;output and error files beginning&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;with the job name &amp;#039;BPP2_serial&amp;#039;. The primary BPP2 application results will be written into the user-specified file at the end&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;with the job name &amp;#039;BPP2_serial&amp;#039;. The primary BPP2 application results will be written into the user-specified file at the end&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;of the BPP2 command line after the greater-than sign. Here it is named &amp;#039;bpp2_ser.out&amp;#039;.  The expression &amp;#039;2&amp;gt;&amp;amp;1&amp;#039; combines&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;of the BPP2 command line after the greater-than sign. Here it is named &amp;#039;bpp2_ser.out&amp;#039;.  The expression &amp;#039;2&amp;gt;&amp;amp;1&amp;#039; combines&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;Unix standard output from the program with Unix standard error.  Users should always explicitly specify the name of the&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;Unix standard output from the program with Unix standard error.  Users should always explicitly specify the name of 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;application&amp;#039;s output file in this way to ensure that it is written directly into the user&amp;#039;s working directory which has much&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;application&amp;#039;s output file in this way to ensure that it is written directly into the user&amp;#039;s working directory which has much&lt;/div&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;more disk space than the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;spool directory on /var.&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;more disk space than the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;spool directory on /var.&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;Details on the meaning of the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;script are covered in the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;section in Applications Enviroment [http://wiki.csi.cuny.edu/cunyhpc/index.php/Applications_Environment#Running_MET_at_Andy_with_SLURM]. The most important lines are the &amp;#039;#SBATCH --nodes=1 ncpus=1 mem=2880&amp;#039;.  The first instructs &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;to select 1 resource &amp;#039;chunk&amp;#039; with 1 processor (core) and 2,880 MBs&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;Details on the meaning of the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;script are covered in the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;section in Applications Enviroment [http://wiki.csi.cuny.edu/cunyhpc/index.php/Applications_Environment#Running_MET_at_Andy_with_SLURM]. The most important lines are the &amp;#039;#SBATCH --nodes=1 ncpus=1 mem=2880&amp;#039;.  The first instructs &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;to select 1 resource &amp;#039;chunk&amp;#039; with 1 processor (core) and 2,880 MBs&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;of memory in it for the job. The second instructs SLURM to place this job wherever the least used resources are found (freely).&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;of memory in it for the job. The second instructs SLURM to place this job wherever the least used resources are found (freely).&lt;/div&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;The master compute node that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;finally selects to run your job will be printed in the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PBS &lt;/del&gt;output file by the &amp;#039;hostname&amp;#039;&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;The master compute node that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;finally selects to run your job will be printed in the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SLURM &lt;/ins&gt;output file by the &amp;#039;hostname&amp;#039;&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;command.&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;command.&lt;/div&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=BPP2&amp;diff=46&amp;oldid=prev</id>
		<title>James: Created page with &quot;At the CUNY HPC Center BPP2 is installed on Andy and Penzias. BPP2 is a serial code that takes its input from a simple text file provided on the command line.  Below is an example SLURM script that will run the fence lizard test case provided with the distribution archive (/share/apps/bpp2/default/examples).   To include all required environmental variables and the path to the BPP2 executable run the modules load command (the modules utility is discussed in detail above)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=BPP2&amp;diff=46&amp;oldid=prev"/>
		<updated>2022-10-17T17:28:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;At the CUNY HPC Center BPP2 is installed on Andy and Penzias. BPP2 is a serial code that takes its input from a simple text file provided on the command line.  Below is an example SLURM script that will run the fence lizard test case provided with the distribution archive (/share/apps/bpp2/default/examples).   To include all required environmental variables and the path to the BPP2 executable run the modules load command (the modules utility is discussed in detail above)...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;At the CUNY HPC Center BPP2 is installed on Andy and Penzias. BPP2 is a serial code that takes its input from a simple text&lt;br /&gt;
file provided on the command line.  Below is an example SLURM script that will run the fence lizard test case provided with&lt;br /&gt;
the distribution archive (/share/apps/bpp2/default/examples). &lt;br /&gt;
&lt;br /&gt;
To include all required environmental variables and the path to the BPP2 executable run the modules load command (the&lt;br /&gt;
modules utility is discussed in detail above):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load bpp2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&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 BPP2_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_SUMBIT_DIR&lt;br /&gt;
&lt;br /&gt;
# Invoke the executable in command-line mode to run&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Begin BPP2 Serial Run ...&amp;quot;&lt;br /&gt;
bpp2 ./lizard.bpp.ctl &amp;gt; bpp2_ser.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
echo &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; End   BPP2 Serial Run ...&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be dropped in to a file (say bpp2.job) and started with the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qsub bpp2.job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running the fence lizard test case should take less than 15 minutes and will produce PBS output and error files beginning&lt;br /&gt;
with the job name &amp;#039;BPP2_serial&amp;#039;. The primary BPP2 application results will be written into the user-specified file at the end&lt;br /&gt;
of the BPP2 command line after the greater-than sign. Here it is named &amp;#039;bpp2_ser.out&amp;#039;.  The expression &amp;#039;2&amp;gt;&amp;amp;1&amp;#039; combines&lt;br /&gt;
Unix standard output from the program with Unix standard error.  Users should always explicitly specify the name of the&lt;br /&gt;
application&amp;#039;s output file in this way to ensure that it is written directly into the user&amp;#039;s working directory which has much&lt;br /&gt;
more disk space than the PBS spool directory on /var.&lt;br /&gt;
&lt;br /&gt;
Details on the meaning of the PBS script are covered in the PBS section in Applications Enviroment [http://wiki.csi.cuny.edu/cunyhpc/index.php/Applications_Environment#Running_MET_at_Andy_with_SLURM]. The most important lines are the &amp;#039;#SBATCH --nodes=1 ncpus=1 mem=2880&amp;#039;.  The first instructs PBS 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 PBS finally selects to run your job will be printed in the PBS output file by the &amp;#039;hostname&amp;#039;&lt;br /&gt;
command.&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>