Page History
...
git push --delete origin V10-00-01 # removes tag on github
...
List of commands to build psana1 release on s3df
Login and set environment
...
Code Block | ||||
---|---|---|---|---|
| ||||
(ana-4.0.58-py3) [psreldev@sdfiana002 psana1-feedstock]$ conda install -c lcls-i -c conda-forge psana=4.0.58 Channels: - lcls-i - conda-forge - defaults - lcls-ii - cogsci Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: /sdf/group/lcls/ds/ana/sw/conda1/inst/envs/ana-4.0.58-py3 added / updated specs: - psana=4.0.58 The following packages will be downloaded: package | build ---------------------------|----------------- psana-4.0.58 | py39hed0727e_1 15.4 MB lcls-i ------------------------------------------------------------ Total: 15.4 MB The following packages will be UPDATED: psana 4.0.57-py39hed0727e_1 --> 4.0.58-py39hed0727e_1 Proceed ([y]/n)? y Downloading and Extracting Packages: Preparing transaction: done Verifying transaction: done Executing transaction: done (ana-4.0.58-py3) [psreldev@sdfiana002 psana1-feedstock]$ |
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
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
...
Overview
Content Tools