For a list of open issues and known problems, see: https://github.com/radical-cybertools/radical.pilot/issues/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from radical.entk import Pipeline, Stage, Task, AppManager | |
import os | |
host = os.environ.get('RMQ_HOSTNAME', 'localhost') | |
port = os.environ.get('RMQ_PORT', 5672) | |
def generate_pipeline(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks": [{ | |
"slot": "task", | |
"count": { | |
"per_slot": 1 | |
}, | |
"command": [ | |
# "/home/merzky/radical/radical.pilot.3/examples/hello_rp.sh"] | |
"/bin/date"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import json | |
import radical.utils as ru | |
import subprocess as sp | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
FORMAT='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
( | |
function branch() { | |
git branch 2>/dev/null | grep -e '^*' | tr -d '\* ' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# edited by andre@merzky.net | |
# original at https://gist.github.com/Mark-Booth/5058384 | |
# forked from https://gist.github.com/lth2h/4177524 @ ae184f1 by mark.booth | |
# forked from https://gist.github.com/jehiah/1288596 @ e357c1e by lth2h | |
# ideas from https://github.com/kortina/bakpak/blob/master/bin/git-branches-vs-origin-master | |
# this prints out some branch status | |
# (similar to the '... ahead' info you get from git status) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
annotations: | |
kubernetes.io/created-by: > | |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"radical-nge","name":"radical-nge-3-1","uid":"4119cd1b-1cca-11e8-972b-005056b78d70","apiVersion":"v1","resourceVersion":"56031866"}} | |
kubernetes.io/limit-ranger: >- | |
LimitRanger plugin set: cpu, memory request for container radical-nge-3; | |
cpu, memory limit for container radical-nge-3 | |
openshift.io/deployment-config.latest-version: '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module unload PrgEnv-pgi | |
module load PrgEnv-gnu | |
module load tmux | |
module load python | |
module load python_pip | |
module load python_virtualenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module unload PrgEnv-pgi | |
module load PrgEnv-gnu | |
module load tmux | |
module load python | |
module load python_pip | |
module load python_virtualenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
from pprint import pprint | |
import radical.utils as ru | |
import radical.pilot as rp | |
WALLTIME = 60 # In minutes |
NewerOlder