<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Parallel_Error_Calculation_using_MPI_and_SLmpi</id>
	<title>Parallel Error Calculation using MPI and SLmpi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Parallel_Error_Calculation_using_MPI_and_SLmpi"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Parallel_Error_Calculation_using_MPI_and_SLmpi&amp;action=history"/>
	<updated>2026-05-18T21:23:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Parallel_Error_Calculation_using_MPI_and_SLmpi&amp;diff=1581&amp;oldid=prev</id>
		<title>Thalhammer: Fixed link</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Parallel_Error_Calculation_using_MPI_and_SLmpi&amp;diff=1581&amp;oldid=prev"/>
		<updated>2018-06-21T10:34:16Z</updated>

		<summary type="html">&lt;p&gt;Fixed link&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 10:34, 21 June 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-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&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: #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;* Requirements:        &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;* Requirements:        &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: #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;*# SLmpi installed: [http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;*# SLmpi installed: [http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git]&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: #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;*# A Portable Batch System (PBS), e.g., Torque (see [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;torque:start|&lt;/del&gt;Torque]] for an Introduction)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;*# A Portable Batch System (PBS), e.g., Torque (see [[Torque]] for an Introduction)&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: #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;*# the Remeis-isisscripts [http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;*# the Remeis-isisscripts [http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts]&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: #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;      &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thalhammer</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Parallel_Error_Calculation_using_MPI_and_SLmpi&amp;diff=933&amp;oldid=prev</id>
		<title>Lorenz: Created page with &quot;=== Parallel Error Calculation with MPI and SLmpi ===  * For interactive error calculation in isis you can use &lt;code&gt;conf&lt;/code&gt; or &lt;code&gt;conf_loop&lt;/code&gt; (using Isis_Slaves.n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Parallel_Error_Calculation_using_MPI_and_SLmpi&amp;diff=933&amp;oldid=prev"/>
		<updated>2018-04-12T14:19:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Parallel Error Calculation with MPI and SLmpi ===  * For interactive error calculation in isis you can use &amp;lt;code&amp;gt;conf&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;conf_loop&amp;lt;/code&amp;gt; (using Isis_Slaves.n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Parallel Error Calculation with MPI and SLmpi ===&lt;br /&gt;
&lt;br /&gt;
* For interactive error calculation in isis you can use &amp;lt;code&amp;gt;conf&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;conf_loop&amp;lt;/code&amp;gt; (using Isis_Slaves.num_slaves+1 cores on the host machine).&lt;br /&gt;
* Fast possibility: &amp;lt;code&amp;gt;mpi_fit_pars&amp;lt;/code&amp;gt;. It's a routine in the isisscripts, which uses MPI to calculate the confidence intervals in parallel on different machines.&lt;br /&gt;
&lt;br /&gt;
* Requirements:       &lt;br /&gt;
*# SLmpi installed: [http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git http://www.sternwarte.uni-erlangen.de/git.public/?p=slmpi.git]&lt;br /&gt;
*# A Portable Batch System (PBS), e.g., Torque (see [[torque:start|Torque]] for an Introduction)&lt;br /&gt;
*# the Remeis-isisscripts [http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts]&lt;br /&gt;
    &lt;br /&gt;
* Create an isisscript to be submitted via PBS:       &lt;br /&gt;
*# load and group data, load best fit model&lt;br /&gt;
*# call &amp;lt;code&amp;gt;result = mpi_fit_pars([pars]);&amp;lt;/code&amp;gt;&lt;br /&gt;
*# if you have the isisscripts you can store everything in a fits-file via &amp;lt;code&amp;gt;fits_save_fit(filename,result)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* How to start the Job on the Remeis Cluster?&lt;br /&gt;
** Create a job-file with mpi-Option (e.g. by &amp;lt;code&amp;gt;qsub_array -p %%--%%mpi file.com&amp;lt;/code&amp;gt;)&lt;br /&gt;
** the Command File &amp;lt;code&amp;gt;file.com&amp;lt;/code&amp;gt; contains the list of scripts to be executed.&lt;br /&gt;
** Set nodes to the number of free parameters. (See below for an example).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash &lt;br /&gt;
#PBS -S /bin/bash -V &lt;br /&gt;
#PBS -t 0-0\%10000 &lt;br /&gt;
#PBS -l nodes=11 &lt;br /&gt;
#PBS -l walltime=03:00:00 &lt;br /&gt;
#PBS -N file.com &lt;br /&gt;
#PBS -o example_script.out  &lt;br /&gt;
#PBS -e example_script.err &lt;br /&gt;
cd /home/user/datadir &lt;br /&gt;
COMMAND[0]=&amp;quot;mpiexec isis-script example_script.sl&amp;quot; &lt;br /&gt;
/usr/bin/nice -n +15 ${COMMAND[$PBS_ARRAYID]}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Lorenz</name></author>
	</entry>
</feed>