Setting up Coding Environments for HPC

Overview

Instructor(s): Dr. Thang Ha

Time: April 2026

Location: Blocker 220

Prerequisite(s): Active HPRC account,

Have you ever found a GitHub repo that has some features relevant to your research but you could not follow the instructions to make it work on HPRC Linux supercomputers? Maybe you tried to follow the instructions to set up a some Python/Conda environment for such a repo and ended up locked out of your account because you filled up your home storage quota limit? Ever tried to install an R library package or compile a source code in C/C++/Fortran and bumped into errors involving missing libraries that you don't have sudo permission to install? If you encounter any of these issues, this short course is for you!

By learning to set up environments for Python/R scripts and C/C++/Fortran software compilation on HPRC, participants will be able to install the libraries and packages required for their R and Python scripts (e.g. PyTorch), compile source codes into executable programs, and run these scripts and programs on TAMU computing clusters. These skills will be relevant for researchers in a variety of fields, including those involved with AI/ML, molecular dynamics simulations, and materials science.

A Registration button will appear here when registration has been opened.

Course Materials

  • Setting up Coding Environments (Fall 2025): PDF

Participation

During the training, attendees are expected to log in to an HPRC cluster using their own computer and complete the instructor-led examples and exercises.

Learning Objectives

In this course, participants will:

  • Set up a Python virtual environment containing PyTorch, which is a widely-used python package for many common AI/ML workloads, such as Large Language Models (LLMs), using HPRC's in-house Python virtual environment manager "ModuLair", which is based on Python venv.
  • Set up a Conda/Mamba environment, in case a given Python environment requires Conda and/or is too complicated to set up using Python venv.
  • Set up an environment for running R scripts using HPRC's in-house R project environment management and software module "R_tamu".
  • Set up a software compilation environment using a FOSS (GNU) toolchain and/or an Intel toolchain, compile source code into executable programs, and write and submit a Slurm job script to run those compiled programs on HPRC.