Mentions légales du service

Skip to content
Snippets Groups Projects
Commit df7d89b8 authored by CHOI Kwon-Young's avatar CHOI Kwon-Young
Browse files

Update README.md

parent 8acbc166
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ This repository contains materials for the Deep Learning tutorial of the Intuido ...@@ -8,7 +8,7 @@ This repository contains materials for the Deep Learning tutorial of the Intuido
You will need a working `ssh` with private and public key pairs. You will need a working `ssh` with private and public key pairs.
#### Windows: #### For Windows users:
Install git for windows https://git-scm.com/downloads. Install git for windows https://git-scm.com/downloads.
This will install `Git Bash` with the three programs you will need: `ssh`, `ssh-keygen` and `ssh-copy-id`. This will install `Git Bash` with the three programs you will need: `ssh`, `ssh-keygen` and `ssh-copy-id`.
...@@ -26,25 +26,61 @@ Maintenant, vous pouvez vous connecter sur le front-end de la grille en utilisan ...@@ -26,25 +26,61 @@ Maintenant, vous pouvez vous connecter sur le front-end de la grille en utilisan
ssh $USER@igrida-oar-frontend ssh $USER@igrida-oar-frontend
``` ```
### Launching jobs ## Launching IGRIDA jobs for the tutorial
In order to launch jobs on IGRIDA, you need to submit jobs using the `oarsub` command: In order to launch jobs on IGRIDA, you need to submit jobs using the `oarsub` command:
```bash ```bash
oarsub -I # create the job
oarsub -S -t timesharing -l /nodes=1/core=4/gpu_device=1,walltime=01:30:0 scripts/run_igrida_staller.sh
# connect to it using the OAR_JOB_ID, you can list your jobs with oarstat -u
oarsub -C JOB_ID
``` ```
This will launch a _interactive_ job for _10 minutes_ on _any_ node/server of IGRIDA with only _1 core_ allocated to you You can find the script `scripts/run_igrida_staller.sh` [here](scripts/run_igrida_staller.sh).
#### On GPU node More info at http://igrida.gforge.inria.fr/
## Clone the project
To launch a job using one gpu on any gpu node with a duration of 30 minutes: You can now clone the project on igrida with git:
```bash ```bash
oarsub -I -l /gpu_device=1,walltime=0:30:0 cd where_ever_you_want
git clone https://gitlab.inria.fr/kchoi/Deep_Learning_tutorial.git
``` ```
More info at http://igrida.gforge.inria.fr/ ## Load python environment and the jupyter notebook
You can source the python environment using the following command:
```bash
# replace gpu by cpu if on an cpu only node
source /temp_dd/igrida-fs1/kchoi/miniconda3/bin/activate gpu
```
Next, run the jupyter notebook from which we will be doing the tutorial:
```bash
jupyter notebook --ip=* --no-browser
# output
[W 20:14:43.648 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[I 20:14:43.681 NotebookApp] Serving notebooks from local directory: /udd/user
[I 20:14:43.681 NotebookApp] 0 active kernels
[I 20:14:43.682 NotebookApp] The Jupyter Notebook is running at:
[I 20:14:43.682 NotebookApp] http://[all ip addresses on your system]:8888/?token=ad046861594b9231e8f9c82860e7b25ca13d7637aee7aee5
[I 20:14:43.682 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 20:14:43.684 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=ad046861594b92...
```
Follow the output of the command and connect to the link `http://igrida-abacus:8888/?token=ad046861594b923...`.
Remember to replace `localhost` to the server you actually are running a job on.
Once you have loaded the jupyter notebook on your browser, you can start the tutorial by the opening the first [notebook]().
That's all for now, happy tutorial!
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment