diff --git a/lab2/README.md b/lab2/README.md index ccdf9e8617d746b528347665091a0ccec7a7dde7..061bfc59830743937e0d5c2f394121926a3748b0 100644 --- a/lab2/README.md +++ b/lab2/README.md @@ -13,7 +13,7 @@ Three hours # Source Codes -- Calculation of PI: Serial C and Fortran ([pi_serial.c](pi_serial.c) and [pi_serial.f90](pi_serial.f90)) +- Calculation of π: Serial C and Fortran ([pi_serial.c](pi_serial.c) and [pi_serial.f90](pi_serial.f90)) - Send data across all processes : No source provided - Parallel Search: Serial C and Fortran ([parallel_search-serial.c](parallel_search-serial.c) and [parallel_search-serial.f90](parallel_search-serial.f90)), input file ([b.data](b.data)), and output file ([reference.found.data](reference.found.data)) diff --git a/lab3/README.md b/lab3/README.md index 262614d4da8d6ad7dc7761ffd92983c43e9bca75..648e03f71f13cb046152efc77345b996e4a01cc8 100644 --- a/lab3/README.md +++ b/lab3/README.md @@ -1,10 +1,10 @@ -In this lab you will get more familiar with more advanced MPI topics, including one sided communication and MPI-IO - # Overview +In this lab you will get more familiar with more advanced MPI topics, including one sided communication and MPI I/O. + ### Goals -Get experience in MPI one sided communication, MPI-IO and topologies in MPI +Get experience in MPI one sided communication, MPI I/O and topologies in MPI ### Duration @@ -16,7 +16,7 @@ Three hours [game_of_life-one_sided-prototype.f90](game_of_life-one_sided-prototype.f90)) - MPI Topology. Simple 1d example Topology C and Fortran ([simple_1d_topology.c](simple_1d_topology.c) and [simple_1d_topology.f90](simple_1d_topology.f90)) -- MPI-IO. Serial hello world in C and Fortran ([hello_mpi.c](hello_mpi.c) and [hello_mpi.f90](hello_mpi.f90)) +- MPI I/O. Serial hello world in C and Fortran ([hello_mpi.c](hello_mpi.c) and [hello_mpi.f90](hello_mpi.f90)) - MPI Latency: C and Fortran ([mpi_latency.c](mpi_latency.c) and [mpi_latency.f90](mpi_latency.f90)) - MPI Bandwidth : C and Fortran ([mpi_bandwidth.c](mpi_bandwidth.c) and [mpi_bandwidth.f90](mpi_bandwidth.f90)) - MPI Bandwidth Non-Blocking: C and Fortran ([mpi_bandwidth-nonblock.c](mpi_bandwidth-nonblock.c) @@ -41,9 +41,9 @@ The code in Exercise 1 uses a simple and manually implemented "topology". Re-imp Note that the position in the new topology is not necessarily the same as the position in MPI_COMM_WORLD so make sure that the initial grid setup reflects that. -# Exercise 3 - MPI IO +# Exercise 3 - MPI I/O -MPI-I/O is used so that results can be written to the same file in parallel. Take the serial hello world programs and modify them so that instead of writing the output to screen the output is written to a file using MPI-IO. +MPI I/O is used so that results can be written to the same file in parallel. Take the serial hello world programs and modify them so that instead of writing the output to screen the output is written to a file using MPI I/O. The simplest solution is likely to be for you to create a character buffer, and then use the MPI_File_write_at function.