my current situation is that I am trying to create a conda environment for some bioinformatics work in a shared server. My assigned home directory with my account only has storage for 10G and I need slightly more. I have a scratch directory with infinite storage and I am wondering if there is a way I can establish a environment and install the needed programs in that environment in the scratch folder? can I just move the /.conda/ folder from my home to this scratch?
Asked
Active
Viewed 345 times
1 Answers
0
Try moving it to the scratch directory and replace it by a symlink. Like so:
mv ~/.conda /scratch/conda
ln -s /scratch/conda ~/.conda
Keep in mind that you might lose your data in case the sysadmin wipes the scratch directory.
Martin Konrad
- 2,090
- 2
- 16
- 32
-
Awesome thanks! One thing I noticed is the reappearance of .conda/ in my home directory, is this a product of the symlink? – Zack Henning May 09 '20 at 17:26
-
This _is_ the symbolic link pointing to `/scratch/conda`. `ls -l` will show you where it points. – Martin Konrad May 09 '20 at 18:53