-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from HSF/dev
Dev
- Loading branch information
Showing
11 changed files
with
938 additions
and
580 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,14 @@ | |
# Authors: | ||
# - Wen Guan, <[email protected]>, 2024 | ||
|
||
import logging | ||
import json | ||
|
||
from idds.common.constants import WorkflowType | ||
from idds.common.utils import encode_base64 | ||
from idds.common.utils import encode_base64, setup_logging | ||
|
||
|
||
setup_logging(__name__) | ||
|
||
|
||
class BaseSubmitter(object): | ||
|
@@ -100,6 +104,7 @@ def get_task_params(self, work): | |
task_param_map['maxFailure'] = work.max_attempt | ||
|
||
if work.enable_separate_log: | ||
logging.debug(f"BaseSubmitter enable_separate_log: {work.enable_separate_log}") | ||
task_param_map['log'] = {"dataset": "PandaJob_iworkflow/", # "PandaJob_#{pandaid}/" | ||
"destination": "local", | ||
"param_type": "log", | ||
|
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
Oops, something went wrong.