Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| magma_cpu [2017/03/16 12:53] – [Script SGE] admin | magma_cpu [2018/11/22 14:19] (Version actuelle) – [File d'attente] admin | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| **Magma** is a large, well-supported software package designed for computations in algebra, number theory, algebraic geometry and algebraic combinatorics. It provides a mathematically rigorous environment for defining and working with structures such as groups, rings, fields, modules, algebras, schemes, curves, graphs, designs, codes and many others. Magma also supports a number of databases designed to aid computational research in those areas of mathematics which are algebraic in nature. The overview provides a summary of Magma' | **Magma** is a large, well-supported software package designed for computations in algebra, number theory, algebraic geometry and algebraic combinatorics. It provides a mathematically rigorous environment for defining and working with structures such as groups, rings, fields, modules, algebras, schemes, curves, graphs, designs, codes and many others. Magma also supports a number of databases designed to aid computational research in those areas of mathematics which are algebraic in nature. The overview provides a summary of Magma' | ||
| ====== Utilisation ====== | ====== Utilisation ====== | ||
| + | |||
| <note important> | <note important> | ||
| et son utilisation requiert la demande d'une autorisation préalable auprès de l' | et son utilisation requiert la demande d'une autorisation préalable auprès de l' | ||
| Si vous souhaitez l' | Si vous souhaitez l' | ||
| - | du mésocentre, | + | du mésocentre, |
| </ | </ | ||
| - | se connecter sur le noeud de login : ** ssh mesologin1.univ-fcomte.fr** | + | Se connecter sur le noeud de login : ** ssh mesologin1.univ-fcomte.fr** |
| ===== File d' | ===== File d' | ||
| - | Une file d' | + | Une file d' |
| Pour la soumission de vos jobs, les informations sont disponibles dans la section [[sge|SGE]] | Pour la soumission de vos jobs, les informations sont disponibles dans la section [[sge|SGE]] | ||
| Ligne 20: | Ligne 21: | ||
| <code bash> | <code bash> | ||
| $ qlogin -q magma.q -l h_rt=8: | $ qlogin -q magma.q -l h_rt=8: | ||
| - | $ <chemin commande | + | $ cd WORK |
| + | $ magma | ||
| </ | </ | ||
| <note warning> | <note warning> | ||
| - | |||
| - | Si vous obtenez cette erreur : | ||
| - | |||
| - | <code bash> | ||
| - | ./ | ||
| - | MAGMAPASSFILE not set. | ||
| - | Set the environment variable MAGMAPASSFILE to the full pathname of the | ||
| - | Magma password file. | ||
| - | |||
| - | </ | ||
| - | |||
| - | Essayez cette commande : | ||
| - | |||
| - | <code bash> | ||
| - | export MAGMAPASSFILE=`pwd`/ | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| ===== Script SGE ===== | ===== Script SGE ===== | ||
| Voici un exemple d'un script SGE à utiliser surtout lorsque le calcul dure plusieurs heures. | Voici un exemple d'un script SGE à utiliser surtout lorsque le calcul dure plusieurs heures. | ||
| - | |||
| <file bash script_magma.sge> | <file bash script_magma.sge> | ||
| #!/bin/bash | #!/bin/bash | ||
| - | #$ -V | + | #$ -N job_magma |
| - | #$ -N test_sge | + | |
| - | #$ -cwd | + | |
| #$ -o $JOB_NAME.$JOB_ID.out | #$ -o $JOB_NAME.$JOB_ID.out | ||
| #$ -q magma.q | #$ -q magma.q | ||
| - | #$ -lh_vmem=10G | + | #$ -l h_vmem=10G |
| - | + | ||
| - | + | ||
| - | ## notifier par email à la fin du calcul | + | |
| - | + | ||
| - | #$ -n ea | + | |
| - | + | ||
| - | ## indiquer votre adresse mail pour les notifs | + | |
| - | + | ||
| - | #$ -N votre@mail | + | |
| - | + | ||
| - | ### pour la notification email, merci | + | |
| - | ### de spécifier votre adresse ci-dessous | + | |
| - | + | ||
| - | ## a verifier | + | |
| - | export MAGMAPASSFILE=`pwd`/ | + | |
| - | + | ||
| - | + | ||
| - | ./magma.exe | + | |
| - | + | ||
| + | magma | ||
| </ | </ | ||