Author: Danilo

Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

HPC

The Slurm invalid account error can occur when a user tries to submit jobs without a valid association in the Slurm database. In this guide, I will demonstrate a real troubleshooting scenario where a job submission fails with an account or account/partition combination error. While testing a Slurm cluster, I received this error when submitting a job using the srun command. The issue was related to the user configuration in Slurm accounting rather than the operating system user or home directory configuration. This article explains how to identify the cause of the problem, verify users and accounts with sacctmgr, and…

Read More

Creating a Simple Python Project Using a Virtual Environment demonstrates, in practice, how to use a virtual environment. First and foremost, we’ve written an article to explain how to install Python on Windows. Click here to access this article. Additionally, if you’re not familiar with Python virtual environment (venv), there is an article to explain it a bit. Click here to access this article. Let’s Get Started: The Python Directory After installing Python (on Windows, Linux, or any operating system), a good practice is to create a directory to store your Python projects. In our case, for instance, since we’re…

Read More

A Python virtual environment on Windows allows developers to create isolated environments for different projects, keeping Python packages and dependencies separated. In this guide, I will show how to create, activate, use, and manage a virtual environment using the built-in Python venv module. When working with Python projects, managing different library versions can become a challenge. A virtual environment provides a clean and organized way to install project-specific packages without affecting the global Python installation on Windows. I created this practical guide to demonstrate how Python virtual environments work in a Windows environment, including common tasks such as installing modules,…

Read More

Installing Python on Windows shows how to install Python step-by-step. I’ve been using Python on Linux, and I’d like to run it on Windows. So, I decided to create this simple article showing all the necessary steps to install Python on Windows. In this case, I’m running Windows 11 (I did not test it on previous Windows releases). Downloading Python Installer The first step is to download the Python installer: In my case, I’m using the 64-bit version (choose the best version for you): Installing Python on Windows Installing Python on Windows is straightforward. Double-click the Python installer and follow…

Read More
HPC

Setting Up a Slurm Cluster in a Lab Environment shows, step-by-step, how to deploy and configure a Slurm cluster. Previously, we’ve written an article introducing HPC and Slurm. You can check this article by clicking here. First and foremost, I’m not an expert on HPC or Slurm (I’m a learner). So, as I advance on it, I’ll create new articles on this fantastic subject! Let’s Talk About Our Lab Topology A real HPC cluster uses many powerful physical servers (nodes). Since we don’t have access to those physical servers (we’re in a lab, with limited resources), we’ll create our lab…

Read More
HPC

HPC is an acronym for High Performance Computing. High-performance computing (HPC) generally refers to processing computationally intensive tasks at high speed across multiple servers in parallel. Those server sets are clusters with compute servers using a high-speed, low-latency network. What’s an HPC Cluster? In an HPC cluster, each computer/server is a node. So, an HPC cluster is a set of nodes. HPC clusters run batches of computations. The core of any HPC cluster is the scheduler (Slurm, for example), which tracks available resources and efficiently assigns job requests to compute resources (CPU and GPU) over a fast network. We can…

Read More