Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
277fc71ff04c128147811cf81731c7d2c3ea2c74
[simgrid.git] / teshsuite / smpi / io-shared / io-shared.tesh
1 # Test for MPI_File_read and MPI_File_write
2 ! output sort
3 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ../hostfile_io -platform ../../../examples/platforms/hosts_with_disks.xml -np 4 --log=xbt_cfg.thres:critical --log=smpi_config.thres:warning --log=smpi_mpi.thres:error --log=s4u_file.thres:error --log=smpi_io.thres:verbose "--log=root.fmt:(%a@%h)%e%m%n" --cfg=smpi/simulate-computation:0 ${bindir:=.}/io-shared
4 > [rank 0] -> bob
5 > [rank 1] -> carl
6 > [rank 2] -> bob
7 > [rank 3] -> carl
8 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
9 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
10 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
11 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
12 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
13 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
14 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
15 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 4
16 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
17 > (2@bob) Position after write in MPI_File /scratch/testfile : 8
18 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 8
19 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
20 > (3@carl) Position after write in MPI_File /scratch/testfile : 12
21 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
22 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
23 > (1@carl) Position after write in MPI_File /scratch/testfile : 16
24 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
25 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
26 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
27 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 0
28 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
29 > (0@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
30 > (0@bob) Position after read in MPI_File /scratch/testfile : 4
31 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 4
32 > (2@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
33 > (2@bob) Position after read in MPI_File /scratch/testfile : 8
34 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 8
35 > (3@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
36 > (3@carl) Position after read in MPI_File /scratch/testfile : 12
37 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
38 > (1@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
39 > (1@carl) Position after read in MPI_File /scratch/testfile : 16
40