Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct issue with checkTimeLimit for functions that exceed wall clock time #1305

Open
jasonfleming opened this issue May 10, 2024 · 0 comments

Comments

@jasonfleming
Copy link
Collaborator

When a job exceeds the estimated wall clock time, the ASGS detects it but throws the following errors:

# on console
/ddnB/work/$USER/production/asgs/asgs_main.sh: line 1192: [[: 1141 checkTimeLimit /ddnB/work/$USER/production/asgs/asgs_main.sh
1191 monitorJobs /ddnB/work/$USER/production/asgs/asgs_main.sh
2697 main /ddnB/work/$USER/production/asgs/asgs_main.sh: syntax error in expression (error token is "checkTimeLimit /ddnB/work/$USER/production/asgs/asgs_main.sh
1191 monitorJobs /ddnB/work/$USER/production/asgs/asgs_main.sh
2697 main /ddnB/work/$USER/production/asgs/asgs_main.sh")
# in $SYSLOG
[2024-May-10-T08:46:04-0500] WARNING: nowcast: asgs_main.sh>checkTimeLimit(): The time limit is 07:00:00 but the total time used so far is 07:00:00. Therefore, the time limit has been exceeded.
1141 checkTimeLimit /ddnB/work/$USER/production/asgs/asgs_main.sh
1191 monitorJobs /ddnB/work/$USER/production/asgs/asgs_main.sh
2697 main /ddnB/work/$USER/production/asgs/asgs_main.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant