Skip to content

Instantly share code, notes, and snippets.

View ZhuofanShen's full-sized avatar

Zhuofan Shen ZhuofanShen

  • Rutgers, the State University of New Jersey
  • Center for Integrative Proteomics Research
View GitHub Profile
@michaelchughes
michaelchughes / README.md
Last active April 7, 2024 09:48
Fixes for GLIBC errors when installing tensorflow or pytorch on older Red Hat or CentOS cluster environments

Goal

Install working tensorflow or pytorch via standard conda environment workflow.

Basic Setup : Install pytorch in a fresh conda environment

The recommended conda-based install process works smoothly:

$ # Create a fresh environment
@ruario
ruario / 1-patchelf.md
Last active December 13, 2023 02:46
Fetching, building and installing PatchELF

The following assumes you want a single user install. If you want a system wide install instead, run the attached script create-patchelf-pkg.sh (after first installing a suitable build environment).

Note: create-patchelf-pkg.sh also provides an uninstall script.

Setting up a Build Environment

Install a basic build environment (if you don't already have one). How to install this varies from distro to distro. Your best bet to refer to your distro's wiki or ask in their forums. That said, here are a few example install commands for a few of the popular distros:

  • Ubunt/Mint/Debian: sudo install build-essential
  • Fedora: sudo dnf install @development-tools