

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://strike.scec.org/scecwiki/index.php?action=history&amp;feed=atom&amp;title=BBP_Batch_Jobs</id>
	<title>BBP Batch Jobs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://strike.scec.org/scecwiki/index.php?action=history&amp;feed=atom&amp;title=BBP_Batch_Jobs"/>
	<link rel="alternate" type="text/html" href="https://strike.scec.org/scecwiki/index.php?title=BBP_Batch_Jobs&amp;action=history"/>
	<updated>2026-05-13T20:59:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://strike.scec.org/scecwiki/index.php?title=BBP_Batch_Jobs&amp;diff=21425&amp;oldid=prev</id>
		<title>Maechlin at 08:43, 3 August 2018</title>
		<link rel="alternate" type="text/html" href="https://strike.scec.org/scecwiki/index.php?title=BBP_Batch_Jobs&amp;diff=21425&amp;oldid=prev"/>
		<updated>2018-08-03T08:43:44Z</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 08:43, 3 August 2018&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-l47&quot; &gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &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;== Related Entries ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &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;== Related Entries ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[BBP]&lt;/div&gt;&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;*[[BBP&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maechlin</name></author>
		
	</entry>
	<entry>
		<id>https://strike.scec.org/scecwiki/index.php?title=BBP_Batch_Jobs&amp;diff=21412&amp;oldid=prev</id>
		<title>Maechlin: Created page with &quot;Large numbers of Broadband Platform jobs can be submitted to a computing cluster using the following techniques and scripts: == Run Notes ==  Below is a script that we've used...&quot;</title>
		<link rel="alternate" type="text/html" href="https://strike.scec.org/scecwiki/index.php?title=BBP_Batch_Jobs&amp;diff=21412&amp;oldid=prev"/>
		<updated>2018-08-01T18:10:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Large numbers of Broadband Platform jobs can be submitted to a computing cluster using the following techniques and scripts: == Run Notes ==  Below is a script that we&amp;#039;ve used...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Large numbers of Broadband Platform jobs can be submitted to a computing cluster using the following techniques and scripts:&lt;br /&gt;
== Run Notes ==&lt;br /&gt;
&lt;br /&gt;
Below is a script that we've used for running the validation events. Few things to note:&lt;br /&gt;
#you will need to set up your e-mail address at the top;&lt;br /&gt;
#the Part-A events it is set to run may need to be customized to match whatever you have installed in your system (probably no Parkfield and rename the other events if you don't have the packages using site response).&lt;br /&gt;
#you can also customize what methods you want to run.&lt;br /&gt;
&lt;br /&gt;
If you run events that don't need the site response module (all Part-A events using Christine's corrections instead of the ones I'm using right now), you will want to remove the &amp;quot;-s&amp;quot; option from the line invoking bbp_hpcc_validation.py as well. Please do let us know if you have questions and we can help.&lt;br /&gt;
&lt;br /&gt;
== Job Submit Script ==&lt;br /&gt;
posted in file: run_full_validation.sh&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Set e-mail address here!&lt;br /&gt;
email=&lt;br /&gt;
&lt;br /&gt;
bbp_hpcc=bbp_hpcc_validation.py&lt;br /&gt;
methods=( &amp;quot;gp&amp;quot; &amp;quot;sdsu&amp;quot; &amp;quot;exsim&amp;quot; &amp;quot;ucsb&amp;quot; &amp;quot;irikura&amp;quot; &amp;quot;song&amp;quot; )&lt;br /&gt;
a_events=( &amp;quot;parkfield&amp;quot; &amp;quot;ar&amp;quot; &amp;quot;lomap&amp;quot; &amp;quot;ch&amp;quot; &amp;quot;nr&amp;quot; &amp;quot;whittier&amp;quot; &amp;quot;nps&amp;quot; &amp;quot;landers&amp;quot; &amp;quot;tottori&amp;quot; &amp;quot;niigata&amp;quot; &amp;quot;mineral&amp;quot; &amp;quot;rdl&amp;quot; &amp;quot;saguenay&amp;quot; )&lt;br /&gt;
a_labels=( &amp;quot;parkfield&amp;quot; &amp;quot;Alum Rock SiteResponse&amp;quot; &amp;quot;LOMAP-SiteResponse&amp;quot; &amp;quot;Chino Hills SiteResponse&amp;quot; &amp;quot;NR-SiteResponse&amp;quot; &amp;quot;Whittier-SiteResponse&amp;quot; &amp;quot;North Palm Springs-SiteResponse&amp;quot; &amp;quot;Landers-SiteResponse&amp;quot; &amp;quot;Tottori-SiteResponse&amp;quot; &amp;quot;Niigata-SiteResponse&amp;quot; &amp;quot;Mineral Site Response&amp;quot; &amp;quot;Riviere du Loup 1k Site Response&amp;quot; &amp;quot;Saguenay 1k Site Response&amp;quot; )&lt;br /&gt;
b_regions=( &amp;quot;no&amp;quot; &amp;quot;so&amp;quot; )&lt;br /&gt;
b_regions_labels=( &amp;quot;NoCal&amp;quot; &amp;quot;SoCal&amp;quot; )&lt;br /&gt;
b_dist=( &amp;quot;20&amp;quot; &amp;quot;50&amp;quot; )&lt;br /&gt;
b_events=( &amp;quot;55rv&amp;quot; &amp;quot;62ss&amp;quot; &amp;quot;66rv&amp;quot; &amp;quot;66ss&amp;quot; )&lt;br /&gt;
b_labels=( &amp;quot;5.5rv&amp;quot; &amp;quot;6.2ss&amp;quot; &amp;quot;6.6rv&amp;quot; &amp;quot;6.6ss&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
# Loop over methods&lt;br /&gt;
for method in ${methods[@]}; do&lt;br /&gt;
    # Part-A events&lt;br /&gt;
    for ((i=0;i&amp;lt;${#a_events[@]};++i)); do&lt;br /&gt;
	$bbp_hpcc -n 50 -s --email $email -c $method -d $method-${a_events[i]}-50r --new-nodes --no-hypo-rand -e &amp;quot;${a_labels[i]}&amp;quot;&lt;br /&gt;
	sbatch $method-${a_events[i]}-50r/*.slurm&lt;br /&gt;
    done;&lt;br /&gt;
	&lt;br /&gt;
    # Part-B events&lt;br /&gt;
    for ((i=0;i&amp;lt;${#b_events[@]};++i)); do&lt;br /&gt;
	for ((j=0;j&amp;lt;${#b_regions[@]};++j)); do&lt;br /&gt;
	    for dist in ${b_dist[@]}; do&lt;br /&gt;
		$bbp_hpcc -w 1 -n 50 --email $email -c $method -d $method-gmpe${b_events[i]}$dist${b_regions[j]} --new-nodes --hypo-rand -e &amp;quot;GMPE ${b_labels[i]} ${b_regions_labels[j]} ${dist}km&amp;quot;&lt;br /&gt;
		sbatch $method-gmpe${b_events[i]}$dist${b_regions[j]}/*.slurm&lt;br /&gt;
	    done;&lt;br /&gt;
	done;&lt;br /&gt;
    done;&lt;br /&gt;
done;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Related Entries ==&lt;br /&gt;
*[[BBP]&lt;/div&gt;</summary>
		<author><name>Maechlin</name></author>
		
	</entry>
</feed>