Conda ist ein Paketmanager um reproduzierbar Software-Umgebungen auf Systemen zu installieren. Dabei werden Abhängigkeiten zu Bibliotheken automatisch aufgelöst und in vorkompilierter Fassung installiert.
Dies hat den Vorteil, dass man immer genau die gleiche Version einer Software installiert, egal auf welchem System man ist. Der Nachteil ist jedoch, dass oftmals keine Optimierungen für den konkret vorhandenen CPU berücksichtigt werden. Dies führt zu einer höheren Laufzeit der Programme.
Currently we have a mirror for Conda to allow you to install packages without internet access. You should specify these local mirrors, when you want to create a new environment
but also if you want to install new packages
.condarcTo make your life super easy and just ignore all of the above (and thus also keep your existing .yaml files) you can also just create a .condarc file in your home directory with the following contents (this handles the redirection of the channels to the custom hhu ones for you):
|
There are currently five different conda modules. For normal usage utilize
|
If activating your conda environment works for you in interactive mode but not in batch mode, then you might need to source your files .bashrc and .bash_profile. This is because in interactive mode you'll get a login shell but in batch mode not. In your jobscript such a solution could look as follows:
|