[yt-users] Notebook server question

Nathan Goldbaum nathan12343 at gmail.com
Fri Apr 18 23:24:14 PDT 2014


Here is a modified version of Stuart's original script that works with a
torque/maui job scheduler: http://paste.yt-project.org/show/4540/

I've cleaned up and reorganized a bit and added a signal handler that
ensures a job does not stay running on the cluster after we disconnect or
if the script crashes for some reason.

Hope it's useful for others,

-Nathan


On Mon, Nov 25, 2013 at 3:44 PM, Andrew Myers <atmyers2 at gmail.com> wrote:

> Hi John,
>
> Here it is. It's essentially the same as Stuart's, except that instead of
> asking the scheduler for a compute node, it chains multiple ssh commands
> together. This probably won't work if your machines are set up to prompt
> you for a password interactively.
>
> https://www.dropbox.com/s/qkmy756wwl5ylol/ipynb_hepburn.py
>
> -Andrew
>
>
> On Sun, Nov 24, 2013 at 5:57 PM, John ZuHone <jzuhone at gmail.com> wrote:
>
>> Andrew,
>>
>> Can you post that somewhere?
>>
>> John Z
>>
>> John ZuHone
>> Laboratory for High-Energy Astrophysics
>> NASA/Goddard Space Flight Center
>> 8800 Greenbelt Rd., Mail Code 662
>> Greenbelt, MD 20771
>> (w) 301-286-2531
>> (m) 781-708-5004
>> john.zuhone at nasa.gov
>> jzuhone at gmail.com
>>
>> On Nov 24, 2013, at 7:52 PM, Andrew Myers <atmyers2 at gmail.com> wrote:
>>
>> Hi Stuart,
>>
>> Thanks a bunch for sharing that script! I was able to modify to do what I
>> wanted.
>>
>> Best,
>> Andrew
>>
>>
>> On Sat, Nov 23, 2013 at 3:42 PM, Stuart Mumford <stuart at mumford.me.uk>wrote:
>>
>>> I use this script to tunnel into a worker node on a cluster, it may be
>>> helpful.
>>> https://www.dropbox.com/s/joerbm32o109air/ipyn_polaris2.py
>>>
>>> Stuart
>>> On 23 Nov 2013 23:36, "Andrew Myers" <atmyers2 at gmail.com> wrote:
>>>
>>>>  Hello yt users,
>>>>
>>>> I have a (perhaps naive) ssh question related to the yt notebook. I
>>>> would like to run a yt notebook server on machine A. However, machine A
>>>> cannot be directly accessed via ssh from the wider internet. Instead, I
>>>> must first ssh into machine B, and then ssh from B to A. Machine B cannot
>>>> run the notebook server itself. Does anyone know how I can configure things
>>>> - perhaps by using a more complicated ssh tunnel command - so I that access
>>>> a notebook server running on machine A through machine B?
>>>>
>>>> Thanks,
>>>> Andrew
>>>>
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140418/a97dc374/attachment.htm>


More information about the yt-users mailing list