[OOD-users] OOD-users Digest, Vol 17, Issue 7

Franz, Eric efranz at osc.edu
Tue Aug 14 16:22:03 EDT 2018


This seems to be possible with the current interactive app plugin capabilities.

Here is an example of the Jupyter app modified to display a text area to the user and modify the batch script, loading the desired modules prior to starting Jupyter:

https://github.com/OSC/bc_example_jupyter/pull/6 with attached screenshot

and in particular


At OSC we don’t do this so I’m not sure what limitations you would run into. One limitation that needs to be addressed is you can’t change the textarea size which makes editing multiple lines annoying with the default textarea size. That will be fixed in the next OnDemand version.


Eric Franz, Senior Web & Interface App Engineer
Ohio Supercomputer Center
An Ohio Technology Consortium (OH-TECH) Member
1224 Kinnear Road
Columbus, OH 43212
email: efranz at osc.edu

From: OOD-users <ood-users-bounces+efranz=osc.edu at lists.osc.edu> on behalf of Benjamin Evans <b.evans at yale.edu>
Reply-To: User support mailing list for Open OnDemand <ood-users at lists.osc.edu>
Date: Tuesday, August 14, 2018 at 1:59 PM
To: "ood-users at lists.osc.edu" <ood-users at lists.osc.edu>
Subject: Re: [OOD-users] OOD-users Digest, Vol 17, Issue 7

Morgan & Susan,

I brought this up at the PEARC BoF, but I would also like to echo here. I think it would be really nice to allow for a text input field that gets dumped to the job file that gets submitted. We could set a default so that they can see an example? I would expect the block of text to go right after any job submission parameters, before any commands get run. This would allow a user to set up their jupyter environment much more flexibly. They could even load the proper environments/modules for running other kernels available on the cluster, e.g. R, MATLAB.


On Tue, Aug 14, 2018 at 12:04 PM <ood-users-request at lists.osc.edu<mailto:ood-users-request at lists.osc.edu>> wrote:
Send OOD-users mailing list submissions to
        ood-users at lists.osc.edu<mailto:ood-users at lists.osc.edu>

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        ood-users-request at lists.osc.edu<mailto:ood-users-request at lists.osc.edu>

You can reach the person managing the list at
        ood-users-owner at lists.osc.edu<mailto:ood-users-owner at lists.osc.edu>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of OOD-users digest..."

Today's Topics:

   1. Re: Jupyter Notebooks in OnDemand (Rodgers, Morgan E.)


Message: 1
Date: Mon, 13 Aug 2018 17:10:24 +0000
From: "Rodgers, Morgan E." <mrodgers at osc.edu<mailto:mrodgers at osc.edu>>
To: User support mailing list for Open OnDemand
        <ood-users at lists.osc.edu<mailto:ood-users at lists.osc.edu>>
Subject: Re: [OOD-users] Jupyter Notebooks in OnDemand
        <BYAPR01MB4247DDE4B4C51D3C06263349C8390 at BYAPR01MB4247.prod.exchangelabs.com<mailto:BYAPR01MB4247DDE4B4C51D3C06263349C8390 at BYAPR01MB4247.prod.exchangelabs.com>>

Content-Type: text/plain; charset="us-ascii"

Hi Susan,

Are you asking about how to give users a choice about how to select the Jupyter kernel of their choice? Or about the version of the Jupyter engine itself?

From: OOD-users <ood-users-bounces+mrodgers=osc.edu at lists.osc.edu<mailto:osc.edu at lists.osc.edu>> on behalf of Susan Litzinger <susan at psc.edu<mailto:susan at psc.edu>>
Sent: Friday, August 10, 2018 2:28:02 PM
To: User support maiing list for Open OnDemand
Subject: [OOD-users] Jupyter Notebooks in OnDemand

At the PEARC Open OnDemand BOF, I asked how OSC recommends we allow users change which version of Jupyter will be used for their session. OSC suggested creating a config file that will be read after the user brings up OnDemand.

I found docs about jupyter_notebook.config file but nothing regarding modules or versions.

Has anyone who is using OnDemand for Jupyter Notebooks figured out a way to do this .-- create a config file that allows users to customize which modules they load for use with Jupyter?  I haven't been able to find anything.

How is everyone else handling multiple versions within OnDemand?

Thanks in advance,

Susan Litzinger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20180813/efb20e4f/attachment-0001.html>


Subject: Digest Footer

OOD-users mailing list
OOD-users at lists.osc.edu<mailto:OOD-users at lists.osc.edu>


End of OOD-users Digest, Vol 17, Issue 7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20180814/dcc7b1fd/attachment-0001.html>

More information about the OOD-users mailing list