You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today penfedaque (@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 X command to launch xcale MPI processes (might be easier to write a separate worker class for xcale??)
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 xcale is 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_gui is operational or not
Today penfedaque (@PabloEnfedaque) flashed me quickly how
xcaleworks and launches, and I realized it might be possible to usexcaleas 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:
xcale's (we'll have to do this for this week's CSX experiment anyway)mpirun -n Xcommand to launchxcaleMPI processes (might be easier to write a separate worker class forxcale??)nsls2ptycho)xcaleis selected (THIS IS THE MOST DIFFICULT TASK)On the backend (requiring some code added in
xcale; this is the part I overlooked):ptycho_guiis operational or notposix_ipc(rel: Migrate from posix_ipc to built-in shared_memory for Python 3.8+ #71) for using shared memorycc: Stuart Campbell (@stuartcampbell) xiaojinghuang wen-hu