-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Milestone
Description
Today @PabloEnfedaque flashed me quickly how xcale works and launches, and I realized it might be possible to use xcale as an alternative backend for our GUI. However, I overlooked there are a few more things to be done for the visualization purpose. Let me try to make a list of tasks toward this possibility. (Not saying we should do this, but it'd be a really good capability to have.)
On the frontend:
- need to come up with a "dictionary" translating between our inputs and file format and that of
xcale's (we'll have to do this for this week's CSX experiment anyway) - need to generate correctly the corresponding
mpirun -n Xcommand to launchxcaleMPI processes (might be easier to write a separate worker class forxcale??) - need to have a drop-down menu to select a backend (which defaults to
nsls2ptycho) - need to add a bunch of signals and guards to handle the behavior of existing buttons when
xcaleis selected (THIS IS THE MOST DIFFICULT TASK)
On the backend (requiring some code added in xcale; this is the part I overlooked):
- need a bool flag to tell whether
ptycho_guiis operational or not - need to have an optional dependency on
posix_ipc(rel: Migrate from posix_ipc to built-in shared_memory for Python 3.8+ #71) for using shared memory - need to print a formatted stdout so that the frontend can catch the signals
- need to write live results to shared memory for monitoring visually
- (not sure) need to write post-processed results in a certain format so that the frondend can pick up at the end of reconstruction
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels