I have built a ana release against conda. To use  it, do the following:

  1. source ~davidsch/scripts/conda_setup.sh
    note that you now have no SIT_ environment variables set, and you have /reg/g/psdm/sw/conda/miniconda2/bin in your path
  2. source activate ana
    you have activated a conda environment with lots of stuff,
    it does adjust LD_LIBRARY_PATH, but I don't think it needs to, will fix
    to see what is in the environment, do
    conda list
    you should see
    openmpi                   1.10.2                        1    file:///reg/g/psdm/sw/conda/build/rhel7/linux-64/openmpi-1.10.2-1.tar.bz2
    mpi4py                    2.0.0            py27_openmpi_0    file:///reg/g/psdm/sw/conda/build/rhel7/linux-64/mpi4py-2.0.0-py27_openmpi_0.tar.bz2

  3. cd ~davidsch/rel/sit_root
  4. SIT_DEV=~davidsch/rel/sit_root source etc/ana_conda_env.sh
    now you have all the SIT_ environment variables set, but pointing to my area. In particular,
    SIT_REPOS=/reg/neh/home/davidsch/rel/sit_root/sw/releases/ana-current
    and ana-current is a soft link to ana-1.0.0 in there.
  5. If you need to make a new release, you can use newrel.
  6. If you want to make a new conda environment, you can do that, and activate it. Probably best to clone ana and modify it.

     

     

 

 

  • No labels