quick_start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
quick_start [2021/04/09 13:56] – created nico | quick_start [2021/04/09 14:41] (current) – nico | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Magi Quick Start ====== | ====== Magi Quick Start ====== | ||
- | This section provides a brief introduction to run your jobs on Magi | + | This section provides a brief introduction to run your jobs on Magi. |
+ | First, you must log on the frontend node : | ||
+ | ngreneche@YF-19: | ||
+ | The SSH server is binded on the non-standard port 2822 and fully qualified domain name (FQDN) is magi.univ-paris13.fr. If you do not have an account, feel free to contact administrator to apply : nicolas_dot_grenecheATuniv-paris13_dot_fr. | ||
+ | When logged, check if the job scheduler' | ||
+ | |||
+ | nicolas.greneche@magi1: | ||
+ | | ||
+ | Currently Loaded Modules: | ||
+ | | ||
+ | 1) gcc/ | ||
+ | |||
+ | In this documentation, | ||
+ | |||
+ | nicolas.greneche@magi1: | ||
+ | |||
+ | You can also update your .bashrc in your home directory to add this command. On standard configurations, | ||
+ | |||
+ | Now it's time to compile your code to run on Magi. You may have to load additionnal modules to access libraries of compilers required to your code. In this starting guide, we compile and run an MPI code. So, we have to load the OpenMPI module : | ||
+ | |||
+ | nicolas.greneche@magi1: | ||
+ | |||
+ | Then, we can compile the code : | ||
+ | |||
+ | nicolas.greneche@magi1: | ||
+ | |||
+ | If you are luck enough to have free nodes on Magi, you can try to run your code interactively (to check if everything is OK) : | ||
+ | |||
+ | nicolas.greneche@magi1: | ||
+ | Hello world from process 1 of 20 at magi110 | ||
+ | Hello world from process 11 of 20 at magi114 | ||
+ | Hello world from process 12 of 20 at magi114 | ||
+ | Hello world from process 2 of 20 at magi110 | ||
+ | Hello world from process 13 of 20 at magi114 | ||
+ | Hello world from process 3 of 20 at magi110 | ||
+ | Hello world from process 14 of 20 at magi114 | ||
+ | Hello world from process 4 of 20 at magi110 | ||
+ | Hello world from process 15 of 20 at magi114 | ||
+ | Hello world from process 5 of 20 at magi110 | ||
+ | Hello world from process 16 of 20 at magi114 | ||
+ | Hello world from process 17 of 20 at magi114 | ||
+ | Hello world from process 6 of 20 at magi110 | ||
+ | Hello world from process 18 of 20 at magi114 | ||
+ | Hello world from process 7 of 20 at magi110 | ||
+ | Hello world from process 19 of 20 at magi114 | ||
+ | Hello world from process 10 of 20 at magi114 | ||
+ | Hello world from process 8 of 20 at magi110 | ||
+ | Hello world from process 9 of 20 at magi110 | ||
+ | Hello world from process 0 of 20 at magi110 |
quick_start.1617969385.txt.gz · Last modified: 2021/04/09 13:56 by nico