User Tools

Site Tools


hpc:applications_and_libraries

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
hpc:applications_and_libraries [2025/11/04 09:45] – [Custom Python lib] Yann Sagonhpc:applications_and_libraries [2025/11/04 09:48] (current) – [Custom Python lib] Yann Sagon
Line 1100: Line 1100:
 You must load **Python** and any additional Python packages you need (for example, SciPy-bundle): You must load **Python** and any additional Python packages you need (for example, SciPy-bundle):
  
-<code console>+<code>
 ml GCC/14.3.0 Python/3.11.6 virtualenv/20.32.0 SciPy-bundle/2025.07 ml GCC/14.3.0 Python/3.11.6 virtualenv/20.32.0 SciPy-bundle/2025.07
 </code> </code>
Line 1106: Line 1106:
 Create a new virtual environment (you can choose the location and name).   Create a new virtual environment (you can choose the location and name).  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-It is recommended to use the option ''--system-site-packages'' so that you can benefit from the Python modules provided by the loaded modules.+It is recommended to use the option ''<nowiki>--system-site-packages</nowiki>'' so that you can benefit from the Python modules provided by the loaded modules.
 </WRAP> </WRAP>
  
-<code console>+<code>
 virtualenv --system-site-packages ~/baobab_python_env virtualenv --system-site-packages ~/baobab_python_env
 </code> </code>
Line 1121: Line 1121:
 </code> </code>
  
-⚠ **Important:** Before reusing this virtual environment, you must reload the same modules you used when creating it (e.g., Python and SciPy-bundle). Otherwise, some packages may not be available.+<WRAP center round important 60%> 
 +Before reusing this virtual environment, you must reload the same modules you used when creating it (e.g., Python and SciPy-bundle). Otherwise, some packages may not be available. 
 +</WRAP> 
  
 Install all the needed packages in the environment: Install all the needed packages in the environment:
hpc/applications_and_libraries.1762249549.txt.gz · Last modified: by Yann Sagon