mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Merge pull request #473 from paulromano/tests-mpif90
Allow run_tests.py to work without MPI installed
This commit is contained in:
commit
ef2d2bf071
1 changed files with 1 additions and 3 deletions
|
|
@ -128,10 +128,8 @@ class Test(object):
|
|||
if self.mpi:
|
||||
if os.path.exists(os.path.join(MPI_DIR, 'bin', 'mpifort')):
|
||||
self.fc = os.path.join(MPI_DIR, 'bin', 'mpifort')
|
||||
elif os.path.exists(os.path.join(MPI_DIR, 'bin', 'mpif90')):
|
||||
self.fc = os.path.join(MPI_DIR, 'bin', 'mpif90')
|
||||
else:
|
||||
raise RuntimeError('Cannot find an MPI Fortran compiler')
|
||||
self.fc = os.path.join(MPI_DIR, 'bin', 'mpif90')
|
||||
else:
|
||||
self.fc = FC
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue