more details about the multithreading issue on tasks authored by PIERRE Nicolas's avatar PIERRE Nicolas
......@@ -10,7 +10,7 @@ SRVOAD is a shared computation server used by members of TASK and MODELIS teams.
2. Slurm users are free to use hard limits (e.g. job is killed when it exceed the memory allocation) or soft limits. Using hard limit is the best way to be sure that your benchmark will not alter other users benchmarks.
## Common errors
1. With htop you will see 80 threads available. The server is composed of 40 physical cpus with hyperthreading (not 80). A single physical CPU will never be used to run two different tasks but keep in mind that if you allocate 1cpu you can use two threads :).
1. With htop you will see 80 threads available. The server is composed of 40 physical cpus (core) with hyperthreading (not 80). A single physical CPU will never be used to run two different tasks. The `cpus-per-task` option defines the number of **threads** you want to use. If you ask for an odd number of threads, slurm will always allocate the even number above (ie. `cpus-per-task=1` slurm will allocate 2 threads per task).
2. If you use an SBATCH script to run your code, don't use srun in it. In fact, using srun commands in a SBATCH script is equivalent to using "srun srun my_app" and often lead to problems (e.g. different settings).
## Know your machine
A [DELL R440](https://www.dell.com/fr-fr/shop/productdetailstxn/poweredge-r440) 1U server
......@@ -31,8 +31,11 @@ A [DELL R440](https://www.dell.com/fr-fr/shop/productdetailstxn/poweredge-r440)
```
ssh <login>@srvoad.imta.fr
```
- If you are not physically on the school network ~~you need to use the proxy fbi.emn.fr.~~ The proxy is removed since 04/03/2024 by the DISI. You need to configure your VPN using [this procedure](https://intranet.imt-atlantique.fr/catalogue-disi/eduvpn-personnel/). With the vpn activated you can connect as if you were at the school.
- Change your initial password, if by any mean you lost your password you can ask an administrator for help.
- ~~If you are not physically on the school network you need to use a proxy~~
```
~~ssh <your-imta-login>@fbi.emn.fr -p 2300~~
```
- Change your initial password
```
passwd
```
......
......