SlideServe
Menu
Préférences
© SlideServe · v2026

Parallel Computing at RIT

buckj avatar
5 diapositives · 78 Views · Jan 05, 2020

Parallel Computing at RIT. Two Sun450s 4 processors each (SMP cluster) High speed connection between the machines Configured as a SUN HPC Cluster Software Sun Cluster Runtime Environment (CRE) Sun MPI Sun Parallel File System (PFS) Prism (HPC graphical programming environment).

Parallel Computing at RIT - slide 1
01 / 5Parallel Computing at RIT
1 / 17

Télécharger la présentation

Parallel Computing at RIT
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Parallel Computing at RIT • Two Sun450s • 4 processors each (SMP cluster) • High speed connection between the machines • Configured as a SUN HPC Cluster • Software • Sun Cluster Runtime Environment (CRE) • Sun MPI • Sun Parallel File System (PFS) • Prism (HPC graphical programming environment)

  2. Your Environment • First CRE/MPI and friends are only available on Parasite and Paradise • Paths and all that • /opt/SUNWhpc is the root for the HPC tools • /opt/SUNWhpc/bin is where the executables live • /opt/SUNWhpc/include is where the man files live • There is a docs and examples directory

  3. Hello.c #include <stdio.h> #include <string.h> #include <mpi.h> main ( int argc, char** argv ) { int myRank; int p; int source; int dest = 0; int tag = 0; char message[ 100 ]; MPI_Status status; MPI_Init( &argc, &argv ); MPI_Comm_rank( MPI_COMM_WORLD, &myRank ); MPI_Comm_size( MPI_COMM_WORLD, &p );

  4. Hello.c if ( myRank != 0 ) { sprintf( message, "Greetings from process %d", myRank ); MPI_Send( message, strlen( message ) + 1, MPI_CHAR, dest, tag, MPI_COMM_WORLD ); } else { for ( source = 1; source < p; source++ ) { MPI_Recv( message, 100, MPI_CHAR, source, tag, MPI_COMM_WORLD, &status ); printf( "%s (status = %d)\n", message, status.MPI_ERROR ); }} MPI_Finalize(); }

  5. Compiling and Running parasite> cc hello.c -o hello -I/opt/SUNWhpc/include -R/opt/SUNWhpc/lib -L/opt/SUNWhpc/lib -lmpi parasite> mprun -np 4 hello Greetings from process 1 (status = 0) Greetings from process 2 (status = 0) Greetings from process 3 (status = 0) parasite> mprun -np 7 hello Greetings from process 1 (status = 0) Greetings from process 2 (status = 0) Greetings from process 3 (status = 0) Greetings from process 4 (status = 0) Greetings from process 5 (status = 0) Greetings from process 6 (status = 0) parasite> mprun -np 8 hello mprun: no_mp_jobs: Not enough resources available parasite>