geodesymiami / rsmas_insar

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

small bug in submit_job.bash #461

Closed falkamelung closed 3 years ago

falkamelung commented 3 years ago

Hi @Ovec8hkin , you re-introduced an old bug into submit_jobs.bash. When I run submit_jobs.bash $PWD --start timeseries I get the error message

ls: cannot access /scratch/05861/tg851601/unittestGalapagosSenDT128/smallbaseline_wrapper_*.job: No such file or directory
Jobfiles to run:

/scratch/05861/tg851601/code1/rsmas_insar/minsar/submit_jobs.bash: line 184: step_io_load_list: bad array subscript
(standard_in) 2: syntax error
-------------------------------------------------------------------------------------------------------------------------
| File Name            | Additional Tasks | Step Active Tasks | Total Active Tasks | Active Jobs | Message              |  
-------------------------------------------------------------------------------------------------------------------------
ls: unrecognized option '--step_name*.job'
Try 'ls --help' for more information.
-------------------------------------------------------------------------------------------------------------------------

However, when I run an old version it works fine

git checkout caff6511106ff93306303ba154246c85d92718c4
submit_jobs.bash $PWD --start timeseries
Jobfiles to run: /scratch/05861/tg851601/unittestGalapagosSenDT128/smallbaseline_wrapper.job
Number of running/pending jobs: 0
0 running/pending tasks across all jobs (maximum 3000)
step smallbaseline_wrapper: 0 running/pending tasks (maximum 1500)
smallbaseline_wrapper.job: 1 additional tasks
sbatch message: 
-----------------------------------------------------------------
          Welcome to the Stampede2 Supercomputer                 
-----------------------------------------------------------------

I remember that I fixed this a while ago. It is a naming issues. I think it looks for smallbaseline_wrapper_0.job which does not exist. Same for insarmaps.job

falkamelung commented 3 years ago

done, I think. If not I will reopen