Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation of meorg analysis #289

Open
ccarouge opened this issue May 3, 2024 · 3 comments
Open

Automation of meorg analysis #289

ccarouge opened this issue May 3, 2024 · 3 comments
Assignees
Labels
priority:high High priority issues that should be included in the next release.

Comments

@ccarouge
Copy link
Collaborator

ccarouge commented May 3, 2024

No description provided.

@ccarouge ccarouge added the priority:high High priority issues that should be included in the next release. label May 3, 2024
@bschroeter
Copy link
Collaborator

There are a few factors to consider here:

  • Any interaction with ME.org will need to occur on the copyq (as it requires access to the internet to work.)
  • There will likely need to be multiple chained pbs jobs to interact with ME.org as it is currently set up.
  • There are timing concerns that we need to account for.

As it stands, the proposed workflow is as follows:

  1. Benchcab runs, emits output files, triggers a new PBS job (on the copyq) for the meorg_client to operate in.
  2. In this second job, meorg_client will upload the outputs to ME.org, which will put them in a queue on the server side (which moves from a temporary space onto the object store) and triggers another copyq job at a computed time interval based on the cron interval and filesize.
  3. (this process is scheduled every 5mins or so on the server side, plus a transfer latency of around 150mbit/sec (will confirm?) to actually move to the object store.
  4. meorg_client operates in a 3rd job to a) ensure the file has been successfully moved to the object store, and b) triggers the analysis. (or resubmitting itself in a few mins if the file is not ready)
  5. Analysis runs on ME.org

After step 5, I need to confirm the process with Gavin, as it is unclear if Me.org provides any notification of a successful/failed analysis run. If not, we have the option of either checking this status in PBS job 3 or spawning a 4th job to get the analysis status using the meorg_client and alert the user to failure or link to plots.

Please let me know if anything is unclear.

Cheers, Ben

@SeanBryan51
Copy link
Collaborator

Is this a good time to think about #157? We have been thinking about introducing a framework for doing workflow management in benchcab for a while now.

@ccarouge
Copy link
Collaborator Author

ccarouge commented May 9, 2024

Since the process is largely hidden from the user and can be relatively slow, it would be good to think if and when we would want to send information (emails? log file?) to the users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high High priority issues that should be included in the next release.
Projects
None yet
Development

No branches or pull requests

3 participants