
Departamento de
Ciência de Computadores
Practical exercise
Login to glite-tutor.ct.infn.it with your username and password.
Login to the grid.
go to the applications directory and find a subdirectory called
mpi_examples/01.
inspect the code in passtonext.c, mpi.sh, and mpi.jdl
compile this code using the available Makefile and run the
executable
create a new subdirectory under mpi_examples and create your own
MPI application to perform a distributed matrix multiplication, where
C = A x B (with A, B and C matrices), is obtained by dividing the
matrix A among the processors, and each processor is responsible to
generate the respective lines of the matrix C.
compile your code.
create a JDL file to submit your executable to the grid.
submit the JDL file and inspect the results.