Using project directories as home directories (AEN 4.2.0)#
This option changes the home directories from the standard
location to the project directories. Then the package cache is saved in the
user project location. This works better when collaborating users are
installing or updating packages in the same project.
Because the package cache and the project are on the same filesystem, conda can often also create hardlinks and not copy files. This saves disk space and saves time when creating or cloning environments.
NOTE: This option should be enabled immediately after performing the installation process and before any users have logged in to AEN. This ensures that users will not have home directories in different places due to some creating their home directories when the option was disabled and others creating their home directories when the option was enabled.
/opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.jsonfile, add the
projDirsAsHomekey value and set it to
, "projDirsAsHome": true
NOTE: You must add the comma at the beginning of the line. If you add this line as the last key, you must remove any comma at the end of the line.
Restart the AEN compute service:
sudo service wakari-compute restart