Commit 99fa6f4
committed
Restore DRMAA (GridExecutor) as primary cluster execution path
The run() function was changed in 0.6.18 to always use get_executor(),
which routes all cluster jobs through the new CLI-based SlurmExecutor/
SGEExecutor classes, bypassing GridExecutor (DRMAA) entirely.
This broke all users with a working DRMAA installation.
Fix:
- run() now uses GridExecutor when DRMAA is available and a session is
active; CLI-based executors are used only as a fallback when DRMAA is
absent.
- will_run_on_cluster() no longer raises when DRMAA is missing; it
returns False so the CLI executor fallback can proceed cleanly.1 parent ac78883 commit 99fa6f4
1 file changed
Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
544 | 544 | | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
554 | 551 | | |
555 | 552 | | |
556 | 553 | | |
| |||
1522 | 1519 | | |
1523 | 1520 | | |
1524 | 1521 | | |
1525 | | - | |
1526 | | - | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1527 | 1532 | | |
1528 | 1533 | | |
1529 | 1534 | | |
| |||
0 commit comments