software:miniconda:darwin

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:miniconda:darwin [2025-11-06 15:36] – [Installing Applications with Conda] thuachensoftware:miniconda:darwin [2025-11-06 15:39] (current) – [Migrating Environments] thuachen
Line 75: Line 75:
 # #
 base                   /opt/shared/miniconda/25.1.1.2 base                   /opt/shared/miniconda/25.1.1.2
-                      */work/workgroup/sw/myenv+                      */lustre/workgroup/sw/myenv
 </code> </code>
  
 After activating the desired environment, export the current environment, After activating the desired environment, export the current environment,
 <code bash> <code bash>
-[(my_workgroup:user)@login01 ~]$ conda activate /work/workgroup/sw/myenv +[(my_workgroup:user)@login01 ~]$ conda activate /lustre/workgroup/sw/myenv 
-(/work/workgroup/sw/myenv)[(my_workgroup:user)@login01 ~]$ conda export --file=myenv.yaml +(/lustre/workgroup/sw/myenv)[(my_workgroup:user)@login01 ~]$ conda export --file=myenv.yaml 
-name: /work/it_css/sw/tensorflow/2.17.0-cuda+name: /lustre/workgroup/sw/myenv
 channels: channels:
   - conda-forge   - conda-forge
Line 96: Line 96:
 ... ...
  
-prefix: /work/workgroup/sw/myenv  +prefix: /lustre/workgroup/sw/myenv  
 </code> </code>
 Then you can duplicate the same environment with Then you can duplicate the same environment with
 <code bash> <code bash>
-(/work/workgroup/sw/myenv)[(my_workgroup:user)@login01 ~]$ conda deactivate +(/lustre/workgroup/sw/myenv)[(my_workgroup:user)@login01 ~]$ conda deactivate 
-[(my_workgroup:user)@login01 ~]$ conda create -p /work/workgroup/sw/myenv_2 -f myenv.yml+[(my_workgroup:user)@login01 ~]$ conda create -p /lustre/workgroup/sw/myenv_2 -f myenv.yml
 </code> </code>
 +
 +===== Recipes ====
 +
 +Examples documented as recipes to be used for specific installations, including using a ''workgroup'' directory as well as creating VALET packages for these environments and job scripts setup for batch runs, but can also perhaps help others in solving similar installation dilemmas.
 +
 +  * [[technical:recipes:tensorflow-in-virtualenv|Building a TensorFlow Python Virtual Environment]]
  • software/miniconda/darwin.1762461400.txt.gz
  • Last modified: 2025-11-06 15:36
  • by thuachen