If activating your conda environment works for you in interactive mode but not in batch mode, then you might need to source your files To activate conda environments in batch-script mode please source your .bashrc and .bash_profile in submission script before you activate the conda environment. 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: Codeblock |
---|
#!/bin/bash
#PBS -l select=1:ncpus=X:mem=XGB
#PBS -l walltime=X:00:00
#PBS -A 'XXX'
# source bash
source $HOME/home/USER/.bashrc
source /home/USER$HOME/.bash_profile
conda activate SOME_ENV |
|