Skip to content

Instantly share code, notes, and snippets.

View ryantanaka's full-sized avatar

Ryan ryantanaka

  • Los Angeles, California
View GitHub Profile
@ryantanaka
ryantanaka / fake-pegasus-transfer.sh
Created July 22, 2021 22:36
possible implementation for pegasus-checkpoint
#!/bin/bash
for i in {1..3}
do
sleep 1
echo "$i .. doing some work ..., these are fake logs"
done
@ryantanaka
ryantanaka / Dockerfile
Last active March 25, 2021 00:09
Ubuntu18.04, Cuda10.1, Cudnn7.0, Tensorflow2.3 singularity example on donut cluster. When building your own Docker image, you can inherit from `ryantanaka/cuda10.1:latest`
# Ubuntu 18.04
from nvidia/cuda:10.1-base
# set locale
ENV LANG C.UTF-8
# install linux packages
RUN apt update && apt install -y \
software-properties-common \
wget \

Trigger Usage

  1. pegasus-em create <ensemble name>
  2. pegasus-em trigger <ensemble name> <trigger name> <prefix> <pattern> <interval> <workflow script>
  • At each interval, file names matching the given pattern(s) and which have a modification date s.t. (time now - interval) <= mod date < time now, will be given as arguments to the workflow script. The workflow will be planned and submitted as <ensemble name>.<prefix>_<time now or runXXX>.

  • Example: