drmaa-python icon indicating copy to clipboard operation
drmaa-python copied to clipboard

Hi, I got a problem about slurm_submit_batch_job error: Access/permission

Open FollowMyHeart opened this issue 1 year ago • 0 comments

Version

os: ubuntu22.04 aarch64

slurm: 23.11

slurm-drmaa:1.1.4

drmaa-python:0.7.9

python:2.7.18

I #2ce6c3 [ 0.00] * logging started at: 2024-04-12 01:14:17.37 Z t #2ce6c3 [ 0.00] -> fsd_exc_init t #2ce6c3 [ 0.00] <- fsd_exc_init t #2ce6c3 [ 0.00] -> drmaa_init(contact=(null)) t #2ce6c3 [ 0.00] -> fsd_drmaa_session_new((null)) t #2ce6c3 [ 0.00] -> fsd_job_set_new() t #2ce6c3 [ 0.00] <- fsd_job_set_new =0xaaab1d388320 t #2ce6c3 [ 0.00] -> fsd_conf_read(filename=/vol/home/hql/slurm_drmaa_path/etc/slurm_drmaa.conf, must_exist=false, content=(null)) t #2ce6c3 [ 0.00] * content from file t #2ce6c3 [ 0.00] <- fsd_conf_read t #2ce6c3 [ 0.00] -> fsd_conf_read(filename=/vol/home/hql/.slurm_drmaa.conf, must_exist=false, content=(null)) t #2ce6c3 [ 0.02] * content from file t #2ce6c3 [ 0.02] <- fsd_conf_read t #2ce6c3 [ 0.02] -> fsd_conf_read(filename=/vol/home/hql/slurm_drmaa_path/etc/slurm_drmaa.conf, must_exist=true, content=(null)) t #2ce6c3 [ 0.02] * content from file t #2ce6c3 [ 0.02] <- fsd_conf_read t #2ce6c3 [ 0.02] -> fsd_drmaa_session_apply_configuration t #2ce6c3 [ 0.02] <- fsd_drmaa_session_apply_configuration t #2ce6c3 [ 0.02] <- drmaa_init =0 t #2ce6c3 [ 4.15] -> drmaa_allocate_job_template t #2ce6c3 [ 4.15] <- drmaa_allocate_job_template =0: jt=0xaaab1d953880 t #2ce6c3 [ 24.05] -> drmaa_set_attribute(jt=0xaaab1d953880, name='drmaa_wd', value='$drmaa_hd_ph$') t #2ce6c3 [ 24.05] -> fsd_template_set_attr(drmaa_wd=$drmaa_hd_ph$) t #2ce6c3 [ 24.05] <- drmaa_set_attribute =0 t #2ce6c3 [ 30.55] -> drmaa_set_attribute(jt=0xaaab1d953880, name='drmaa_remote_command', value='/vol/home/hql/Pycharm_project/drmaa-0.7.9/examples/test_hostname.sh') t #2ce6c3 [ 30.55] -> fsd_template_set_attr(drmaa_remote_command=/vol/home/hql/Pycharm_project/drmaa-0.7.9/examples/test_hostname.sh) t #2ce6c3 [ 30.55] <- drmaa_set_attribute =0 t #2ce6c3 [ 32.57] -> drmaa_set_vector_attribute(jt=0xaaab1d953880, name='drmaa_v_argv', value=...) t #2ce6c3 [ 32.57] <- drmaa_set_vector_attribute =0 t #2ce6c3 [ 36.14] -> drmaa_set_attribute(jt=0xaaab1d953880, name='drmaa_join_files', value='y') t #2ce6c3 [ 36.14] -> fsd_template_set_attr(drmaa_join_files=y) t #2ce6c3 [ 36.14] <- drmaa_set_attribute =0 t #2ce6c3 [ 39.21] -> drmaa_set_attribute(jt=0xaaab1d953880, name='drmaa_output_path', value=':$drmaa_hd_ph$/DRMAA_JOB_OUT.$drmaa_incr_ph$') t #2ce6c3 [ 39.21] -> fsd_template_set_attr(drmaa_output_path=:$drmaa_hd_ph$/DRMAA_JOB_OUT.$drmaa_incr_ph$) t #2ce6c3 [ 39.21] <- drmaa_set_attribute =0 t #2ce6c3 [ 51.32] -> drmaa_run_bulk_jobs(jt=0xaaab1d953880, start=1, end=3, incr=1) d #2ce6c3 [ 51.32] * # Script: d #2ce6c3 [ 51.32] | #!/bin/bash d #2ce6c3 [ 51.32] | /vol/home/hql/Pycharm_project/drmaa-0.7.9/examples/test_hostname.sh '419_64k' '4' d #2ce6c3 [ 51.32] * environ env_size = 95 d #2ce6c3 [ 51.32] * # added to job environ: SLURM_PRIO_PROCESS=0 d #2ce6c3 [ 51.32] * # added to job environ: SLURM_SUBMIT_DIR=/vol/home/hql/Pycharm_project/drmaa-0.7.9 d #2ce6c3 [ 51.32] * # added to job environ: SLURM_SUBMIT_HOST=ln2 d #2ce6c3 [ 51.32] * # added to job environ: SLURM_UMASK=0002 d #2ce6c3 [ 51.32] * # work_dir = /vol/home/hql d #2ce6c3 [ 51.32] | drmaa_output_path: :$drmaa_hd_ph$/DRMAA_JOB_OUT.$drmaa_incr_ph$ -> /vol/home/hql/DRMAA_JOB_OUT.%a d #2ce6c3 [ 51.32] * # output = /vol/home/hql/DRMAA_JOB_OUT.%a d #2ce6c3 [ 51.32] * # error = /vol/home/hql/DRMAA_JOB_OUT.%a d #2ce6c3 [ 51.32] * # Setting defaults for tasks and processors E #2ce6c3 [ 51.32] * fsd_exc_new(1016,slurm_submit_batch_job error: Access/permission denied,1) t #2ce6c3 [ 51.32] -> slurmdrmaa_free_job_desc t #2ce6c3 [ 51.32] <- slurmdrmaa_free_job_desc t #2ce6c3 [ 51.32] <- drmaa_run_bulk_jobs=17: slurm_submit_batch_job error: Access/permission denied Traceback (most recent call last): File "/vol/home/hql/pycharm-2024.1/plugins/python/helpers/pydev/pydevd.py", line 1535, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/examples/example.py", line 73, in main() File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/examples/example.py", line 41, in main all_jobids += s.runBulkJobs(jt, 1, JOB_CHUNK, 1) File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/drmaa/session.py", line 340, in runBulkJobs return list(run_bulk_job(jobTemplate, beginIndex, endIndex, step)) File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/drmaa/helpers.py", line 286, in run_bulk_job c(drmaa_run_bulk_jobs, jids, jt, start, end, incr) File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/drmaa/helpers.py", line 302, in c return f(*(args + (error_buffer, sizeof(error_buffer)))) File "/vol/home/hql/Pycharm_project/drmaa-0.7.9/drmaa/errors.py", line 151, in error_check raise _ERRORScode - 1 drmaa.errors.DeniedByDrmException: code 17: slurm_submit_batch_job error: Access/permission denied

FollowMyHeart avatar Apr 12 '24 04:04 FollowMyHeart