geodesymiami / rsmas_insar

RSMAS InSAR code
https://rsmas-insar.readthedocs.io/
GNU General Public License v3.0
58 stars 22 forks source link

New job_submission.py does not work on LSF #310

Closed AlexandrosAliKhan closed 4 years ago

AlexandrosAliKhan commented 4 years ago

https://github.com/geodesymiami/rsmas_insar/blob/74d4dc822adf6b99e88b2c50bbbf39f8ea7bbd9b/minsar/job_submission.py#L539 The old job_submission.py in accounts/test/development still works for me.

`//login4/projects/scratch/insarlab/axk1168/unittestGalapagosSenDT128[1135] ~/rsmas_insar/minsar/job_submission.py /projects/scratch/insarlab/axk1168/unittestGalapagosSenDT128/run_files/run_9_merge_burst_igram --memory 1500 --walltime 8:00 --queuename general --outdir /projects/scratch/insarlab/axk1168/unittestGalapagosSenDT128/run_files 20200308:225149 * job_submission.py /projects/scratch/insarlab/axk1168/unittestGalapagosSenDT128/run_files/run_9_merge_burst_igram --outdir /projects/scratch/insarlab/axk1168/unittestGalapagosSenDT128/run_files

Working on a LSF machine ...

Traceback (most recent call last): File "/nethome/axk1168/rsmas_insar/minsar/job_submission.py", line 557, in walltime=PARAMS.wall, queue=PARAMS.queue) File "/nethome/axk1168/rsmas_insar/minsar/job_submission.py", line 338, in submit_batch_jobs memory=memory) File "/nethome/axk1168/rsmas_insar/minsar/job_submission.py", line 539, in get_memory_walltime num_threads = config[step_name]['num_threads'] File "/nethome/axk1168/test/development/rsmas_insar/3rdparty/miniconda3/lib/python3.7/configparser.py", line 1251, in getitem raise KeyError(key) KeyError: 'num_threads'`

mirzaees commented 4 years ago

Hi Alex, I checked your branch, it is on 'JOB_SUBMISSION_SCHEME' now not on master. which one did you work with that you got this error?

AlexandrosAliKhan commented 4 years ago

JOB_SUBMISSION_SCHEME, but I think the error should take place on master as well. Will check and let you know.

Regards,


From: Sara Mirzaee notifications@github.com Sent: Monday, March 9, 2020 10:09:16 AM To: geodesymiami/rsmas_insar rsmas_insar@noreply.github.com Cc: Khan, Alexandros Ali axk1168@miami.edu; Author author@noreply.github.com Subject: Re: [geodesymiami/rsmas_insar] New job_submission.py does not work on LSF (#310)

Hi Alex, I checked your branch, it is on 'JOB_SUBMISSION_SCHEME' now not on master. which one did you work with that you got this error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeodesymiami%2Frsmas_insar%2Fissues%2F310%3Femail_source%3Dnotifications%26email_token%3DAECK2RADBUUBMZMFLZAX7VLRGUBBZA5CNFSM4LD7X6IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOHJBXI%23issuecomment-596545757&data=02%7C01%7Caxk1168%40miami.edu%7Ce1f6db8669514641458608d7c43373f5%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637193597573239453&sdata=St72NbRKRjAT5Gg85G0nla6QaEBNcUeuD38I7rUpGnk%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECK2RDUIEROBDNMTOAMLZTRGUBBZANCNFSM4LD7X6IA&data=02%7C01%7Caxk1168%40miami.edu%7Ce1f6db8669514641458608d7c43373f5%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C637193597573239453&sdata=HxmFUJmJVwVtcuEZjtN5nD%2BEb91S2uwZxQPc%2FxZNbeI%3D&reserved=0.

AlexandrosAliKhan commented 4 years ago

I checked. The error still takes place on master. Kindly let me know how to proceed.

mirzaees commented 4 years ago

I fixed this, so I am closing the issue