tweak the fc_mpi test to use both the module mpi.F90 and include mpif.h

This commit is contained in:
Miro ILIAS
2015-08-27 12:56:28 +02:00
parent 4c0a938426
commit 43b577583e
3 changed files with 12 additions and 3 deletions

View File

@ -158,7 +158,12 @@ def test_fc_int64():
@skip_on_windows
def test_fc_mpi():
def test_fc_mpi_module():
configure_build_and_exe('fc_mpi', 'python setup.py --mpi --fc=mpif90 --extra-fc-flags="-D USE_MPI_MODULE"', 'mpirun -np 2')
@skip_on_windows
def test_fc_mpi_include():
configure_build_and_exe('fc_mpi', 'python setup.py --mpi --fc=mpif90', 'mpirun -np 2')
# ------------------------------------------------------------------------------