modi_veros_run.sh 430 Bytes
Newer Older
mashun1's avatar
veros  
mashun1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -l
#
# Activate conda in your $PATH
# This ensures that we discover every conda environment
# before we try to activate it.
source $CONDA_DIR/etc/profile.d/conda.sh

# Activate the existing veros environment
conda activate ~/modi_mount/conda-env-veros

# Change your current directory to available Veros-BGC setup
cd `dirname "$1"`

# Run your setup in the current directory (~/modi_mount/bgc_global_4deg)
python3 $1