rsnt_translations
56,420
edits
No edit summary |
No edit summary |
||
Line 176: | Line 176: | ||
<!--T:40--> | <!--T:40--> | ||
}} | }} | ||
where the < | where the <code>requirements.txt</code> file will have been created from a test environment. For example, if you want to create an environment for [[TensorFlow]], you would do the following on a login node : | ||
{{Commands | {{Commands | ||
|module load python/3.10 | |module load python/3.10 | ||
Line 190: | Line 190: | ||
<!--T:41--> | <!--T:41--> | ||
This will yield a file called < | This will yield a file called <code>requirements.txt</code>, with content such as the following | ||
{{File | {{File | ||
|name=requirements.txt | |name=requirements.txt | ||
Line 244: | Line 244: | ||
=== Available wheels === <!--T:23--> | === Available wheels === <!--T:23--> | ||
Currently available wheels are listed on the [[Available Python wheels]] page. You can also run the command < | Currently available wheels are listed on the [[Available Python wheels]] page. You can also run the command <code>avail_wheels</code> on the cluster. | ||
By default, it will: | By default, it will: | ||
* only show you the '''latest version''' of a specific package (unless versions are given); | * only show you the '''latest version''' of a specific package (unless versions are given); | ||
Line 251: | Line 251: | ||
==== Names ==== <!--T:77--> | ==== Names ==== <!--T:77--> | ||
To list wheels containing < | To list wheels containing <code>cdf</code> (case insensitive) in its name: | ||
{{Command | {{Command | ||
|avail_wheels "*cdf*" | |avail_wheels "*cdf*" | ||
Line 296: | Line 296: | ||
numpy 1.23.0 cp310 generic | numpy 1.23.0 cp310 generic | ||
}} | }} | ||
With the < | With the <code>pip</code> format, one can use different operators : <code>==</code>, <code><</code>, <code>></code>, <code>~=</code>, <code><=</code>,<code>>=</code>, <code>!=</code>. For instance, to list inferior versions: | ||
{{Command | {{Command | ||
|avail_wheels 'numpy<1.23' | |avail_wheels 'numpy<1.23' |