Revision history for MpiInstallation


Revision [7531]

Last edited on 2009-01-19 00:44:52 by ToBo
Additions:
""~/.mpd.conf"" erstellen
echo "MPD_SECRETWORD=GeheimesWortFuerAlleMpds" > ~/.mpd.conf
Das Passwort soll nur der Benutzer lesen können
chmod 600 ~/.mpd.conf


Revision [7530]

Edited on 2009-01-19 00:43:35 by ToBo
Deletions:
""~/.mpd.conf"" erstellen
echo "MPD_SECRETWORD=GeheimesWortFuerMpd" > ~/.mpd.conf
Das Passwort soll nur der Benutzer lesen können
chmod 600 ~/.mpd.conf


Revision [7420]

Edited on 2009-01-13 23:23:41 by ToBo
Additions:
=a=MPICH2 unter Linux (Debian)=a=
=a=""MPICH2"" als optionales Paket unter Linux (Debian)=a=
Deletions:
=a=MPICH unter Linux (Debian)=a=


Revision [7004]

Edited on 2008-12-09 23:50:11 by ToBo
Additions:
=a=""OpenMPI"" unter Linux (Debian)=a=
=a=""OpenMPI"" unter Linux (Debian)=a=
Deletions:
=a=OpenMPI unter Linux (Debian)=a=
=a=OpenMPI unter Linux (Debian)=a=


Revision [7003]

Edited on 2008-12-09 23:49:52 by ToBo
Additions:
mpiexec -n 4 ~/mympi/cpi
Deletions:
mpiexec -n 4 ~/mpi_ex/simple/spi


Revision [7002]

Edited on 2008-12-09 23:49:26 by ToBo
Additions:
==a==Installation==a==
=a=OpenMPI unter Linux (Debian)=a=
=a=MPICH unter Linux (Debian)=a=
=a=OpenMPI unter Linux (Debian)=a=
=a=MPICH unter Windows=a=
==a==Test==a==
Deletions:
==a==OpenMPI unter Linux (Debian)==a==
==a==MPICH unter Linux (Debian)==a==
==a==OpenMPI unter Linux (Debian)==a==
==a==MPICH unter Windows==a==


Revision [7001]

Edited on 2008-12-09 23:48:01 by ToBo
Additions:
==a==Vorbereitung==a==
Ein Programm kompilieren
echo "MPD_SECRETWORD=GeheimesWortFuerMpd" > ~/.mpd.conf
Das Passwort soll nur der Benutzer lesen können
Deletions:
===a===Vorbereitung===a===
""~""/.mpich2
export PATH=/local/mpich2/bin:$PATH
export LD_LIBRARY_PATH=/local/mpich2/lib:$LD_LIBRARY_PATH
source ~/.mpich2
Kompiliren
echo "MPD_SECRETWORD=..." > ~/.mpd.conf
Rechte setzen


Revision [7000]

Edited on 2008-12-09 23:45:10 by ToBo
Additions:
=====Installation von MPI=====
==a==OpenMPI unter Linux (Debian)==a==
für OpenMPI mit aptitude
%%(bash)aptitude install openmpi-dev openmpi-dbg%%
==a==MPICH unter Linux (Debian)==a==
für MPICH2 mit aptitude
%%(bash)aptitude install mpich-bin libmpich1.0-dev mpich-mpd-bin mpich-mpd-bin libmpich-mpd1.0-dev%%
==a==OpenMPI unter Linux (Debian)==a==
''so ist es am besten!''
MPICH2 herunterladen, kompilieren und installieren
%%(bash)
wget http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.0.8/mpich2-1.0.8.tar.gz
tar xzf mpich2-1.0.8.tar.gz
./configure --prefix=/opt/mpi
make
make install
%%
""~""/bash_profile erweitern um
%%
PATH=/opt/mpi/bin:"${PATH}"
LD_LIBRARY_PATH=/opt/mpi/lib
%%
==a==MPICH unter Windows==a==
unter Windows
MPI 1.0.8
.NET 2.0. SP1
gcc MINGW 32
~- .Net framework 2.0 installieren, falls nicht vorhanden (der MPICH installer startet nicht, wenn .net 2.0 fehlt): dotnetfx.exe herunterladen und ausführen
~- .Net 2.0 Service pack 1 installieren: NetFx20_SP1_x86 herunterladen und ausführen
~- MPICH2 installieren: MPICH2 für Windows 32bit herunterladen, ausführen
~- Gcc aus MingW installieren, falls kein anderer C-Compiler vorhanden. Die Installation der neuen Version 1.08 habe ich nur mit Gcc getestet. VisualC++ oder Borland sollten auch funktionieren
~- SMPD als Dienst installieren (smpd -h listet die Optionen): smpd -install und smpd -register_spn
~- Suchpfad ergänzen (<MINGW_ROOT>/bin und <MPICH2_ROOT>/bin hinzufügen)
~- Das fertige Beispiel testen: cd <MPICH2_ROOT>/examples und mpirun -n 4 cpi
===a===Vorbereitung===a===
""~""/.mpich2
%%(bash)
export PATH=/local/mpich2/bin:$PATH
export LD_LIBRARY_PATH=/local/mpich2/lib:$LD_LIBRARY_PATH
%%
%%(bash)
source ~/.mpich2
%%
Kompiliren
%%(bash)
mpicc cpi.c
%%
""~/.mpd.conf"" erstellen
%%(bash)
echo "MPD_SECRETWORD=..." > ~/.mpd.conf
%%
Rechte setzen
%%(bash)
chmod 600 ~/.mpd.conf
%%
HPC-Server starten
%%(bash)
mpd &
%%
Test
%%(bash)
mpiexec -n 4 ~/mpi_ex/simple/spi
%%
Deletions:
=====Titel=====


Revision [6999]

The oldest known version of this page was created on 2008-12-09 23:44:21 by ToBo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki