mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
append current working directory to path to find nose_mpi.py
This commit is contained in:
parent
3180c67231
commit
61f730449b
1 changed files with 4 additions and 3 deletions
|
|
@ -7,6 +7,10 @@ import nose
|
|||
import glob
|
||||
from subprocess import call
|
||||
|
||||
# get current working directory
|
||||
pwd = os.getcwd()
|
||||
sys.path.append(pwd)
|
||||
|
||||
# setup color printing codes
|
||||
OK = '\033[92m'
|
||||
FAIL = '\033[91m'
|
||||
|
|
@ -25,9 +29,6 @@ run_gfortran_petsc = True
|
|||
run_gfortran_phdf5_petsc = True
|
||||
run_gfortran_phdf5_petsc_opt = True
|
||||
|
||||
# get current working directory
|
||||
pwd = os.getcwd()
|
||||
|
||||
# check for extra command line options
|
||||
opts = ['all'] # default is run everything
|
||||
if len(sys.argv) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue