Merge pull request #89 from miroi/mpi_tweak

Tweak the fc_mpi test to use both the MPI module file and the MPI include file
This commit is contained in:
Radovan Bast
2015-08-28 19:23:08 +02:00
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')
# ------------------------------------------------------------------------------