computing
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing [2025/12/11 17:41] – 130.190.59.47 | computing [2025/12/19 15:34] (current) – admin | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| #### QuantumESPRESSO | #### QuantumESPRESSO | ||
| - | To run QE at the moment, use: | + | First you need to set up the DIAMOND GUIX channel by following the instructions here: https:// |
| + | |||
| + | Next, you can install QE using: | ||
| ```bash | ```bash | ||
| Line 59: | Line 61: | ||
| mpirun -np 192 pw.x -npool 8 -in < pwscf.in > pwscf.out | mpirun -np 192 pw.x -npool 8 -in < pwscf.in > pwscf.out | ||
| ``` | ``` | ||
| + | |||
| + | |||
| + | ### Shared conda environments | ||
| + | |||
| + | You can get access to the natively installed `conda` using: | ||
| + | |||
| + | ``` | ||
| + | source / | ||
| + | ``` | ||
| + | |||
| + | then we store shared environments in `/ | ||
| + | |||
| + | ``` | ||
| + | conda activate / | ||
| + | ``` | ||
| + | |||
| + | be careful when `pip install`ing to make sure whatever you install does not conflict with what is already there, or you make break the environment for everyone else. | ||
| + | |||
| ## National resources | ## National resources | ||
| Line 87: | Line 107: | ||
| You are in IDRIS. | You are in IDRIS. | ||
| - | |||
| - | |||
| #### From IDRIS to camml-codes | #### From IDRIS to camml-codes | ||
| - | Now that you are in IDRIS, you may need to run our Python libraries under the ['' | + | Now that you are in IDRIS, you may need to run our Python libraries under the ['' |
| - | To this end, you will not need to install Conda, since miniforge is already available on the cluster. However, you will need to follow some best practices. In particular, when a new Conda environment is created, all files are stored by default in '' | + | To this end, you will not need to install Conda, since miniforge is already available on the cluster. However, you will need to follow some good practices. In particular, when a new Conda environment is created, all files are stored by default in '' |
| ```bash | ```bash | ||
| Line 110: | Line 128: | ||
| Further details are [here](http:// | Further details are [here](http:// | ||
| - | Now list the available miniforge versions | + | To list the available miniforge versions, type '' |
| - | + | ||
| - | ```bash | + | |
| - | module avail miniforge | + | |
| - | ``` | + | |
| - | + | ||
| - | and load the most recent, | + | |
| ```bash | ```bash | ||
| module load miniforge/ | module load miniforge/ | ||
| ``` | ``` | ||
| + | |||
| At this point, on the left of your user login, it should have appeared a '' | At this point, on the left of your user login, it should have appeared a '' | ||
| Line 135: | Line 148: | ||
| - | Once the new environment is created and you are in thanks to '' | + | Once the new environment is created and activated via '' |
| - | A workaround for this is the creation of a classic token on GitHub. In particular, access to your GitHub account in your browser. By clicking on your profile image (the small one at the top right of the screen), click then on Settings -> Developer settings -> Personal access tokens -> Tokens (classic) and generate a new classic token. You will be asked to give a short description in the '' | + | A workaround for this is the creation of a classic token on GitHub. In particular, access to your GitHub account in your browser. By clicking on your profile image (the small one at the top right of the screen), click then on '' |
| Now that you have your token, you can use it as the password when cloning private repositories. | Now that you have your token, you can use it as the password when cloning private repositories. | ||
| Line 163: | Line 176: | ||
| ``` | ``` | ||
| - | Remember that, every time you access to IDRIS, you will need to load '' | + | Remember that, every time you access to IDRIS, you will need to load '' |
| Line 170: | Line 183: | ||
| + | #### Jean-Zay | ||
| + | To get an interactive session on Jean-Zay on the A100 partition you can use something like: | ||
| + | |||
| + | ``` | ||
| + | salloc --nodes=1 --ntasks-per-node=1 --cpus-per-task=1 --gres=gpu: | ||
| + | ``` | ||
| + | This will give you 1 GPU on 1 node with 1 associated CPU for 30 minutes. | ||
computing.1765471310.txt.gz · Last modified: by 130.190.59.47
