Skip to content

Instantly share code, notes, and snippets.

@russellsmithies
russellsmithies / Vagrantfile
Created August 10, 2023 03:12
A Vagrantfile to create a small HTCondor cluster
# -*- mode: ruby -*-
# vi: set ft=ruby :
#Total number of nodes
NODE_COUNT = 5
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
@russellsmithies
russellsmithies / gist:f91a5f62f9219447a147dab7357a3188
Created May 31, 2021 01:42
ont-bonito Singularity definition
BootStrap: docker
From: nvidia/cuda:11.2.0-cudnn8-devel-ubuntu20.04
%post
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
echo 'export LC_ALL=C.UTF-8' >> $SINGULARITY_ROOTFS/$SINGULARITY_ENVIRONMENT
echo 'export LANG=C.UTF-8' >> $SINGULARITY_ROOTFS/$SINGULARITY_ENVIRONMENT