Skip to content

Halting tasks on web UI does not terminate task in celery, and general HPC questions #274

Description

@hoangthienan95

Hi there, thank you for the awesome project, I just discovered it and I think it's perfect for distributing scripts with intuitive in a research lab setting for wet lab colleagues to use. I'm new so I'm encountering alot of problems and have searched resources without success.

I'm running the app locally, running python manage.py runserver on one terminal and celery -A WooeyApp worker -c 1 --beat -l info on a separate one. Using all the default settings and configurations.

  1. One of the problems is that when I press the Stop button on the web ui of a script, the UI says that the status of the job is halted, yet if I wait for some time and refresh the page, the terminal output updates. My script does a loop and even after halting it printed the output of the next 10 loops. Any tasks I submit thereafter cannot run. On the terminal running celery I get (from when I click Stop):
    image

What's going on here? Where should I look for problems? I'm very new to django and celery too.

  1. Are there an example of wooey on hpc systems? I'm trying to distribute a script to members of my lab, who also share the same file system that's connected to a compute cluster. The script I'm distributing sends multiple jobs to the LSF HPC scheduler. I want them to use Wooey's GUI to give all the input parameters (mostly file paths on the shared file systems) but the script will launch jobs under their own usernames on LSF and not mine. Is there a way to accomplish this? I published a test version in the local network and right now whoever submits a job on the Wooey app will trigger computation on my side (terminal running celery picks up the job), or so I thought. I guess I'm confused on where computation is happening and how we can change that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions