-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from lukemartinlogan/master
Add MPI factory
- Loading branch information
Showing
4 changed files
with
105 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from jarvis_util.util.argparse import ArgParse | ||
from jarvis_util.shell.exec import Exec | ||
from jarvis_util.shell.local_exec import LocalExecInfo | ||
from jarvis_util.shell.mpi_exec import MpiVersion | ||
from jarvis_util.util.size_conv import SizeConv | ||
import pathlib | ||
import itertools | ||
from unittest import TestCase | ||
|
||
|
||
class TestSystemInfo(TestCase): | ||
def test_mpi(self): | ||
info = MpiVersion(LocalExecInfo()) | ||
print(f'MPI VERSION: {info.version}') |