urn:noticeable:projects:3f43Ej0LaTLbXv21eFelchangelog Updateshpc-internal.carnegiescience.edu2020-06-03T18:04:07.520ZCopyright © changelogNoticeablehttps://storage.noticeable.io/projects/3f43Ej0LaTLbXv21eFel/newspages/t8lIbf2iSTWZIIP91xqU/01h55ta3gshjbemty2fj8xrzn2-header-logo.pnghttps://storage.noticeable.io/projects/3f43Ej0LaTLbXv21eFel/newspages/t8lIbf2iSTWZIIP91xqU/01h55ta3gshjbemty2fj8xrzn2-header-logo.png#1e88e5urn:noticeable:publications:q1iUTNu4XWrZcjo7rRcx2020-02-13T20:19:00.001Z2020-06-03T18:04:07.520ZDid You Know ... Slack EditionDid you know we have a Slack channel for HPC/Research Computing? Signup to our Carnegie Institution for Science workspace (click here) and then join the #hpc channel. Please use your Google login, "@carnegiescience.edu", email...<ul> <li><p><strong>Did you know we have a Slack channel for HPC/Research Computing?</strong></p> <p><a href="https://www.google.com/url?q=https://join.slack.com/t/carnegiescience/shared_invite/enQtODk2MDU1MjM3MjUxLTRlOWI3Y2ViZjgxNmFiZWY0YzZjNWIzZWI4NDI4MDIzN2E4N2FhNjUwYmVmZjQyMTA3OGZhZDEyNTFjN2Q1YTU&amp;sa=D&amp;source=hangouts&amp;ust=1581706914005000&amp;usg=AFQjCNH2bvD5I4q2xYGi-DHkKBvq88ZCsg&amp;utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">Signup to our Carnegie Institution for Science workspace (click here)</a> and then join the <a href="https://carnegiescience.slack.com/archives/C506QH690?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">#hpc</a> channel. Please use your Google login, "@carnegiescience.edu", email address.</p> <p>This channel is useful for a couple of reasons (as well as other Carnegie Science channels!):</p> <ul> <li>Anyone can share photos, <a href="https://slack.com/help/articles/205875058-Google-Drive-for-Slack?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">Googe Drive documents</a>, articles, issues and best practices.</li> <li>Anyone can send me an informal message to talk about HPC/Research Computing/Memex issues, software questions, usage statistics, and much more. If I can’t answer or address your concerns right away, a formal ticket can be created for a faster response ***.</li> <li>Messages can be directed to a particular user or posted to the channel for everyone to see. General issues can be shared to #hpc and searched by other users with similar questions or issues.</li> </ul></li> </ul> <p><a href="https://www.google.com/url?q=https://join.slack.com/t/carnegiescience/shared_invite/enQtODk2MDU1MjM3MjUxLTRlOWI3Y2ViZjgxNmFiZWY0YzZjNWIzZWI4NDI4MDIzN2E4N2FhNjUwYmVmZjQyMTA3OGZhZDEyNTFjN2Q1YTU&amp;sa=D&amp;source=hangouts&amp;ust=1581706914005000&amp;usg=AFQjCNH2bvD5I4q2xYGi-DHkKBvq88ZCsg&amp;utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">To join, click here!!</a></p> <p>Other things you can do are <a href="https://slack.com/help/articles/201402297-Create-a-channel?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">create a new private channel</a>, have a group call (type "<code>/call @user1 @user2</code>"), set reminders (type "<code>/remind help</code>" for options), connect with a Github (type "<code>/github help</code>" for options), and much more (<a href="https://slack.com/help/articles/202288908-Format-your-messages?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">formatting messages</a>, <a href="https://slack.com/help/articles/201259356-Use-built-in-slash-commands?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">built-in commands</a>)!</p> <p>*** Slack does not replace our ticketing system. It is a way for us to discuss research computing without the formality of a ticketing system (by emailing <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a> or typing "<code>/freshservice-ticket</code>" from <a href="https://slack.com/help/articles/212281468-Send-direct-messages?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slack-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.q1iUTNu4XWrZcjo7rRcx&amp;utm_medium=newspage" target="_blank" rel="noopener">Slack’s direct messaging system</a>).</p> Floyd Fayton[email protected]urn:noticeable:publications:2QuP1YochGCrFRF04wYV2020-01-23T16:56:00.001Z2020-06-03T18:35:53.833ZDid You Know ... Python EditionDid you know official support for Python 2 is over? That said, we have Python 3 available on Memex by loading the module, "python/3.6.7". This Python version includes conda, R, Jupyter, IntelMPI, and many other packages. Most...<ul> <li><p>Did you know official support for <a href="https://www.python.org/doc/sunset-python-2/?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-python-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.2QuP1YochGCrFRF04wYV&amp;utm_medium=newspage" target="_blank" rel="noopener">Python 2 is over</a>?</p> <p>That said, we have Python 3 available on Memex by loading the module, "python/3.6.7". This Python version includes conda, R, Jupyter, IntelMPI, and many other packages. Most Python packages can be installed by sending your request to <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a>.</p></li> <li><p>Did you know you can install your own Python packages using conda?</p> <p>For example, if you’d like the latest python version available, 3.8.1, first search for it <a href="https://anaconda.org/?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-python-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.2QuP1YochGCrFRF04wYV&amp;utm_medium=newspage" target="_blank" rel="noopener">here first</a> (mainly conda-forge channel) or directly from the command line with:</p> <pre><code> module purge \ #only needed to ensure a clean environment module load python/3.6.7 conda search python \ #latest should be 3.8.1 as of last week </code></pre> <p>and use it to set up your own conda environment (both <a href="https://anaconda.org/?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-python-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.2QuP1YochGCrFRF04wYV&amp;utm_medium=newspage" target="_blank" rel="noopener">anaconda.org</a> and the command line shows the proper channel, "-c", to use below).</p> <pre><code> conda create -p /lustre/scratch/$USER/.envs/py38 \ -c conda-forge python=3.8.1 </code></pre> <p>The above command assumes <code>/lustre/scratch/$USER/.envs</code> is where you want the conda environment, <mark>py38</mark>, to reside. It has to be in a directory you own.</p> <p>To activate any conda environment (using example, <mark>py38</mark>, above):</p> <pre><code> source activate py38 </code></pre> <p>To deactivate any conda environment:</p> <pre><code> source deactivate </code></pre> <p>To remove an entire conda environment:</p> <pre><code> conda-env remove -n py38 </code></pre></li> <li><p>Did you know you can list existing conda environments already on Memex?</p> <p>To list the available conda environments (still using the module, python/3.6.7), simply type:</p> <pre><code> conda env list </code></pre> <p>if you can see them, you can activate them but if you don’t have write permission, you cannot install, remove, or modify them. You can however, clone them (make the new name <strong>unique</strong>–&gt; "foo", not the <strong>clone name</strong> --&gt; “foo2”):</p> <p><code>conda create -p /lustre/scratch/$USER/.envs/foo --clone foo2</code></p></li> <li><p>Did you know you can list any installed Python package, in the base conda environment (activated by <code>module load python/3.6.7</code>) or a custom conda environment (activated by <code>source activate foo</code>)?</p> <p><code>conda list packagename</code> <strong><em>#replace packagename with real package name</em></strong></p> <p>where “packagename” is a placeholder for a real package (like python, or r-base). Of course,</p> <pre><code> conda list </code></pre> <p>lists all packages installed in your current environment.</p></li> <li><p>Did you know there are other useful commands (<em>#replace packagename and X with real values</em>):</p> <p><code>conda search packagename=X.X.X --info</code> <strong><em>#where X.X.X=version_number of packagename</em></strong><br> <code>conda clean</code> <strong><em>#removes downloaded packages and caches</em></strong><br> <code>conda remove packagename</code> <strong><em>#to remove package</em></strong><br> <code>conda list --revisions</code> <strong><em>#to identify a revision to rollback to</em></strong><br> <code>conda install --revision X</code> <strong><em>#rollback to revision number, X</em></strong></p> <p>Type <code>conda -h</code> and/or <code>conda-env -h</code> for more options.</p></li> </ul> <p><strong>Note</strong>: To manage where your cache directory is located (includes tar balls and downloaded packages), you can set the following in your bashrc:</p> <pre><code>echo CONDA_PKGS_DIRS=/lustre/scratch/$USER/.envs/pkgs &gt;&gt; \ $HOME/.bashrc source $HOME/.bashrc </code></pre> <p>Or in your current environment only with:</p> <pre><code>export CONDA_PKGS_DIRS=/lustre/scratch/$USER/.envs/pkgs </code></pre> Floyd Fayton[email protected]urn:noticeable:publications:FuF1YhK9mCFksmxHZsDe2020-01-15T15:57:00.001Z2020-06-03T18:36:04.820ZDid You Know ... Storage EditionDid you know there's a 256GB quota for all This policy will be fully enforced in the coming weeks. This requirement is needed to manage space and load for > ==Note:== If you are currently over the limit, you will have time to move...<ul> <li><p>Did you know there’s a 256GB quota for all <code>/home</code> directories?</p> <p>This policy will be fully enforced in the coming weeks. This requirement is needed to manage space and load for <code>/home</code>. Home directories should primarily be used to set up scripts, small software applications, and environment variables across the cluster. To that end, we will be enforcing a hard quota of 256GB. A consolidation of all <code>/home</code> directories to one storage device will take place this year. The exact date will be advertised but please contact me or <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a> with any other questions.</p></li> </ul> <blockquote> <p><mark>Note:</mark> If you are currently over the limit, you will have time to move data but start moving (or removing) data <strong>now</strong>.</p> </blockquote> <ul> <li><p>Did you know we have about 950TB of storage right now?</p> <p>This includes the Lustre filesystem (<code>/lustre</code>, 698TB) and the MemexNFS filesystem (<code>/work</code>, <code>/scratch</code>, <code>/share/apps</code>, and <code>/home</code> ~ 252TB). Check out our login banner (see "<mark>Mountpoint Information</mark>") to see how each filesystem should be used.</p></li> </ul> <p><img src="https://storage.noticeable.io/projects/3f43Ej0LaTLbXv21eFel/publications/FuF1YhK9mCFksmxHZsDe/01h55ta3gsa47k8s5mbm1zzsva-image.png" alt="Screen Shot 2020-01-14 at 11.41.05 PM.png"></p> <ul> <li><p>Did you know we now have a <a href="https://carnegiescience.freshservice.com/support/solutions/articles/3000044729?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-storage-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.FuF1YhK9mCFksmxHZsDe&amp;utm_medium=newspage" target="_blank" rel="noopener">Memex Globus endpoint</a>, "cisuser#carnegiescience"?</p> <p>Globus transfers are typically much faster than our command line option. Instructions on how to <a href="https://carnegiescience.freshservice.com/support/solutions/articles/3000044729?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-storage-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.FuF1YhK9mCFksmxHZsDe&amp;utm_medium=newspage" target="_blank" rel="noopener">setup and use Globus on Memex</a> is in our FreshService ticketing system (<a href="https://carnegiescience.freshservice.com/support/solutions?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-storage-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.FuF1YhK9mCFksmxHZsDe&amp;utm_medium=newspage" target="_blank" rel="noopener">Solutions --&gt; Computation</a>).</p></li> <li><p>Did you know you can check disk usage in the following ways?</p> <p>For most users, the new command</p> <pre><code> $ zquota </code></pre> <p>will show your <code>/home</code> usage and your group’s usage for /work/DEPT. Shared directories such as <code>/share/apps</code>, <code>/scratch</code>, and <code>/lustre</code> usage can seen by the ‘df’ command. For example:</p> <pre><code> $ df -h /lustre /share/apps /scratch </code></pre> <p>shows usage for all three filesystems. Of course, other commands like <code>$ du -sh /home/username/directory/</code> for directories or <code>$ ls -Shl filename</code> for files can be used as well.</p></li> </ul> Floyd Fayton[email protected]urn:noticeable:publications:RBpMKY9co1xfZS8hubEf2020-01-13T21:58:00.001Z2020-01-15T16:05:41.596ZDid You Know ... SLURM EditionDid you know there's a gui to view SLURM jobs? Inside a VNC or "ssh -XY .." session, type Did you know you can view the maximum resources of each node with: Did you know you can view the maximum memory used for running jobs with (see...<ul> <li>Did you know there’s a gui to view SLURM jobs? Inside a VNC or “ssh -XY …” session, type <code>sview -a</code> from the command line (check out the menu selection as well):</li> </ul> <p><img src="https://storage.noticeable.io/projects/3f43Ej0LaTLbXv21eFel/publications/RBpMKY9co1xfZS8hubEf/01h55ta3gsx7jhrekm9nghsdts-image.png" alt="Screen Shot 2020-01-13 at 9.58.26 AM.png"></p> <ul> <li><p>Did you know you can view the maximum resources of each node with:</p> <p><code>sinfo -e -o "%20N %10c %10m %25f %10G"</code></p></li> <li><p>Did you know you can view the maximum memory used for running jobs with (see “/bin/sacct -e” for format options):</p> <p><code>/bin/sacct --format="JobID,CPUTime,MaxRSS" -j JOBID</code></p> <p>better yet, try <code>sstat --format="jobid,maxrss,avecpu" -j JOBID</code> (“sstat -e” for format options)?</p></li> <li><p>Did you know you can email yourself job status changes?</p> <p><code>#SBATCH [email protected]</code><br> <code>#SBATCH --mail-type=FAIL,BEGIN,END,SUSPEND</code></p> <p>Here are a <a href="https://carnegiescience.freshservice.com/support/solutions/articles/3000039168?utm_source=noticeable&amp;utm_campaign=3f43ej0latlbxv21efel.did-you-know-slurm-edition&amp;utm_content=publication+link&amp;utm_id=3f43Ej0LaTLbXv21eFel.t8lIbf2iSTWZIIP91xqU.RBpMKY9co1xfZS8hubEf&amp;utm_medium=newspage" target="_blank" rel="noopener">few more tips</a> and you can contact me directly with any questions.</p></li> </ul> Floyd Fayton[email protected]