<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Ben,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This seems to be possible with the current interactive app plugin capabilities.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://github.com/OSC/bc_example_jupyter/pull/6">https://github.com/OSC/bc_example_jupyter/pull/6</a> with attached screenshot<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">and in particular<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://github.com/OSC/bc_example_jupyter/pull/6/commits/8227416bf95bae95381b3fdc4010e8f21e1292ad">https://github.com/OSC/bc_example_jupyter/pull/6/commits/8227416bf95bae95381b3fdc4010e8f21e1292ad</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Eric<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal">Eric Franz, Senior Web & Interface App Engineer<o:p></o:p></p>
<p class="MsoNormal">Ohio Supercomputer Center<o:p></o:p></p>
<p class="MsoNormal">An Ohio Technology Consortium (OH-TECH) Member<o:p></o:p></p>
<p class="MsoNormal">1224 Kinnear Road<o:p></o:p></p>
<p class="MsoNormal">Columbus, OH 43212<o:p></o:p></p>
</div>
<p class="MsoNormal">email: efranz@osc.edu<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">OOD-users <ood-users-bounces+efranz=osc.edu@lists.osc.edu> on behalf of Benjamin Evans <b.evans@yale.edu><br>
<b>Reply-To: </b>User support mailing list for Open OnDemand <ood-users@lists.osc.edu><br>
<b>Date: </b>Tuesday, August 14, 2018 at 1:59 PM<br>
<b>To: </b>"ood-users@lists.osc.edu" <ood-users@lists.osc.edu><br>
<b>Subject: </b>Re: [OOD-users] OOD-users Digest, Vol 17, Issue 7<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Morgan & Susan,</span><br clear="all">
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">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.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Cheers,</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">Ben</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Aug 14, 2018 at 12:04 PM <<a href="mailto:ood-users-request@lists.osc.edu">ood-users-request@lists.osc.edu</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Send OOD-users mailing list submissions to<br>
        <a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.osu.edu/mailman/listinfo/ood-users" target="_blank">
https://lists.osu.edu/mailman/listinfo/ood-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ood-users-request@lists.osc.edu" target="_blank">ood-users-request@lists.osc.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ood-users-owner@lists.osc.edu" target="_blank">ood-users-owner@lists.osc.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of OOD-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Jupyter Notebooks in OnDemand (Rodgers, Morgan E.)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 13 Aug 2018 17:10:24 +0000<br>
From: "Rodgers, Morgan E." <<a href="mailto:mrodgers@osc.edu" target="_blank">mrodgers@osc.edu</a>><br>
To: User support mailing list for Open OnDemand<br>
        <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>><br>
Subject: Re: [OOD-users] Jupyter Notebooks in OnDemand<br>
Message-ID:<br>
        <<a href="mailto:BYAPR01MB4247DDE4B4C51D3C06263349C8390@BYAPR01MB4247.prod.exchangelabs.com" target="_blank">BYAPR01MB4247DDE4B4C51D3C06263349C8390@BYAPR01MB4247.prod.exchangelabs.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Susan,<br>
<br>
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?<br>
<br>
<br>
________________________________<br>
From: OOD-users <ood-users-bounces+mrodgers=<a href="mailto:osc.edu@lists.osc.edu" target="_blank">osc.edu@lists.osc.edu</a>> on behalf of Susan Litzinger <<a href="mailto:susan@psc.edu" target="_blank">susan@psc.edu</a>><br>
Sent: Friday, August 10, 2018 2:28:02 PM<br>
To: User support maiing list for Open OnDemand<br>
Subject: [OOD-users] Jupyter Notebooks in OnDemand<br>
<br>
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.<br>
<br>
I found docs about jupyter_notebook.config file but nothing regarding modules or versions.<br>
<br>
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.<br>
<br>
How is everyone else handling multiple versions within OnDemand?<br>
<br>
Thanks in advance,<br>
<br>
Susan Litzinger<br>
PSC<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osu.edu/pipermail/ood-users/attachments/20180813/efb20e4f/attachment-0001.html" target="_blank">http://lists.osu.edu/pipermail/ood-users/attachments/20180813/efb20e4f/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
OOD-users mailing list<br>
<a href="mailto:OOD-users@lists.osc.edu" target="_blank">OOD-users@lists.osc.edu</a><br>
<a href="https://lists.osu.edu/mailman/listinfo/ood-users" target="_blank">https://lists.osu.edu/mailman/listinfo/ood-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of OOD-users Digest, Vol 17, Issue 7<br>
****************************************<o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>