File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # In the clasp toplevel directory use...
4+ # make -f apptainer/makefile
5+ #
6+
7+ rm -rf build-apptainer/*
8+ tar --exclude-vcs -cvf systems.tar -C $HOME ./common-lisp ./work/spiros/data ./work/data ~ /common-lisp/amber-protein/products/
9+ apptainer build -F --bind $PWD :/mnt cando.sif apptainer/cando-arch.def
Original file line number Diff line number Diff line change 1+ BootStrap: docker
2+ From: ghcr.io/yitzchak/archlinux-makepkg:latest
3+
4+ %post
5+ pacman -Syu --noconfirm binutils boost clang gmp fmt libunwind llvm ninja sbcl jupyterlab emacs openssh netcdf expat gocryptfs nodejs npm
6+ cd /mnt
7+ ./koga --extensions=cando --build-path=build-apptainer/
8+ ninja -C build-apptainer
9+ ninja -C build-apptainer install
10+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
11+ mkdir -p /home/cando/
12+ chmod ugo+rwx /home/cando/
13+ tar -xvf /mnt/systems.tar -C /home/cando
14+ bash Miniconda3-latest-Linux-x86_64.sh -b -p /home/cando/miniconda3
15+ rm -rf Miniconda3-latest-Linux-x86_64.sh
16+ export PATH="/home/cando/miniconda3/bin:${PATH}"
17+ conda install -y -c conda-forge ambertools
18+ jupyter-lab build
19+ chmod -R ugo+rw /home/cando/
20+
21+ %environment
22+ export PATH="/home/cando/miniconda3/bin:${PATH}"
23+ export AMBERHOME=/home/cando/miniconda3
24+
25+
You can’t perform that action at this time.
0 commit comments