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

Check dask: -N -m send email, and on DIPC #83

Open
yongninglei opened this issue Jul 21, 2024 · 5 comments
Open

Check dask: -N -m send email, and on DIPC #83

yongninglei opened this issue Jul 21, 2024 · 5 comments

Comments

@yongninglei
Copy link
Collaborator

dask without progress bar is working well on ips and local BCBL.

Needs to test:

how to change config.yaml so that -N will give cluster job a proper name.

how to change config yaml to let SGE cluster sending email

how to change dask_scheduler.py so that the name of job goes along with index

@yongninglei
Copy link
Collaborator Author

@yongninglei
Copy link
Collaborator Author

@yongninglei
Copy link
Collaborator Author

Seems this threads gives the solution to proper name the dask workers dask/dask#7070

@yongninglei
Copy link
Collaborator Author

    n = 100
    params = {
        'cores' : 2,
        'memory' : '1000MB',
        'processes' : 1,
        'walltime' : '180',
        'job_extra' : [
            '--array 0-{0:d}'.format(n - 1), # submit array of sizen
            '--requeue',
        ],
        'env_extra' : [
            'JOB_ID=${SLURM_ARRAY_JOB_ID%;*}_${SLURM_ARRAY_TASK_ID%;*}',
        ],
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant