You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running mpi_relaunch in a jupyter notebook opened with srun does not work.
To work around it:
open jupyter notebook without using srun
run mpi_relaunch with subprocess inside jupyter cell as follow: import subprocess subprocess.call(['srun','--gres=gpu:1','--pty','python','you_code_that_calls_mpi_relaunch.py'])
The text was updated successfully, but these errors were encountered:
running
mpi_relaunch
in a jupyter notebook opened withsrun
does not work.To work around it:
srun
mpi_relaunch
with subprocess inside jupyter cell as follow:import subprocess
subprocess.call(['srun','--gres=gpu:1','--pty','python','you_code_that_calls_mpi_relaunch.py'])
The text was updated successfully, but these errors were encountered: