Hello,
I'm trying to use the CESM Python Post Processing: CESM Python Post Processing Users Guide
I've downloaded the code: PPUG_Download
I'm using the Niagara cluster (Univ. of Toronto, Canada), to set up the Python virtualenv using create_python_env, I'm doing the followings, recommended here: PPUG_create_python_env:
make clobber
make clobber-env --> it gives: rm -rf cesm-env2 -- why it's removing the created directory?
./create_python_env -machine [supported-machine-name] -->
./create_python_env -niagara --> it gives: Unknown argument: -niagara'
./create_python_env -machine niagara --> it gives: Unknown argument: -machine'
./create_python_env -machine --> it gives: Unknown argument: -machine'
Please see below for details.
Any suggestions to set it up successfully please?
In this file: create_python_env, there are two places with -machine as follows:

And

I've changed to -niagara AND --niagara. Is that OK? With and without the above changes, it still not instally.
Any suggestions please?
Thanks.
##########################
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ make clobber
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/cesm_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/cesm_utils'
Build complete: cesm_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diag_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diag_utils'
Build complete: diag_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/mpi_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyTools/*.egg-info
rm -rf pyTools/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/mpi_utils'
Build complete: mpi_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/reshaper'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyReshaper/*.egg-info
rm -rf pyReshaper/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/reshaper'
Build complete: reshaper : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/averager'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyAverager/*.egg-info
rm -rf pyAverager/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/averager'
Build complete: averager : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/timeseries'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/timeseries'
Build complete: timeseries : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conformer'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyconform/*.egg-info
rm -rf pyconform/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conformer'
Build complete: conformer : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conform'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conform'
Build complete: conform : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ilamb'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf ilamb/*.egg-info
rm -rf ilamb/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ilamb'
Build complete: ilamb : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diagnostics'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -rf .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diagnostics'
Build complete: diagnostics : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ocean_remap'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ocean_remap'
Build complete: ocean_remap : clobber : Wed Jul 31 12:44:41 EDT 2024
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc *.so
rm -rf *.egg-info build
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ make clobber-env
rm -rf cesm-env2
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ ./create_python_env -niagara
.
.
.
++ absolute_path=/scratch/c/cgf/msol/postprocessing
++ echo /scratch/c/cgf/msol/postprocessing
+ pp_dir=/scratch/c/cgf/msol/postprocessing
+ export pp_dir
+ status=UNDEF
+ info=
+ machine_dir=/scratch/c/cgf/msol/postprocessing/Machines
+ echo /scratch/c/cgf/msol/postprocessing/Machines
/scratch/c/cgf/msol/postprocessing/Machines
+ machine=
+ '[' 1 -gt 0 ']'
+ case $1 in
+ echo 'create_python_env: Unknown argument: -niagara'
create_python_env: Unknown argument: -niagara
+ echo 'Run create_python_env -help for usage'
Run create_python_env -help for usage
+ print_result UNDEF ''
+ status=UNDEF
+ info=
+ echo UNDEF:
UNDEF:
+ exit 1
I'm trying to use the CESM Python Post Processing: CESM Python Post Processing Users Guide
I've downloaded the code: PPUG_Download
I'm using the Niagara cluster (Univ. of Toronto, Canada), to set up the Python virtualenv using create_python_env, I'm doing the followings, recommended here: PPUG_create_python_env:
make clobber
make clobber-env --> it gives: rm -rf cesm-env2 -- why it's removing the created directory?
./create_python_env -machine [supported-machine-name] -->
./create_python_env -niagara --> it gives: Unknown argument: -niagara'
./create_python_env -machine niagara --> it gives: Unknown argument: -machine'
./create_python_env -machine --> it gives: Unknown argument: -machine'
Please see below for details.
Any suggestions to set it up successfully please?
In this file: create_python_env, there are two places with -machine as follows:

And

I've changed to -niagara AND --niagara. Is that OK? With and without the above changes, it still not instally.
Any suggestions please?
Thanks.
##########################
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ make clobber
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/cesm_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/cesm_utils'
Build complete: cesm_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diag_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diag_utils'
Build complete: diag_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/mpi_utils'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyTools/*.egg-info
rm -rf pyTools/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/mpi_utils'
Build complete: mpi_utils : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/reshaper'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyReshaper/*.egg-info
rm -rf pyReshaper/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/reshaper'
Build complete: reshaper : clobber : Wed Jul 31 12:44:40 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/averager'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyAverager/*.egg-info
rm -rf pyAverager/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/averager'
Build complete: averager : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/timeseries'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/timeseries'
Build complete: timeseries : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conformer'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf pyconform/*.egg-info
rm -rf pyconform/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conformer'
Build complete: conformer : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conform'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/conform'
Build complete: conform : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ilamb'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf ilamb/*.egg-info
rm -rf ilamb/build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ilamb'
Build complete: ilamb : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diagnostics'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -rf .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/diagnostics'
Build complete: diagnostics : clobber : Wed Jul 31 12:44:41 EDT 2024
make[1]: Entering directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ocean_remap'
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc
rm -rf *.egg-info build
make[1]: Leaving directory `/gpfs/fs0/scratch/c/cgf/msol/postprocessing/ocean_remap'
Build complete: ocean_remap : clobber : Wed Jul 31 12:44:41 EDT 2024
rm -f *~ *.CKP *.ln *.BAK *.bak .*.bak \
core errs \
,* .emacs_* \
tags TAGS \
make.log MakeOut \
*.tmp tmp.txt
rm -f .Makedepend *.o *.mod *.il *.pyc *.so
rm -rf *.egg-info build
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ make clobber-env
rm -rf cesm-env2
msol@nia-login02:/scratch/c/cgf/msol/postprocessing$ ./create_python_env -niagara
.
.
.
++ absolute_path=/scratch/c/cgf/msol/postprocessing
++ echo /scratch/c/cgf/msol/postprocessing
+ pp_dir=/scratch/c/cgf/msol/postprocessing
+ export pp_dir
+ status=UNDEF
+ info=
+ machine_dir=/scratch/c/cgf/msol/postprocessing/Machines
+ echo /scratch/c/cgf/msol/postprocessing/Machines
/scratch/c/cgf/msol/postprocessing/Machines
+ machine=
+ '[' 1 -gt 0 ']'
+ case $1 in
+ echo 'create_python_env: Unknown argument: -niagara'
create_python_env: Unknown argument: -niagara
+ echo 'Run create_python_env -help for usage'
Run create_python_env -help for usage
+ print_result UNDEF ''
+ status=UNDEF
+ info=
+ echo UNDEF:
UNDEF:
+ exit 1