<div dir="ltr">Hi Tom,<div><br></div><div>(good to hear from you virtually again)</div><div><br></div><div>... and you do know that there is a terminal interface in SciServer, right?</div><div><br></div><div>Max</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 3:57 PM Jonas Haase <<a href="mailto:jhaase@mpe.mpg.de">jhaase@mpe.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Oh dear I never saw Tom’s original mail, appareantly mailing list owners are not automativally subscribers….</span><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><div>Let me anwer now!</div><div><br></div><div><blockquote type="cite"><div>On 20. Oct 2020, at 14:51, Johannes Buchner <<a href="mailto:jbuchner@mpe.mpg.de" target="_blank">jbuchner@mpe.mpg.de</a>> wrote:</div><br><div><div>On 19.10.20 14:58, Tom Dwelly wrote:<br><blockquote type="cite">Hi Jonas<br><br>I have a few questions about using the MPE SciServer system. I am<br>sending this to the list in case any of these issues have been<br>encountered by other users.<br>Apologies for where I have got the SciServer nomenclature wrong.<br><br><br>1) Is it possible to ssh from an external machine into a container<br>session running on SciServer compute?<br></blockquote><br>This would make SciServer many times more attractive to use for me.<br><br></div></div></blockquote><div><br></div><div>It is not possible to enter a interactive container that way no, however you can use the SciServer Python API to do interactive work on your machine using the resources on the SciServer (database, file sharing) and you can also use it to launch compute jobs, so running your software inside a new container.</div><div><br></div><div>The MPE version of it is here:</div><div><a href="https://github.com/jonashaase/SciScript-Python" target="_blank">https://github.com/jonashaase/SciScript-Python</a></div><div><br></div><div>I put some small example at the end of the getting started document</div><div><a href="https://datashare.mpcdf.mpg.de/s/1e0CF3yRNcgDL4V" target="_blank">https://datashare.mpcdf.mpg.de/s/1e0CF3yRNcgDL4V</a></div><div>And there is a example usage file with the code as well.</div><div>Admittedly a lot of it could be made more userfriendly...</div><br><blockquote type="cite"><div><div>Cheers,<br> Johannes<br><br><blockquote type="cite">2) Is there any way for a user to set up persistent settings (e.g.<br>.bashrc file, ssh settings etc) that are sourced/used by new terminal<br>sessions within any compute container?<br><br></blockquote></div></div></blockquote><div><br></div><div>You can change .bashrc and everything else the idies user has access to and it should stay the same as long as the container is not deleted. However as soon as you start a new container that will all be gone since /home/idies gets re-built from the original image. </div><div><br></div><div>Only the volumes mounted inside /home/idies/workspace/ are persistent, so you could of course source a setup scrip inside your user volume which sets the environment in a way you like. </div><div><br></div><div>I am of course happy to adjust the compute images to set up the environment better. I am sure I missed a few things, in particular in connection with the x-ray software.</div><br><blockquote type="cite"><div><div><blockquote type="cite">3) Is it possible for users to install standard linux packages (e.g. via<br>apt) within a container session?<br><br></blockquote></div></div></blockquote><div><br></div><div>apt-get not, but conda and pip work.</div><div><br></div><div>The reason is that we enforce that the user in the container is ‘idies’ and not root as it most often is in a Docker container. </div><div>Its mostly a security issue: We don’t want anyone with root to be able to write onto the mounted disks on the underlying system and somehow launch a escalation attack there. </div><br><blockquote type="cite"><div><div><blockquote type="cite">3a) if not, please can you add emacs to the default list of installed<br>packages in the standard SciServer compute image?<br><br></blockquote></div></div></blockquote><div><br></div><div>absolutely, no problem!</div><div><br></div><div>@everyone: Please let me know if any software or libraries you need are missing and I’ll install them as quickly as possible.</div><div><br></div><br><blockquote type="cite"><div><div><blockquote type="cite"><br>4) Any idea why 'git clone' operations like the following are failing<br>within a compute container?<br><br></blockquote></div></div></blockquote><div><br></div><div>unfortunately not, this should work.</div><div>I will look into it!</div><div><br></div></div><div><br></div>cheers</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Jonas</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div><br></div></div><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="overflow-wrap: break-word;">—<br>Jonas Haase<br>Max Planck Institute for Extraterrestrial Physics (MPE)<br>Giessenbachstr. 1, 85748 Garching, Germany</div><div style="overflow-wrap: break-word;">X5 1.3.08<br>+49 89 30000 3706</div></span></div></div></div></div></div>
</div>
<br></div>-- <br>
Sciserver-users mailing list<br>
<a href="mailto:Sciserver-users@lists.mpe.mpg.de" target="_blank">Sciserver-users@lists.mpe.mpg.de</a><br>
<a href="https://lists.mpe.mpg.de/cgi-bin/mailman/listinfo/sciserver-users" rel="noreferrer" target="_blank">https://lists.mpe.mpg.de/cgi-bin/mailman/listinfo/sciserver-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>--------------------------------------------------------------------</div><div> Maximilian Fabricius</div><div> * Max Planck Institute for Extraterrestrial Physics (MPE)</div><div> Giessenbachstrasse, D-85748 Garching, Germany<br> eMail: <a href="mailto:mxhf@mpe.mpg.de" target="_blank">mxhf@mpe.mpg.de</a><br> Phone: +49 89 30000 3712<br>--------------------------------------------------------------------</div></div></div></div></div></div></div></div></div></div></div>