Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Teshsuite SMPI : execute from build dir.
[simgrid.git] / teshsuite / smpi / io-simple-at / io-simple-at.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 ${platfdir:=.}/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-simple-at
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 8
10 > (0@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
11 > (0@bob) Position after write in MPI_File /scratch/testfile : 4
12 > (2@bob) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
13 > (2@bob) Position after write in MPI_File /scratch/testfile : 12
14 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
15 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
16 > (3@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
17 > (3@carl) Position after write in MPI_File /scratch/testfile : 16
18 > (1@carl) Write in MPI_File /scratch/testfile, 4 bytes written, readsize 4 bytes, movesize 4
19 > (1@carl) Position after write in MPI_File /scratch/testfile : 8
20 > (0@bob) Seeking in MPI_File /scratch/testfile, setting offset 0
21 > (2@bob) Seeking in MPI_File /scratch/testfile, setting offset 8
22 > (3@carl) Seeking in MPI_File /scratch/testfile, setting offset 12
23 > (1@carl) Seeking in MPI_File /scratch/testfile, setting offset 4
24 > (3@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
25 > (3@carl) Position after read in MPI_File /scratch/testfile : 16
26 > (1@carl) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
27 > (1@carl) Position after read in MPI_File /scratch/testfile : 8
28 > (0@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
29 > (0@bob) Position after read in MPI_File /scratch/testfile : 4
30 > (2@bob) Read in MPI_File /scratch/testfile, 4 bytes read, readsize 4 bytes, movesize 4
31 > (2@bob) Position after read in MPI_File /scratch/testfile : 12