Changes between Version 7 and Version 8 of cypress/AnacondaInstallPackage


Ignore:
Timestamp:
11/30/22 18:11:04 (17 months ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/AnacondaInstallPackage

    v7 v8  
    11==== Install Packages to Anaconda Python ====
    22
    3 For this example, we assume you have loaded the "anaconda3/5.1.0", but you can use another version if you want.
     3For this example, we assume you have loaded the "anaconda3/2019.03", but you can use another version if you want.
    44
    55{{{
    6 module load anaconda3/5.1.0
     6module load anaconda3/2019.03
    77}}}
    88
    9 'conda' is the command to add packages to Anaconda python distribution. However, since you don't have a permission in /share/apps/anaconda, it won't work.
     9'conda' is the command to add packages to Anaconda python distribution. However, since you don't have permission in /share/apps/anaconda, it won't work.
    1010There is a workaround. Here, for example, we want to add 'vtk' python wrapper library. You try:
    1111
     
    3636}}}
    3737
    38 'my_root' is the name of environment that you decide.
     38'my_root' is the name of the environment that you decide.
    3939
    4040Also, in general in conda environments, python should not be using PYTHONPATH. (For more information, see https://conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#conda-reports-that-a-package-is-installed-but-it-appears-not-to-be.)
     
    6363}}}
    6464
    65 From next time, to use Anaconda python with your environment,
     65Next time, to use Anaconda python with your environment,
    6666 {{{
    67 module load anaconda3/5.1.0
     67module load anaconda3/2019.03
    6868export CONDA_ENVS_PATH=/lustre/project/mygroup/myuser/conda-envs
    6969unset PYTHONPATH
    7070source activate my_root
    7171}}}
    72 You have to state above commands in your script when you run python on batch jobs.
     72You have to state the above commands in your script when you run python on batch jobs.
    7373