X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/10a7f95aedfe591594bf993e663e28956bdbaeee..1d4461b3c05d8f19d40b4aa29f86cb4fa8c80e58:/src/smpi/README diff --git a/src/smpi/README b/src/smpi/README index 1d766f116c..cac137c302 100644 --- a/src/smpi/README +++ b/src/smpi/README @@ -23,15 +23,15 @@ Quick Notes : getting started with the examples ..:: Try the examples ::.. Go to : -# cd simgrid/src/smpi/sample +# cd simgrid/examples/smpi To compile an example : -# ../smpicc bcast.c -o bcast +# ../../src/smpi/smpicc bcast.c -o bcast Use 'smpirun' to use it then: To run it : -# ../smpirun -np 3 ./bcast +# ../../src/smpi/smpirun -np 3 ./bcast node 0 has value 17 node 2 has value 3 node 1 has value 3 @@ -42,10 +42,61 @@ node 2 has value 17 To run it with a specific platform: -# ../smpirun -np 3 -platform platform.xml -hostfile hostfile ./bcast - - - +# ../../src/smpi/smpirun -np 3 -platform platform.xml -hostfile hostfile ./bcast + +Note that by default, the examples use the installed version of +simgrid. So please install it before playing with the examples, or set +a LD_LIBRARY_PATH variable pointing to src/.libs + + + + +What's implemented +================== + +As a proof of concept, and due to lack of time, the implementation is far from complete +with respect to a MPI-1.2 specification. Here is what is implemented so far. Please update +if you can. + + +* MPI_Datatypes: +MPI_BYTE +MPI_CHAR +MPI_INT +MPI_FLOAT +MPI_DOUBLE + + +* MPI_Op: +MPI_LAND +MPI_SUM +MPI_PROD +MPI_MIN +MPI_MAX + +*primitives: +MPI_Init +MPI_Finalize +MPI_Abort +MPI_Comm_size +MPI_Comm_split +MPI_Comm_rank +MPI_Type_size +MPI_Barrier +MPI_Irecv +MPI_Recv +MPI_Isend +MPI_Send +MPI_Sendrecv +MPI_Bcast +MPI_Wait +MPI_Waitall +MPI_Waitany +MPI_Wtime +MPI_Reduce +MPI_Allreduce +MPI_Scatter +MPI_Alltoall