Settup up the conda build system

  1. sudo as psreldev
  2. start at /reg/g/psdm/sw/conda
  3. create the directory layout described in Conda Build System Directory Layout
  4. Install miniconda2 into the six directories inst/miniconda2-dev-rhel7 .. inst/miniconda2-prod-rhel5
    1. to be xtra careful, install from rhel5, rhel6, rhel7 machines - although probably not neccessary
  5. Due to  I don't think we should update the production environments, nor install conda build in them. 
  6. for each dev conda install, preferably on correct host machine (psreldev .bashrc sets up aliaes setup_condadev5)
    1. change the PATH so that you run from that miniconda install
    2. install conda build
    3. conda update --all, get the latest from the defaults area
  7. The root environment is done, we'll try not to add new packages to the root environment.
  8. Run ana-rel-manage -c gen-condarc to generate condarc for all the minicondas
    1. (execute once, from any host/conda install)
  9. now that we have added our file:/// channels areas, we need to turn them into channels, otherwise nothing will work
  10. Run ana-rel-manage -c index-channels to do this
    1. (once, any host/conda)
  11. do this to create the manage directory from stuff under version control:
    git clone https://github.com/davidslac/manage-lcls-conda-build-system.git manage
  12. We will try to keep track of what packages are installed in the root environment. Update the file manage/config/conda_root_package_list
  13. check root environment, ana-rel-manage -c root-pkg-cmp

 

 

You may also want to use visual panels to communicate related information, tips or things users need to be aware of.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues