Apple Mac OS X Server Version 10.4 or Later Manual do Utilizador Página 9

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 11
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 8
3. On the all computers (S10.4 and C10.4-s): open a terminal window as admin.
Create a file .mpd.conf in ~admin (e.g., “emacs ~/.mpd.conf”; alternatively
you can create the file: /etc/mpd.conf) containing:
secretword=my_secret_word
make sure .mpd.conf is hidden from others (otherwise mpich will not start
up): “chmod 600 .mpd.conf”. You can try the local installation with the
following commands: “mpd &; mpdtrace; mpdallexit
4. On the S10.4: open a terminal window as admin, and create a “mpd.hosts” file
(e.g., “emacs mpd.hosts”) with each line containing a name of a node. For
example in our infrastructure, the mpd.hosts is:
mmac-servr00.local
mmac01.local
mmac02.local
mmac03.local
A hint: put computers first in this list that have more than one CPU, as
MPICH2 will establish a ring, and it is more likely then to run processes on
machines with more CPUs.
5. (S10.4) If you have not done so, follow Step 5 of Section 6.
6. (C10.4) If you have not done so, follow Step 6 of Section 6.
7. (S10.4) If you have not done so, follow Step 7 of Section 6.
8. On the S10.4: you can now start up the ring by opening a terminal window as
admin and typing: “mpdboot –n 4”. You should replace the “4” by the
number of entries in “mpd.hosts” as this will determine how many computers
are involved in the MPICH2 ring.
9. On the S10.4: “mpdtrace” and/or “mpdringtest 10” will test the MPICH2
MPI ring; “mpdallexit” will tear down the ring. Place processes below the
/NetCommon” directory and run them using:
/usr/local/mpich2/bin/mpiexec –n nr_proc /NetCommon/proc_name
If the S10.4 computer has been rebooted, you will need to repeat from Step 7 to get
MPICH2 working again.
To run a simulator like FDS (Fire Dynamics Simulator) [15], the executables need to
be placed into a common directory (e.g.,
/NetCommon). The following sample command
will start off an FDS example with five meshes on five CPUs:
usr/local/mpich2/bin/mpiexec –np 5 /NetCommon/FDS/fds5_osx_intel_mpi
/NetCommon/FDS/Examples/Verification/hallways.fds
8. Setting up Open Directory (LDAP) Users
This step is not really necessary for the Xgrid, OpenMPI. LAM-MPI setup however it
will enable us to “share” users and their homes between machines with the one caveat
that the home directories of users are not statically mounted but dynamically when they
log in at the computer terminal (thus we could not use this feature with LAM-MPI). We
are using reference [2] for this section.
Vista de página 8
1 2 3 4 5 6 7 8 9 10 11

Comentários a estes Manuais

Sem comentários