All Nextflow documents should start with the following lines, regardless of whether or not the file is intended to be used as an entry script
This file contains hidden or 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
| // Top 10 Browsers | |
| pageViews | |
| | where timestamp > ago(365d) | |
| | summarize count() by client_Browser | |
| | top 10 by count_ desc |
This file contains hidden or 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
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # Make sure you have a recent version: the code points that Powerline |
This file contains hidden or 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
| PROMPT='[%{$fg_bold[yellow]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]\$ ' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}" |
This file contains hidden or 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
| <!doctype html> | |
| <html class="no-js" lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>My sandbox website</title> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |
| <style> |
This file contains hidden or 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
| export MUNGEUSER=1001 | |
| groupadd -g $MUNGEUSER mungeuseradd -m -c "MUNGE Uid 'N' Gid Emporium" -d /var/lib/munge -u $MUNGEUSER -g munge -s /sbin/nologin munge | |
| export SLURMUSER=1002 | |
| groupadd -g $SLURMUSER slurmuseradd -m -c "SLURM workload manager" -d /var/lib/slurm -u $SLURMUSER -g slurm -s /bin/bash slurm | |
| dnf config-manager --enable powertools | |
| dnf install epel-release -y | |
| dnf install slurm slurm-slurmd slurm-slurmdtld -y | |
| dnf install slurm slurm-slurmd slurm-slurmctld -y | |
| create-munge-key | |
| systemctl start munge |
Before you start, outline the following three things for your computational task:
- How many threads (CPUs) you need
- Will often be passed to a
--threadsoption or similar - Using more than 32 in most cases will lead to slower execution times
- We'll call this quanity
$CPUS
- Will often be passed to a
- How much memory (RAM) you need
- Try to convert this into megabytes (MB)
This file contains hidden or 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
| VERSION 0.7 | |
| FROM alpine:3.17 | |
| docs: | |
| FROM julia:latest | |
| COPY --dir src . | |
| COPY --dir docs . | |
| COPY Project.toml . | |
| RUN apk add --update --no-cache git | |
| RUN julia --color=yes --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' |