Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
Mpp
Commits
d554225d
Commit
d554225d
authored
Dec 01, 2021
by
niklas.baumgarten
Browse files
[374-extend-mppy-for-batch-system] fixed imports
parent
9e7867a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
python/mppy/__init__.py
View file @
d554225d
from
.mppy
import
mpp
# Gives you an instantiated default object
from
.mppy
import
Mpp
# Gives you the Mpp class
#
#
# Test routines
# Test routines
from
.mppy
import
run_mpp_tests
from
.mppy
import
run_mpi_tests
from
.mppy
import
run_bench_tests
python/mppy/mppy.py
View file @
d554225d
...
...
@@ -3,10 +3,10 @@ import socket
import
time
from
.utilities.directory_manager
import
DirectoryManager
,
remove_file
,
clean_directory
from
.utilities.hpc
import
BatchFile
,
HostFile
from
.utilities.log_utilities
import
LogParser
from
.utilities.subprocess_utilities
import
SubprocessManager
from
.utilities.test_utilities
import
print_test_results
from
.utilities.hpc_utilities
import
BatchFile
,
HostFile
from
.utilities.log_utilities
import
LogParser
class
Mpp
:
...
...
@@ -104,9 +104,6 @@ class Mpp:
else
:
return
run_parameters
def
run_subprocess
(
self
,
args
,
cwd
,
mute
=
False
,
return_log
=
False
):
return
self
.
sm
.
run_subprocess
(
args
,
cwd
,
mute
,
return_log
)
...
...
python/mppy/utilities/__init__.py
View file @
d554225d
from
.log_utilities
import
LogParser
from
.subprocess_utilities
import
SubprocessManager
from
.hpc_utilities
import
HostFile
,
BatchFile
from
.log_utilities
import
LogParser
from
.vtk_utilities
import
VtkPlot
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