-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: use of of os.path.join for path creation in get_file_list
- Loading branch information
Showing
9 changed files
with
171 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule pyart
updated
2 files
+1 −1 | continuous_integration/environment-ci.yml | |
+5 −1 | doc/environment.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,56 @@ | ||
#!/bin/bash -l | ||
#SBATCH --time=24:00:00 | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks=1 | ||
#SBATCH --cpus-per-task=4 | ||
#SBATCH --ntasks-per-node=1 | ||
#SBATCH --mem=64g | ||
#SBATCH --partition=postproc | ||
#SBATCH --account=msrad | ||
#!/bin/bash | ||
#SBATCH -N 1 # nodes requested | ||
#SBATCH -c 1 # cores requested | ||
#SBATCH -t 10:0:00 # time requested in hour:minute:second | ||
#SBATCH --partition postproc | ||
|
||
# Default values | ||
DEFAULT_PYART_CONFIG="$HOME/pyrad/config/pyart/mch_config.py" | ||
DEFAULT_CONDA_ENV_NAME="pyart" | ||
|
||
# Assign arguments or defaults | ||
PYART_CONFIG=${3:-$DEFAULT_PYART_CONFIG} | ||
|
||
export PYTHONUNBUFFERED=1 | ||
export PATH=$PATH | ||
export PYART_CONFIG=$PYART_CONFIG | ||
export CONDA_ENV_NAME=$DEFAULT_CONDA_ENV_NAME | ||
|
||
current_time=$(date +'%Y%m%d%H%M%S') | ||
|
||
echo $current_time | ||
echo "Launched executable $EXECUTABLE" | ||
|
||
source activate $CONDA_ENV_NAME | ||
|
||
$EXECUTABLE | ||
|
||
source deactivate | ||
|
||
|
||
|
||
#!/bin/bash | ||
#SBATCH -N 1 # nodes requested | ||
#SBATCH -c 1 # cores requested | ||
#SBATCH -t 10:0:00 # time requested in hour:minute:second | ||
#SBATCH --partition postproc | ||
|
||
# other sbatch options: | ||
# mem-per-cpu : maximum amount of real memory per allocated cpu required by the job | ||
# --mem >= --mem-per-cpu if --mem is specified | ||
|
||
EXECUTABLE=$1 | ||
|
||
export PYTHONUNBUFFERED=1 | ||
export PATH=/store_new/mch/msrad/utils/miniconda-wolfensb/envs/pyart/bin/:$PATH | ||
export PYART_CONFIG=$HOME/pyrad/config/pyart/mch_config.py | ||
current_time=$(date +'%Y%m%d%H%M%S') | ||
|
||
echo | ||
echo "Launched executable $EXECUTABLE" | ||
|
||
source activate pyrad | ||
source activate pyart | ||
|
||
$EXECUTABLE | ||
|
||
|
||
source deactivate |