Page History
...
Create the same release on pcds
Info from Valerio
activate ana-4.0.58-py3 on S3DF, then:
conda list –explicit > ana-4.0.58-py3.txt
copy ana-4.0.58-py3.txt to psreldev
> pslogin
ssh psbuild-rhel7-01 -l psreldev
source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh
conda create -n ana-4.0.58-py3 --file ana-4.0.58-py3.txt
Code Block | ||||
---|---|---|---|---|
| ||||
(ana-4.0.54-py3) [psreldev@psbuild-rhel7-01 ~]$ conda create -n ana-4.0.58-py3 --file ana-4.0.58-py3.txt Downloading and Extracting Packages plotly-5.13.1 | ############################################################################################################################################################## | 100% gdk-pixbuf-2.42.10 | ############################################################################################################################################################## | 100% graphviz-7.1.0 | ############################################################################################################################################################## | 100% ipykernel-6.20.2 | ############################################################################################################################################################## | 100% psana-4.0.58 | ############################################################################################################################################################## | 100% Preparing transaction: done Verifying transaction: done Executing transaction: - For Linux 64, Open MPI is built with CUDA awareness but this support is disabled by default. To enable it, please set the environment variable OMPI_MCA_opal_cuda_support=true before launching your MPI processes. Equivalently, you can set the MCA parameter in the command line: mpiexec --mca opal_cuda_support 1 ... In addition, the UCX support is also built but disabled by default. To enable it, first install UCX (conda install -c conda-forge ucx). Then, set the environment variables OMPI_MCA_pml="ucx" OMPI_MCA_osc="ucx" before launching your MPI processes. Equivalently, you can set the MCA parameters in the command line: mpiexec --mca pml ucx --mca osc ucx ... Note that you might also need to set UCX_MEMTYPE_CACHE=n for CUDA awareness via UCX. Please consult UCX's documentation for detail. done (ana-4.0.54-py3) [psreldev@psbuild-rhel7-01 ~]$ |
edit and change release name in
pcds: /cds/sw/ds/ana/conda1/manage/bin/psconda.sh
s3df: /sdf/group/lcls/ds/ana/sw/conda1/manage/bin/psconda.sh > conda1-v3
Update release for Jupyter Notebook
Info from Chris:
ssh to pcds node > pslogin
ssh psbuild-rhel7-01 -l psreldev
Update version in TWO lines:
/cds/group/psdm/sw/conda/jhub_config/prod-rhel7/kernels/ana1-current-py3/kernel.json
References
- Building Conda Packages And Releases
- conda-cheatsheet.pdf
- https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#cloning-an-environment
- /reg/g/psdm/etc/psconda.sh -> /cds/sw/ds/ana/conda1/manage/bin/psconda.sh
- Running at S3DF
- Convert svn repository to git
- s3df-dynamic-sites-and-web-applications
...