Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for AiiDAlab ComputationalResourceWidget #83

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name: deploy

on:
push:
branches:
- master
push:
# branches:
# - master


jobs:

deploy-gh-pages:
if: github.repository == 'aiidateam/aiida-code-registry'
# if: github.repository == 'aiidateam/aiida-code-registry'
runs-on: ubuntu-latest
env:
COMMIT_AUTHOR: Deploy Action
Expand All @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v2
- run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*

- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions .make_ghpages/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
out/*
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# AiiDA code registry

(TODO: customize badge link to gh-pages branch)

**THIS IS WORK IN PROGRESS - PULL REQUESTS & [SUGGESTIONS](https://github.com/aiidateam/aiida-code-registry/issues) HIGHLY WELCOME**

This repository collects configurations of simulation codes on public compute resources for quick and easy setup in AiiDA.

The registry computers and codes database are released as JSON files on: https://aiidateam.github.io/aiida-code-registry/

Visit the page to see the current status of the registry https://unkcpz.github.io/aiida-code-registry/ (TODO: update link)

## Using the AiiDA code registry

In the following we'll take the example of [Piz Daint](https://www.cscs.ch/computers/piz-daint/), a HPC system at the Swiss National Supercomputing Centre.
Expand Down
3 changes: 0 additions & 3 deletions daint.cscs.ch/hybrid-s1141/computer-configure.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions daint.cscs.ch/hybrid-s1141/computer-setup.yaml

This file was deleted.

8 changes: 3 additions & 5 deletions daint.cscs.ch/hybrid/computer-setup.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
---
label: daint-hybrid
label: "{{ label | default('daint-hybrid') }}"
hostname: daint.cscs.ch
description: Piz Daint supercomputer at CSCS Lugano, Switzerland, using the hybrid partition. HyperThreading is off
transport: ssh
scheduler: slurm
shebang: '#!/bin/bash -l'
mpiprocs_per_machine: 12
num_cores_per_mpiproc: 1
queue_name: normal
work_dir: /scratch/snx3000/{username}/aiida/
mpirun_command: srun -n {tot_num_mpiprocs}
prepend_text: |
### computer prepend_text start ###
#SBATCH --partition=normal
#SBATCH --partition={{ slurm_partition | default('normal') }}
#SBATCH --account={{ slurm_account }}
#SBATCH --constraint=gpu
#SBATCH --hint=nomultithread
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export CRAY_CUDA_MPS=1
ulimit -s unlimited
### computer prepend_text end ###
3 changes: 0 additions & 3 deletions daint.cscs.ch/multicore-em01/computer-configure.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions daint.cscs.ch/multicore-em01/computer-setup.yaml

This file was deleted.

9 changes: 5 additions & 4 deletions daint.cscs.ch/multicore/computer-setup.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
label: daint-mc
label: "{{ label | default('daint-mc') }}"
hostname: daint.cscs.ch
description: Piz Daint supercomputer at CSCS Lugano, Switzerland, multicore partition.
transport: ssh
Expand All @@ -9,10 +9,11 @@ shebang: '#!/bin/bash'
mpirun_command: srun -n {tot_num_mpiprocs}
mpiprocs_per_machine: 36
prepend_text: |
#SBATCH --partition=normal
#SBATCH --partition={{ slurm_partition | default('normal') }}
#SBATCH --account={{ slurm_account }}
#SBATCH --constraint=mc
#SBATCH --cpus-per-task=1

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
source $MODULESHOME/init/bash
ulimit -s unlimited
append_text: ' '
ulimit -s unlimited
2 changes: 1 addition & 1 deletion eiger.cscs.ch/default
22 changes: 0 additions & 22 deletions eiger.cscs.ch/multicore-mr0-debug/computer-setup.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions eiger.cscs.ch/multicore-mr0/computer-configure.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
label: eiger-mc-mr0
label: "{{ label | default('eiger-mc') }}"
hostname: eiger.cscs.ch
description: Eiger is the production partition on Alps, the HPE Cray EX Supercomputer.
transport: ssh
Expand All @@ -9,13 +9,11 @@ shebang: '#!/bin/bash'
mpirun_command: srun -n {tot_num_mpiprocs}
mpiprocs_per_machine: 128
prepend_text: |
### computer prepend_text start ###
#SBATCH --partition=normal
#SBATCH --account=mr0
#SBATCH --partition={{ slurm_partition | default('normal') }}
#SBATCH --account={{ slurm_account }}
#SBATCH --constraint=mc
#SBATCH --hint=nomultithread

export OMP_PROC_BIND=close
export OMP_PLACES=cores
### computer prepend_text end ###
append_text: ' '