<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=MCNPX_On_Windows</id>
	<title>MCNPX On Windows - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=MCNPX_On_Windows"/>
	<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=MCNPX_On_Windows&amp;action=history"/>
	<updated>2026-05-10T02:46:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=MCNPX_On_Windows&amp;diff=51247&amp;oldid=prev</id>
		<title>Oborn at 23:21, 26 May 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=MCNPX_On_Windows&amp;diff=51247&amp;oldid=prev"/>
		<updated>2010-05-26T23:21:37Z</updated>

		<summary type="html">&lt;p&gt;&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 23:21, 26 May 2010&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-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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;'''mpiexec''' may prompt you for an mpi password, which was entered during setup (and is probably empty).  &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;'''mpiexec''' may prompt you for an mpi password, which was entered during setup (and is probably empty).  &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;It may also prompt you for an account name and password; the one you use to log in is fine.&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;It may also prompt you for an account name and password; the one you use to log in is fine.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Remember that it's not difficult to run on Brems if you need more power: [[Running With Slurm]]&lt;/ins&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: #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;/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;/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;===Installing MCNPX with MPI On Windows===&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;===Installing MCNPX with MPI On Windows===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Oborn</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=MCNPX_On_Windows&amp;diff=51246&amp;oldid=prev</id>
		<title>Oborn: Created page with '===Running MCNPX with MPI On Windows=== You want to run one more processes than the number of cores you have. So on a quad-core system you would use '''-np 5''' and a dual-core s...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=MCNPX_On_Windows&amp;diff=51246&amp;oldid=prev"/>
		<updated>2010-05-26T23:18:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;===Running MCNPX with MPI On Windows=== You want to run one more processes than the number of cores you have. So on a quad-core system you would use &amp;#039;&amp;#039;&amp;#039;-np 5&amp;#039;&amp;#039;&amp;#039; and a dual-core s...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Running MCNPX with MPI On Windows===&lt;br /&gt;
You want to run one more processes than the number of cores you have. So on a quad-core system you would use '''-np 5''' and a dual-core system would use '''-np 3'''.&lt;br /&gt;
&lt;br /&gt;
On Windows 7 sometimes the DATAPATH environment isn't carried forward to the processes lauched from mpi, so the command lime must include '''-env DATAPATH C:\mcnpx\data'''.&lt;br /&gt;
&lt;br /&gt;
All the arguments that follow '''mcnpx''' are sent to mcnpx like normal (ie n=, m=, o= etc.). The order of arguments to mpiexec do matter: '''-np''' must precede '''mcnpx'''.&lt;br /&gt;
====Examples====&lt;br /&gt;
* dual-core without setting '''-env'''&lt;br /&gt;
 mpiexec -np 3 mcnpx i=...&lt;br /&gt;
* quad-core using '''-env''' (Windows 7 only?)&lt;br /&gt;
 mpiexec -env DATAPATH C:\mcnpx\data -np 5 mcnpx i=...&lt;br /&gt;
&lt;br /&gt;
'''mpiexec''' may prompt you for an mpi password, which was entered during setup (and is probably empty). &lt;br /&gt;
It may also prompt you for an account name and password; the one you use to log in is fine.&lt;br /&gt;
&lt;br /&gt;
===Installing MCNPX with MPI On Windows===&lt;br /&gt;
&lt;br /&gt;
* Copy MCNPX directory from a working machine&lt;br /&gt;
* Install MPICH2&lt;br /&gt;
* MPICH2 password should be set to something easy to remember (or empty)&lt;br /&gt;
* My Computer-&amp;gt;Properties-&amp;gt;Advanced-&amp;gt;Environment Variables-&amp;gt;System Variables&lt;br /&gt;
** Set ''DATAPATH=C:\MCNPX\DATA''&lt;br /&gt;
** Add '';C:\MCNPX\BIN;C:\Program Files\MPICH2\bin'' to the end path&lt;br /&gt;
*** In Windows 7 64-bit, use ''C:\Program Files (x86)\MPICH2\bin''&lt;br /&gt;
* Restrict firewall permissions to 127.0.0.1 on mpich&lt;/div&gt;</summary>
		<author><name>Oborn</name></author>
	</entry>
</feed>