Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  url: https://pswww.slac.stanford.edu/swdoc/tutorials/{{ name }}-conda-{{ version }}.tar.gz


ssh psbuild-rhel7-01 -l psreldevcp ~cpo/.condarc ~/. # if ~/.condarc is not available
cd psreldevcd git
rm -rf psana1-feedstock/
git clone https://github.com/slac-lcls/psana1-feedstock

...

https://github.com/slac-lcls/psana1-feedstock/blob/main/recipe/meta.yaml

Fixing issue in conda build

Issue: PermissionError: [Errno 13] Permission denied: '/cds/sw/ds/ana/conda2/inst/envs/conda_build/pkgs/libselinux-cos6-x86_64-2.0.94-h9b0a68f_1105'

Chris: cp ~cpo/.condarc ~/. # if ~/.condarc is not available

Valerio: conda create -n local_conda_build python conda-build conda-validate anaconda-client

Code Block
titleNotWritableError:
collapsetrue
(conda_build) [psreldev@psbuild-rhel7-01 psana1-feedstock]$ conda create -n local_conda_build python conda-build conda-validate anaconda-client
Collecting package metadata (current_repodata.json): failed

NotWritableError: The current user does not have write permissions to a required path.
  path: /cds/sw/ds/ana/conda2-v2/inst/pkgs/cache/18414ddb.json
  uid: 14427
  gid: 1109

If you feel that permissions on this path are set incorrectly, you can manually
change them by executing

  $ sudo chown 14427:1109 /cds/sw/ds/ana/conda2-v2/inst/pkgs/cache/18414ddb.json

In general, it's not advisable to use 'sudo conda'.

(conda_build) [psreldev@psbuild-rhel7-01 psana1-feedstock]$ 

Command conda build

conda build -c lcls-i -c conda-forge recipe

...