User Tools

Site Tools


institute_lorentz:xmaris

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
institute_lorentz:xmaris [2020/07/13 07:27] – [Installing extra software] lenocilinstitute_lorentz:xmaris [2020/07/13 07:32] – [Installing extra software] lenocil
Line 208: Line 208:
  
 Several conda modules are ready-to-use on maris.  A possible use of these could be to clone them and extend them with your packages of choice. Mind though that if you run ''conda init'', conda will modify your shell initialisation scripts (e.g. ''~/.bashrc'') to load automatically the chosen conda environment. Several conda modules are ready-to-use on maris.  A possible use of these could be to clone them and extend them with your packages of choice. Mind though that if you run ''conda init'', conda will modify your shell initialisation scripts (e.g. ''~/.bashrc'') to load automatically the chosen conda environment.
-This causes several problems in all cases in which you did not mean to load any particular conda environment.+This causes several problems in all cases in which you are supposed to work in a clean environment. 
 + 
 +The steps below show as an example how you could skip ''conda init'' when activating a conda environment. 
 + 
 +<code> 
 +> ml load Miniconda3/4.7.10 
 +> conda create --name TEST 
 + 
 +# the following fails 
 +> conda activate TEST 
 + 
 +CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'
 +To initialize your shell, run 
 + 
 +    $ conda init <SHELL_NAME> 
 + 
 +Currently supported shells are: 
 +  - bash 
 +  - fish 
 +  - tcsh 
 +  - xonsh 
 +  - zsh 
 +  - powershell 
 + 
 +See 'conda init --help' for more information and options. 
 + 
 +IMPORTANT: You may need to close and restart your shell after running 'conda init'
 + 
 +## do this instead 
 +> source activate TEST 
 +> ... 
 +> conda deactivate 
 + 
 +</code>
 ===== How to run a computation ===== ===== How to run a computation =====
  
institute_lorentz/xmaris.txt · Last modified: 2024/02/29 14:16 by jansen