Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
sct
Commits
2750b2f3
Commit
2750b2f3
authored
Jul 12, 2019
by
Sergey Kosukhin
Browse files
Do not run MPI programs (tests) when MPI_LAUNCH command is not available.
parent
ed153808
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
2750b2f3
...
...
@@ -8,20 +8,47 @@ PPFCCOMPILE = $(FC) $(FCDEFS) $(DEFAULT_INCLUDES) $(FCCPPFLAGS) $(AM_FCFLAGS) $(
LDADD
=
$(top_builddir)
/src/libsct.la
check_PROGRAMS
=
test_precision
check_PROGRAMS
=
if
MPI
if
MPICHECK
check_PROGRAMS
+=
test_precision
endif
else
check_PROGRAMS
+=
test_precision
endif
if
FORTRAN_INTERFACE
if
MPI
if
MPICHECK
check_PROGRAMS
+=
test_sct
endif
else
check_PROGRAMS
+=
test_sct
endif
endif
if
HDF5
if
MPI
if
MPICHECK
check_PROGRAMS
+=
test_hdf5
check_PROGRAMS
+=
test_hdf5_fortran
endif
else
check_PROGRAMS
+=
test_hdf5
check_PROGRAMS
+=
test_hdf5_fortran
endif
LDADD
+=
$(LTLIBHDF5)
endif
if
PAPI
if
MPI
if
MPICHECK
check_PROGRAMS
+=
test_papi
endif
else
check_PROGRAMS
+=
test_papi
endif
LDADD
+=
$(LTLIBPAPI)
endif
...
...
@@ -57,20 +84,41 @@ test_sct_SOURCES = test_sct.f90
AM_COLOR_TESTS
=
yes
TESTS
=
test_precision_run
TESTS
=
if
MPI
if
MPICHECK
TESTS
+=
test_precision_run
endif
else
TESTS
+=
test_precision_run
endif
if
FORTRAN_INTERFACE
if
MPI
if
MPICHECK
TESTS
+=
test_sct_run
endif
else
TESTS
+=
test_sct_run
endif
endif
if
PAPI
TESTS
+=
test_papi_run
endif
if
HDF5
if
MPI
if
MPICHECK
TESTS
+=
test_hdf5_run
TESTS
+=
test_hdf5_fortran_run
endif
else
TESTS
+=
test_hdf5_run
TESTS
+=
test_hdf5_fortran_run
endif
endif
if
!MPI
if
!OPENMP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment