Skip to content

Commit

Permalink
autogen: skip profiling tests for use mpi
Browse files Browse the repository at this point in the history
The profiling mechanism does not work with f90 use mpi interfaces.
Compiler prevents profiling routines with the same names as defined in
the mpi module interface.
  • Loading branch information
hzhou committed Nov 29, 2021
1 parent 431f377 commit a74314f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions test/mpi/autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# Create and/or update the f90 tests
printf "Create or update the Fortran 90 tests derived from the Fortran 77 tests... "
for dir in f77/* ; do
if [ $dir = 'f77/profile' ] ; then
# skip profiling test for "use mpi"
continue
fi
if [ ! -d $dir ] ; then continue ; fi
leafDir=`basename $dir`
if [ ! -d f90/$leafDir ] ; then
Expand Down
1 change: 0 additions & 1 deletion test/mpi/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,6 @@ AC_OUTPUT(maint/testmerge \
f90/io/Makefile \
f90/io/testlist \
f90/misc/Makefile \
f90/profile/Makefile \
f08/Makefile \
f08/attr/Makefile \
f08/datatype/Makefile \
Expand Down
2 changes: 1 addition & 1 deletion test/mpi/f90/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ include $(top_srcdir)/Makefile_f90.mtest
EXTRA_DIST = testlist.in

static_subdirs = timer attr coll datatype pt2pt info comm topo ext init \
misc f90types profile
misc f90types
SUBDIRS = $(static_subdirs) $(rmadir) $(spawndir) $(iodir)
DIST_SUBDIRS = $(static_subdirs) rma spawn io
1 change: 0 additions & 1 deletion test/mpi/f90/testlist.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ f90types
@spawndir@
timer
topo
profile

0 comments on commit a74314f

Please sign in to comment.