A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill trailing whitespaces in teshsuite/smpi/{isp,mpich3-test}.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
f77
/
attr
/
typeattr3f.f
diff --git
a/teshsuite/smpi/mpich3-test/f77/attr/typeattr3f.f
b/teshsuite/smpi/mpich3-test/f77/attr/typeattr3f.f
index
36fcc3b
..
0282f41
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/f77/attr/typeattr3f.f
+++ b/
teshsuite/smpi/mpich3-test/f77/attr/typeattr3f.f
@@
-1,4
+1,4
@@
-C -*- Mode: Fortran; -*-
+C -*- Mode: Fortran; -*-
C
C (C) 2004 by Argonne National Laboratory.
C See COPYRIGHT in top-level directory.
C
C (C) 2004 by Argonne National Laboratory.
C See COPYRIGHT in top-level directory.
@@
-19,15
+19,15
@@
C
C The only difference between the MPI-2 and MPI-1 attribute caching
C routines in Fortran is that the take an address-sized integer
C instead of a simple integer. These still are not pointers,
C The only difference between the MPI-2 and MPI-1 attribute caching
C routines in Fortran is that the take an address-sized integer
C instead of a simple integer. These still are not pointers,
-C so the values are still just integers.
+C so the values are still just integers.
C
errs = 0
call mtest_init( ierr )
type1 = MPI_INTEGER
C
errs = 0
call mtest_init( ierr )
type1 = MPI_INTEGER
-C
+C
extrastate = 1001
extrastate = 1001
- call mpi_type_create_keyval( MPI_TYPE_NULL_COPY_FN,
- & MPI_TYPE_NULL_DELETE_FN, keyval,
+ call mpi_type_create_keyval( MPI_TYPE_NULL_COPY_FN,
+ & MPI_TYPE_NULL_DELETE_FN, keyval,
& extrastate, ierr )
flag = .true.
call mpi_type_get_attr( type1, keyval, valout, flag, ierr )
& extrastate, ierr )
flag = .true.
call mpi_type_get_attr( type1, keyval, valout, flag, ierr )
@@
-40,7
+40,7
@@
C Test the null copy function
valin = 5001
call mpi_type_set_attr( type1, keyval, valin, ierr )
call mpi_type_dup( type1, type2, ierr )
valin = 5001
call mpi_type_set_attr( type1, keyval, valin, ierr )
call mpi_type_dup( type1, type2, ierr )
-C Because we set NULL_COPY_FN, the attribute should not
+C Because we set NULL_COPY_FN, the attribute should not
C appear on the dup'ed communicator
flag = .false.
call mpi_type_get_attr( type1, keyval, valout, flag, ierr )
C appear on the dup'ed communicator
flag = .false.
call mpi_type_get_attr( type1, keyval, valout, flag, ierr )
@@
-54,7
+54,7
@@
C appear on the dup'ed communicator
errs = errs + 1
print *, ' Attribute incorrectly present on dup datatype'
endif
errs = errs + 1
print *, ' Attribute incorrectly present on dup datatype'
endif
-C Test the delete function
+C Test the delete function
call mpi_type_free( type2, ierr )
C
C Test the attr delete function
call mpi_type_free( type2, ierr )
C
C Test the attr delete function