Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2 KB

Repo_Structure.md

File metadata and controls

45 lines (34 loc) · 2 KB

License

HPC_Bootcamp

This repository contains training content for the HPC_Bootcamp materials. This repository includes the following file structure in the initial two levels:

│   ├── 
├── _basic
│   ├── cuda
│   ├── iso
│   ├── openacc
│   ├── openmp
│   └── python
├── LICENSE
├── README.md
├── nways_Dockerfile 
├── nways_Dockerfile_python  
├── nways_Singularity
├── nways_Singularity_python
├── CONTRIBUTING.md
├── Deployment_Guide.md 
├── _scripts
└── start_notebook
  • The _basic directory contains all of the introductory training materials for CUDA, Standard Languages, OpenMP Offloading, and OpenACC.
  • The _scripts directory contains container definition files for each bootcamp type. This is not needed at the moment. Please refer to the Deployment_Guide.
  • The _start_notebook directory contains started notebooks and it is optional to use. This is not needed at the moment.

Building the container using the definition files inside the _script folder

To build the singularity container, run: sudo singularity build miniapp.simg {Name of the content}_Singularity , alternatively you can use singularity build --fakeroot miniapp.simg {Name of the content}_Singularity if you do not have sudo rights.

Next, copy the files to a local directory to make sure changes are stored locally: singularity run miniapp.simg cp -rT /labs ~/labs

Then, run the container: singularity run --nv miniapp.simg jupyter-lab --notebook-dir=~/labs

Once inside the container, open the jupyter lab in browser: http://localhost:8888, and start the lab by clicking on the _start_{Name of the content}.ipynb notebook.