Puget Systems print logo
https://www.pugetsystems.com


Read this article at https://www.pugetsystems.com/guides/2301
Dr Donald Kinghorn (Scientific Computing Advisor)

LTSP Configuration for Benchmark Platform of Diskless Workstations

Written on March 16, 2022 by Dr Donald Kinghorn

In this post we look at using a testing Lab of Windows systems as a benchmarking platform for Linux scientific application using network boot with nfsroot and home mounts. Linux is boot on the systems "diskless" leaving the Windows installs untouched. LTSP turned out to be a great time saver for setting up the configuration.


Read this article at https://www.pugetsystems.com/guides/2296
Dr Donald Kinghorn (Scientific Computing Advisor)

NVIDIA GPU Power Limit vs Performance

Written on February 22, 2022 by Dr Donald Kinghorn

This post presents testing data showing that power-limit reduction on NVIDIA GPUs have give significant benefits for both high wattage and lower wattage GPUs. Power-limit vs Performance data is presented for 1-4 A5000 and 1-4 RTX3090 GPUs.


Read this article at https://www.pugetsystems.com/guides/2295
Dr Donald Kinghorn (Scientific Computing Advisor)

NVIDIA GPU Powerlimit Systemd Setup Script

Written on February 17, 2022 by Dr Donald Kinghorn

In this post I am referencing a Bash shell script I recently put together for setting up automatic NVIDIA GPU power-limit lowering at system boot. This allows a reliable way to configure and maintain multi-GPU systems for stable operation under heavy load.


Read this article at https://www.pugetsystems.com/guides/2287
Dr Donald Kinghorn (Scientific Computing Advisor)

Standalone Python Conda envs without installing Conda (using micromamba!)

Written on January 14, 2022 by Dr Donald Kinghorn

In this post I'll show you how to setup isolated conda envs for Python without having a base conda install! I'll cover Linux and Windows including an example to get you started. Read on to learn about the wonderful micromamba project.


Read this article at https://www.pugetsystems.com/guides/2213
Dr Donald Kinghorn (Scientific Computing Advisor)

How-To: Make Ubuntu Autoinstall ISO with Cloud-init

Written on September 1, 2021 by Dr Donald Kinghorn

This post will guide you through the process of creating an Ubuntu 20.04 (or newer) autoinstall ISO by modifying the default installer ISO. The install configuration will be done using cloud-init cloud-config method that is now used for the Ubuntu server installer.


Read this article at https://www.pugetsystems.com/guides/2181
Dr Donald Kinghorn (Scientific Computing Advisor)

Self Contained Executable Containers Using Enroot Bundles

Written on July 14, 2021 by Dr Donald Kinghorn

NVIDIA Enroot has a unique feature that will let you easily create an executable, self-contained, single-file package with a container image AND the runtime to start it up! This allows creation of a container package that will run itself on a system with or without Enroot installed on it! "Enroot Bundles".


Read this article at https://www.pugetsystems.com/guides/2142
Dr Donald Kinghorn (Scientific Computing Advisor)

Run "Docker" Containers with NVIDIA Enroot

Written on May 11, 2021 by Dr Donald Kinghorn

Enroot is a simple and modern way to run "docker" or OCI containers. It provides an unprivileged user "sandbox" that integrates easily with a "normal" end user workflow. I like it for running development environments and especially for running NVIDIA NGC containers. In this post I'll go through steps for installing enroot and some simple usage examples including running NVIDIA NGC containers.


Read this article at https://www.pugetsystems.com/guides/1907
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: Adding Anaconda PowerShell to Windows Terminal

Written on October 1, 2020 by Dr Donald Kinghorn

When you install Miniconda3 or Anaconda3 on Windows it adds a PowerShell shortcut that has the necessary environment setup and initialization for conda. It's listed in the Windows menu as "Anaconda Powershell Prompt (Anaconda3)". However, this opens a separate/detached PowerShell instance and it would be nice to have this as an optional shell from Windows Terminal! In this post we will add that functionality as a new shell option in Windows Terminal.


