Skip to content

Instantly share code, notes, and snippets.

View matthewfeickert's full-sized avatar

Matthew Feickert matthewfeickert

View GitHub Profile
@matthewfeickert
matthewfeickert / .gitattributes
Last active November 21, 2024 23:59
Reproducer for Fortran compile failure related to string
# SCM syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
@matthewfeickert
matthewfeickert / .gitattributes
Last active November 17, 2024 09:12
'hello world' using ncurses from conda-forge
# SCM syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
@matthewfeickert
matthewfeickert / .gitattributes
Last active November 4, 2024 10:29
Local pixi build attempt of Shepa v2.2.16
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
@matthewfeickert
matthewfeickert / .gitattributes
Created October 21, 2024 23:08
Trivial example of using pixi to install ROOT and Python that isn't the latest Python
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
@matthewfeickert
matthewfeickert / .gitattributes
Last active October 17, 2024 09:26
Minimal Gist of Delphes failing to build on macOS using conda-forge tools
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
@matthewfeickert
matthewfeickert / README.md
Last active October 3, 2024 00:23
pixi GitHub Discussion 2191
$ pixi --version
pixi 0.30.0

For testing purposes, I'm trying to create lock files for an ecosystem of tools across multiple Python versions. To avoid having to repeat describing the dependencies, I'd like to use pixi's features to define the tools once in one feature (with lower bounds only as this would be part of nightly/weekly solves) and then have the Python version exist in a separate feature. The goal here is to be able to create environments quickly by composing features together like

FROM mambaorg/micromamba:1.5.9-bookworm-slim
USER mambauser
SHELL [ "/bin/bash", "-c" ]
# Use C.UTF-8 locale to avoid issues with unicode encoding
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
@matthewfeickert
matthewfeickert / .gitignore
Last active August 10, 2024 17:38
Build and install a conda package with rattler-build
# build products
output/
example
# pixi environments
.pixi
*.egg-info
@matthewfeickert
matthewfeickert / README.md
Last active June 13, 2024 06:38
CUDA enabled pytorch env with pixi

Minimal PyTorch CUDA environment with pixi

Based off of the pixi docs example

Steps

  1. Install pixi
    • curl -fsSL https://pixi.sh/install.sh | bash
  2. pixi run detect-gpu
  • If this is your first time doing anything in the environment pixi will run pixi install for you first.
@matthewfeickert
matthewfeickert / README.md
Last active July 19, 2023 21:49
Use VS Code to run notebooks on remote servers in environments built on top of LCG views

Use VS Code to run notebooks on remote servers in environments built on top of LCG views

(Note that this whole thing is a bit cursed as LCG views are a terrible way to distribute Python environments)

Setup

Get a working VS Code server on the remote

Requires: