Commit 359c308e authored by Your Name's avatar Your Name
Browse files

MPIHOST,MPIPORT

parent f5891301
...@@ -448,6 +448,7 @@ ...@@ -448,6 +448,7 @@
"feature_list = [f for f_li in beaker.selected_feature_list for f in dict_feat[f_li]]", "feature_list = [f for f_li in beaker.selected_feature_list for f in dict_feat[f_li]]",
"", "",
"random_name = 'AA_'+''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(20))", "random_name = 'AA_'+''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(20))",
"'''",
"try:", "try:",
" IP = os.environ['IP']", " IP = os.environ['IP']",
" ", " ",
...@@ -457,6 +458,13 @@ ...@@ -457,6 +458,13 @@
" PORT = int(os.environ['PORT'])", " PORT = int(os.environ['PORT'])",
"except:", "except:",
" PORT = 22", " PORT = 22",
"''' ",
"try:",
" IP = os.environ['OPENMPIHOST'] ",
" PORT = int(os.environ['OPENMPIPORT'])",
"except:",
" IP = '130.183.207.77'",
" PORT = 9672",
" ", " ",
"#rsa key for mpi container", "#rsa key for mpi container",
"key_file = '/home/beaker/key.mpi'", "key_file = '/home/beaker/key.mpi'",
...@@ -511,7 +519,7 @@ ...@@ -511,7 +519,7 @@
"elapsedTime": 1174 "elapsedTime": 1174
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 73, "lineCount": 81,
"tags": "calc_cell" "tags": "calc_cell"
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment