One GUI using technology for web applications
- gcylc: large memory footprint in graph mode - possible leak?
- Close as superseded by One GUI using technology for web applications.
- (Matt) Close.
| #!/bin/bash | |
| set -euo pipefail | |
| finally() { | |
| trap '' ERR | |
| trap '' EXIT | |
| if [[ -n "${WORKD:-}" ]]; then | |
| rm -fr "${WORKD}" | |
| fi | |
| } |
| #!/bin/bash | |
| #------------------------------------------------------------------------------ | |
| # This script is used by a Python project that is also a Cylc suite. | |
| # An initial task in the suite runs this script to build and install the Python | |
| # project and its environment in a self-contained Conda environment under | |
| # `~/cylc-run/SUITE/share/condaenv/`. | |
| # Subsequent tasks activates this environnment using: | |
| # set +u | |
| # . "${USER_CONDA_PROFILE}" | |
| # conda activate "${SUITE_CONDA_ENV}" |
| #!/usr/bin/sed -f | |
| # To use: | |
| # 1. Download or copy this script. | |
| # 2. Save it in a suitable location. E.g. ./datetime.sed | |
| # 3. Ensure this script is executable. | |
| # 4. Run: ./datetime.sed IN-FILE > OUT-FILE | |
| s/^\([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)/\1-\2-\3 \4:\5:00/ |
| title WFS => Remote Job => WFS | |
| participantgroup #lightblue **WFS Host** | |
| participant WFS | |
| end | |
| participantgroup #lightgrey **Remote Job Host** | |
| participant Job Submit | |
| database File System | |
| participant Batch System | |
| participant Job |
One GUI using technology for web applications
| #!/usr/bin/env python | |
| from multiprocessing import Process | |
| import sys | |
| from time import sleep | |
| POLL_DURATION = 0.01 | |
| def worker(sleeptime, message): |
| #!/usr/bin/python | |
| import os | |
| from pipes import quote | |
| from subprocess import Popen, PIPE | |
| import sys | |
| from time import sleep | |
| N_PROCS = 4 # adjust this or make this an option |
| #!/bin/bash | |
| set -eu | |
| begin() { | |
| for I in $(seq -w 1 30); do | |
| mkdir -p "${HOME}/cylc-run/scan-test-${I}" | |
| cat >"${HOME}/cylc-run/scan-test-${I}/suite.rc" <<'__SUITERC__' | |
| [scheduling] | |
| [[dependencies]] | |
| graph = t1 |
| #!/usr/bin/python | |
| from datetime import datetime | |
| from time import clock, time | |
| N_TIMES = 100000 | |
| def main(): | |
| begin = clock() |
| #!jinja2 | |
| title=Basic suite | |
| description=A basic suite of 100 tasks per cycle | |
| [cylc] | |
| UTC mode=True # Ignore DST | |
| [scheduling] | |
| initial cycle time=20130101 | |
| final cycle time=20130110 | |
| #runahead limit=12 | |
| [[dependencies]] |