Read this article at https://www.pugetsystems.com/guides/1828
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: How To Install JupyterLab Extensions (Globally for a JupyterHub Server)

Written on July 15, 2020 by Dr Donald Kinghorn

The current JupyterHub version 2.5.1 does not allow user installed extension for JupyterLab when it is being served from JupyterHub. This should be remedied in version 3. However, even when this is "fixed" it is still useful to be able to install extensions globally for all users on a multi-user system. This note will show you how.


Read this article at https://www.pugetsystems.com/guides/1811
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: How To Copy and Rename a Microsoft WSL Linux Distribution

Written on June 19, 2020 by Dr Donald Kinghorn

WSL on Windows 10 does not (currently) provide a direct way to copy a Linux distribution that was installed from the "Microsoft Store". The following guide will show you a way to make a working copy of an installed distribution with a new name.


Read this article at https://www.pugetsystems.com/guides/1749
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: Self-Signed SSL Certificate for (local) JupyterHub

Written on May 7, 2020 by Dr Donald Kinghorn

In this note I'll go through creating self-signed SSL certificates and adding them to a JupyterHub configuration running on a LAN or VPN. This will allow encrypted access to the server using https in a browser.


Read this article at https://www.pugetsystems.com/guides/1729
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: JupyterHub with JupyterLab Install using Conda

Written on April 17, 2020 by Dr Donald Kinghorn

This is a quick note about setting up a JupyterHub server and JupyterLab using conda with Anaconda Python.


Read this article at https://www.pugetsystems.com/guides/1673
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: How To Install JupyterHub on a Local Server

Written on February 19, 2020 by Dr Donald Kinghorn

This note describes installing and configuring JupyterHub and JupyterLab on a "bare-metal" server.


Read this article at https://www.pugetsystems.com/guides/1654
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: Auto-Install Ubuntu with Custom Preseed ISO

Written on January 30, 2020 by Dr Donald Kinghorn

This note describes creating an ISO image for a fully automatic, customized Ubuntu 18.04 server install.


Read this article at https://www.pugetsystems.com/guides/1653
Dr Donald Kinghorn (Scientific Computing Advisor)

Note: Setup Git for PowerShell on Windows 10

Written on January 24, 2020 by Dr Donald Kinghorn

How to setup PowerShell nicely for using git with command completion and color highlighted shell prompt git status/action notifications.


Read this article at https://www.pugetsystems.com/guides/1568
Dr Donald Kinghorn (Scientific Computing Advisor)

Workstation Setup for Docker with the New NVIDIA Container Toolkit (nvidia-docker2 is deprecated)

Written on September 13, 2019 by Dr Donald Kinghorn

It's time for a "Docker with NVIDIA GPU support" update. This post will guide you through a useful Workstation setup (including User-name-spaces and performance tuning) with the new versions of Docker and the NVIDIA GPU container toolkit.


Read this article at https://www.pugetsystems.com/guides/1527
Dr Donald Kinghorn (Scientific Computing Advisor)

NVIDIA Docker2 with OpenGL and X Display Output

Written on July 11, 2019 by Dr Donald Kinghorn

Docker is a great Workstation tool. It is mostly used for command-line application or servers but, ... What if you want to run an application in a container, AND, use an X Window GUI with it? What if you are doing development work with CUDA and are including OpenGL graphic visualization along with it? You CAN do that!


Read this article at https://www.pugetsystems.com/guides/1520
Dr Donald Kinghorn (Scientific Computing Advisor)

Install TensorFlow 2 beta1 (GPU) on Windows 10 and Linux with Anaconda Python (no CUDA install needed)

Written on June 26, 2019 by Dr Donald Kinghorn

TensorFlow 2.0.0-beta1 is available now and ready for testing. What if you want to try it but don't want to mess with doing an NVIDIA CUDA install on your system. The official TensorFlow install documentations has you do that, but it's really not necessary.


Read this article at https://www.pugetsystems.com/guides/1477
Dr Donald Kinghorn (Scientific Computing Advisor)

