<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=160.80.93.103</id>
	<title>CBLFS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=160.80.93.103"/>
	<link rel="alternate" type="text/html" href="https://cblfs.nicewhileitlasted.com/Special:Contributions/160.80.93.103"/>
	<updated>2026-05-21T04:30:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>?title=MPICH2&amp;diff=13006</id>
		<title>MPICH2</title>
		<link rel="alternate" type="text/html" href="?title=MPICH2&amp;diff=13006"/>
		<updated>2008-02-03T10:22:56Z</updated>

		<summary type="html">&lt;p&gt;160.80.93.103: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Download Source:&lt;br /&gt;
|http://www-unix.mcs.anl.gov/mpi/mpich/downloads/mpich2-{{Mpich2-Version}}.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|MPICH2 is an implementation of the Message-Passing Interface (MPI) version 2.|http://www-unix.mcs.anl.gov/mpi/mpich/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Required ===&lt;br /&gt;
* [[OpenSSH]]&lt;br /&gt;
* [[Python]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Information ==&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-pm=&amp;lt;PROCESS MANAGER&amp;gt;&amp;lt;/i&amp;gt;: Determines which process manager(s) are built where &amp;lt;PROCESS MANAGER&amp;gt; is a colon-separated list of mpd, smpd, or gforker.  See the documentation for a discussion of each process manager.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-device=&amp;lt;SOCKET&amp;gt;&amp;lt;/i&amp;gt;: Selects sockets for interprocess communications where &amp;lt;SOCKET&amp;gt; is one of ch3:sock, ch3:ssm, ch3:shm, or ch3:nemesis.  See the documentation for a discussion of each socket type.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Note|Each implementation of MPI (e.g., MPICH2 or [[OpenMPI]]) installs certain binaries that have the same name.  Subsequent installations will overwrite previous installation.  If you plan to use multiple implmentations of MPI, it&#039;s recommended that you install each in a separate directory structure such as /opt/mpich2 and /opt/openmpi.}}&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --sysconfdir=/etc/mpich2 \&lt;br /&gt;
 --enable-sharedlibs=gcc --with-pm=mpd:gforker --enable-f90 \&lt;br /&gt;
 --enable-cxx --with-mpe  --with-device=ch3:sock \&lt;br /&gt;
 --with-htmldir=/usr/share/doc/mpich2/html --mandir=/usr/share/man &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 make install-examples&lt;br /&gt;
 mv -v /usr/lib/mpich2-ch3.pc /usr/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot;  CXX=&amp;quot;g++ ${BUILD32}&amp;quot; ./configure --prefix=/usr --sysconfdir=/etc/mpich2 \&lt;br /&gt;
 --enable-sharedlibs=gcc --with-pm=mpd:gforker --enable-f90 \&lt;br /&gt;
 --enable-cxx --with-mpe  --with-device=ch3:sock \&lt;br /&gt;
 ---with-htmldir=/usr/share/doc/mpich2/html --mandir=/usr/share/man &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 make install-examples&lt;br /&gt;
 mv -v /usr/lib/mpich2-ch3.pc /usr/lib/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot;  CXX=&amp;quot;g++ ${BUILDN32}&amp;quot; ./configure --prefix=/usr --libdir=/usr/lib32 \&lt;br /&gt;
 --sysconfdir=/etc/mpich2 --enable-sharedlibs=gcc --with-pm=mpd:gforker \ &lt;br /&gt;
 --enable-f90 --enable-cxx --with-mpe  --with-device=ch3:sock \&lt;br /&gt;
 ---with-htmldir=/usr/share/doc/mpich2/html --mandir=/usr/share/man &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 make install-examples&lt;br /&gt;
 mv -v /usr/lib32/mpich2-ch3.pc /usr/lib32/pkgconfig&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; CXX=&amp;quot;g++ ${BUILD64}&amp;quot; ./configure --prefix=/usr --libdir=/usr/lib64 \&lt;br /&gt;
 --sysconfdir=/etc/mpich2 --enable-sharedlibs=gcc --with-pm=mpd:gforker \ &lt;br /&gt;
 --enable-f90 --enable-cxx --with-mpe  --with-device=ch3:sock \&lt;br /&gt;
 ---with-htmldir=/usr/share/doc/mpich2/html --mandir=/usr/share/man &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 make install-examples&lt;br /&gt;
 mv -v /usr/lib64/mpich2-ch3.pc /usr/lib64/pkgconfig&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
The process manager requires a secret word to execute.  Don&#039;t use your login password!!  You can change the secret word below to something you like better.&lt;br /&gt;
&lt;br /&gt;
=== Process Manager ===&lt;br /&gt;
&lt;br /&gt;
Set the secret word system-wide (required to run process managers as root):&lt;br /&gt;
 echo MPD_SECRETWORD=weibullguyiscool &amp;gt; /etc/mpd.conf&lt;br /&gt;
 chmod 600 /etc/mpd.conf&lt;br /&gt;
&lt;br /&gt;
Set the secret word for an unprivileged user.&lt;br /&gt;
 echo MPD_SECRETWORD=weibullguyiscool &amp;gt; $HOME/.mpd.conf&lt;br /&gt;
 chmod 600 $HOME/.mpd.conf&lt;br /&gt;
&lt;br /&gt;
=== Bootscript ===&lt;br /&gt;
&lt;br /&gt;
Install the mpd init script included in the [[bootscripts]] package.&lt;br /&gt;
&lt;br /&gt;
 make install-mpich2&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
&lt;br /&gt;
Now that MPICH2 is installed, start the process manager and run the test suite.  The results are output to an XML file that can be viewed in your web browser.  MPICH2 comes with a stylesheet for rendering the XML test results.&lt;br /&gt;
&lt;br /&gt;
 mpd &amp;amp;&lt;br /&gt;
 make testing&lt;br /&gt;
 mkdir ../mpich2_test_results&lt;br /&gt;
 cp -v test/TestResults.xsl ../mpich2_test_results&lt;br /&gt;
 cp -v test/mpi/summary.xml ../mpich2_test_results&lt;br /&gt;
 firefox ../mpich2_test_results/summary.xml&lt;br /&gt;
&lt;br /&gt;
== Contents ==&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Directories:&lt;br /&gt;
|None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Programs:&lt;br /&gt;
|mpd, mpdboot, mpdallexit, mpiexec, mpirun, mpicc, mpicxx, mpif90&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Libraries:&lt;br /&gt;
|libmpich.{a,so}, libmpichcxx.{a,so}, libmpichf90.{a,so}, libmpe.a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpd&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpdboot&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpdallext&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpiexec&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpirun&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpicc&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpicxx&lt;br /&gt;
|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!mpif90&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>160.80.93.103</name></author>
	</entry>
</feed>