Commit 21e3f6f2 authored by Michael Salim's avatar Michael Salim
Browse files

added note to quickstart.rst. removed os.setsid() from test_functional; see...

added note to quickstart.rst.  removed os.setsid() from test_functional; see if this works on Cooley
parent e1163159
......@@ -45,6 +45,11 @@ Theta (@ALCF)
$ cp /opt/cray/pe/mpt/7.6.0/gni/mpich-intel-abi/16.0/lib/libmpi* ~/.conda/envs/balsam/lib/ # need to link to intel ABI
$ export LD_LIBRARY_PATH=~/.conda/envs/balsam/lib:$LD_LIBRARY_PATH # add to .bash_profile
.. note::
If running on Balsam on two systems with a shared file system, keep in mind
that a separate conda environment should be created for each (e.g.
balsam_theta and balsam_cooley)
Get Balsam
-----------
.. code:: bash
......
......@@ -59,7 +59,7 @@ def run_launcher_until(function, args=(), period=1.0, timeout=60.0):
'--max-ranks-per-node', '8'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
preexec_fn=os.setsid)
)
success = poll_until_returns_true(function, args=args, period=period, timeout=timeout)
stop_launcher_processes()
return success
......@@ -71,7 +71,7 @@ def run_launcher_seconds(seconds):
launcher_proc = subprocess.Popen(launcher_path.split(),
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
preexec_fn=os.setsid)
)
try: launcher_proc.communicate(timeout=seconds+30)
finally: stop_launcher_processes()
......
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