How To Run Remote Jupyter Notebooks with SSH on Windows 10

Written on June 11, 2019 by Dr Donald Kinghorn

Being able to run Jupyter Notebooks on remote systems adds tremendously to the versatility of your workflow. In this post I will show a simple way to do this by taking advantage of some nifty features of secure shell (ssh). What I'll do is mostly OS independent but I am putting an emphasis on Windows 10 since many people are not familiar with tools like ssh on that OS.


Read this article at https://www.pugetsystems.com/guides/1470
Dr Donald Kinghorn (Scientific Computing Advisor)

How To Use SSH Client and Server on Windows 10

Written on May 31, 2019 by Dr Donald Kinghorn

This post is a setup guide and introduction to ssh client and server on Windows 10. Microsoft has a native OpenSSH client AND server on Windows. They are standard (and in stable versions) on Windows 10 since the 1809 "October Update". This guide should helpful to both Windows and Linux users who want better interoperability.


Read this article at https://www.pugetsystems.com/guides/1460
Dr Donald Kinghorn (Scientific Computing Advisor)

How To Install Docker and NVIDIA-Docker on Ubuntu 19.04

Written on May 7, 2019 by Dr Donald Kinghorn

Being able to get Docker and the NVIDIA-Docker runtime working on Ubuntu 19.04 makes this new and (currently) mostly unsupported Linux distribution a lot more useful. In this post I'll go through the steps that I used to get everything working nicely.


Read this article at https://www.pugetsystems.com/guides/1419
Dr Donald Kinghorn (Scientific Computing Advisor)

How to Install TensorFlow with GPU Support on Windows 10 (Without Installing CUDA) UPDATED!

Written on April 26, 2019 by Dr Donald Kinghorn

This post is the needed update to a post I wrote nearly a year ago (June 2018) with essentially the same title. This time I have presented more details in an effort to prevent many of the "gotchas" that some people had with the old guide. This is a detailed guide for getting the latest TensorFlow working with GPU acceleration without needing to do a CUDA install.


Read this article at https://www.pugetsystems.com/guides/1405
Dr Donald Kinghorn (Scientific Computing Advisor)

How To Install CUDA 10.1 on Ubuntu 19.04

Written on April 5, 2019 by Dr Donald Kinghorn

Ubuntu 19.04 will be released soon so I decided to see if CUDA 10.1 could be installed on it. Yes, it can and it seems to work fine. In this post I walk through the install and show that docker and nvidia-docker also work. I ran TensorFlow 2.0- alpha on Ubuntu 19.04 beta.


Read this article at https://www.pugetsystems.com/guides/1236
Dr Donald Kinghorn (Scientific Computing Advisor)

How To Install CUDA 10 (together with 9.2) on Ubuntu 18.04 with support for NVIDIA 20XX Turing GPUs

Written on September 27, 2018 by Dr Donald Kinghorn

NVIDIA recently released version 10.0 of CUDA. This is an upgrade from the 9.x series and has support for the new Turing GPU architecture. This CUDA version has full support for Ubuntu 18.4 as well as 16.04 and 14.04. The CUDA 10.0 release is bundled with the new 410.x display driver for Linux which will be needed for the 20xx Turing GPU's. If you are doing development work with CUDA or running packages that require you to have the CUDA toolkit installed then you will probably want to upgrade to this. I'll go though how to do the install of CUDA 10.0 either by itself or along with an existing CUDA 9.2 install.


Read this article at https://www.pugetsystems.com/guides/1230
Dr Donald Kinghorn (Scientific Computing Advisor)

PyTorch for Scientific Computing - Quantum Mechanics Example Part 4) Full Code Optimizations -- 16000 times faster on a Titan V GPU

Written on September 14, 2018 by Dr Donald Kinghorn

This is the 16000 times speedup code optimizations for the scientific computing with PyTorch Quantum Mechanics example. The following quote says a lot, "The big magic is that on the Titan V GPU, with batched tensor algorithms, those million terms are all computed in the same time it would take to compute 1!!!"