How to only install a subset of executors #40
Replies: 3 comments 4 replies
-
The proposal was to us separate repositories / python modules for each connector, and thus to install and deinstall them independently from |
Beta Was this translation helpful? Give feedback.
-
I am not sure what you mean there. Executors and launchers are dynamically discovered at run-time. There are no explicit references to any particular executor in psi/j/init.py. Are we sure we are talking about the same file? (https://github.com/ExaWorks/psi-j-python/blob/main/src/psi/j/__init__.py) |
Beta Was this translation helpful? Give feedback.
-
This has been addressed by dynamic executor imports and should not be an issue any more. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
local
,rp
, andflux
executors are all installed and are hardcoded inpsi/j/executors/__init__.py
. If you try to delete any of them from the installation directory, import errors occur. This prevents running/debugging psi.j on a mac since Flux does not support Mac (no way currently to compile it or install the python bindings on it).Based on previous ☎️ discussions, it sounds like @hategan and/or @andre-merzky have ideas on how to handle this. So going forward what do we want to do to support installing only a subset of executors? Or maybe alternatively, handling installing executors that cannot run/import.
EDIT: correct the path to the referenced
__init__.py
fileBeta Was this translation helpful? Give feedback.
All reactions