Relocating Your .conda Directory to Project Space

Large conda installations may exceed your home directory size. This can be avoided by relocating your .conda directory to your project space, which has a larger quota than your home directory.

Relocate your .conda directory to your project space using the following steps:

  1. Make a .conda directory in your project space.

    [testuser1@golubh1 ~]$ mkdir -p /projects/<your proj. dir>/<your username>/.conda
    
  2. Copy over your existing .conda data. (This may take several minutes if your .conda directory is large.)

    [testuser1@golubh1 ~]$ rsync -aAvP ~/.conda/* /projects/<your proj. dir>/<your username>/.conda/
    
  3. Remove your current .conda directory.

    [testuser1@golubh1 ~]$ rm -rf ~/.conda
    
  4. Create a link to your new .conda directory.

    [testuser1@golubh1 ~]$ ln -s /projects/<your proj. dir>/<your username>/.conda ~/.conda