I have a bash script that I submit to qsub on casper. Before the update last week, it was working great but now it is not working at all. I am getting the error message
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
Now using NPL virtual environment at path:
/glade/u/apps/dav/opt/python/3.7.9/gnu/9.1.0/pkg-library/20201220
Use deactivate to remove NPL from environment
The script is /glade/u/home/lamar/Python/CMIP6_analysis/PM2.5/run_health.bash
Thanks!
Are you sure it's not working? I think this part of the warning:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
may just be telling you that there's no input device.
And this part
Now using NPL virtual environment at path:
/glade/u/apps/dav/opt/python/3.7.9/gnu/9.1.0/pkg-library/20201220
Use deactivate to remove NPL from environment
is what ncar_pylib
prints out.
Got the answer from CISL. ncar_pylib is deprecated and needs to be replaced by the following
module load ncarenv
module load conda
conda activate npl
Last updated: May 16 2025 at 17:14 UTC