aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_slurm.c
AgeCommit message (Collapse)Author
2021-07-23SLURM: Fix printf typeThomas White
2021-07-22Clean up shadowed variablesThomas White
2021-07-21Add missing cleanup on error pathsThomas White
2021-07-15GUI: Run all jobs with same CWD as GUI itselfThomas White
This requires changing all the paths to relative ones. Previously, the jobs ran with their CWDs set to the corresponding "result" folder. The trouble is, this breaks everything that uses a relative location: image filenames, mask/satmap files referenced by the geometry, etc. Note that this change also means that the temporary folders ("indexamajig.XXX") are now produced in the top-level working directory. Eventually, a GUI option should be added to allow these folders to be put somewhere better (i.e. somewhere fast). Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/44
2021-07-12GUI: Add --wavelength-estimate and --camera-length-estimateThomas White
Only when using PinkIndexer. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/25
2021-07-06SLURM: Show the real error message if job can't be submittedThomas White
2021-06-17GUI: Add a tooltipThomas White
2021-05-28GUI: Store relative paths of resultsThomas White
This allows project folders to be relocated more easily. At the same time, I fixed the weird ownership semantics of add_indexing_result and add_merge_result. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/31
2021-04-01GUI: Clean up old tasks when infobar is removedThomas White
2021-03-05Mass update of copyright dates in source code commentsThomas White
2021-03-04SLURM: Better handling of job cancellation/crashingThomas White
2021-03-04SLURM: Cancel job by calling scancelThomas White
The API for cancelling a job seems to be Complicated. The source code for scancel is nearly a thousand lines long! The API also seems to have just changed. So, let's just run scancel and be done with it.
2021-03-04SLURM: Add one to serial offsetsThomas White
They should start from 1, not 0.
2021-03-04SLURM: Set serial offset for indexamajig jobsThomas White
2021-03-04GUI: When starting indexing, prefix relative filenames with ../Thomas White
2021-03-04SLURM: Clean up some exit pathsThomas White
2021-03-04start_slurm_job: Save the real stderr filenameThomas White
2021-03-04SLURM: Implement indexing progress monitoring for job arraysThomas White
2021-03-03GUI: Submit indexing jobs as job arrays, not individual jobsThomas White
2021-03-03SLURM: Remove unused stuffThomas White
2021-03-03SLURM: Add access to account and feature constraintsThomas White
2021-03-03SLURM: Factorise common options even moreThomas White
2021-03-03SLURM: Factorise widget creation for common backend optionsThomas White
2021-02-22SLURM: Set 'running' properlyThomas White
2021-02-22SLURM: Use a faster counting method when the number of sub-jobs is largeThomas White
2021-02-22Read job progress from written log files, even for local BEThomas White
This simplifies the backends somewhat, and makes them look more similar - e.g. there is now only one routine to find out how far along a merging job is. It has the added bonus of adding a log file for local jobs, which we would've had to add soon anyway.
2021-02-18SLURM: Show submitted job ID for non-indexing tasksThomas White
2021-02-18SLURM: Create an ambigator script, not a merge oneThomas White
Whoops.
2021-02-18SLURM: Submit merging and ambigator jobs via scriptThomas White
2021-02-18Eliminate duplicate make_job_folder/make_workdirThomas White
2021-02-17GUI: Plumbing, ready to run ambigator jobThomas White
2020-12-11result -> indexing_resultThomas White
Because shortly we will have merging_result as well
2020-12-04SLURM: Cancel merging jobs properlyThomas White
2020-12-03SLURM BE: Submit merge jobThomas White
2020-11-30Pass result to backend for mergingThomas White
2020-11-30Move get_crystfel_exe and get_crystfel_path_str to crystfel_gui.cThomas White
2020-10-29Merge backend plumbingThomas White
2020-09-24SLURM: Avoid crash when batch system parameters are not setThomas White
2020-09-08Just use project structure in backendsThomas White
We have to pass the crystfelproject anyway, to add the new results to the list. It seems messy to pass everything else separately, when at this moment the values must be exactly what is in the project structure anyway.
2020-09-08Local/SLURM BE: Add full path to stream in resultsThomas White
2020-09-04Add results from new indexing jobThomas White
2020-09-02Fix job tracking logicThomas White
2020-09-01SLURM: Don't forget to close the stderr filesThomas White
Also, don't print the entire contents every time. We'll have to find another way to track warning messages.
2020-09-01SLURM: Store full path to stderr filesThomas White
2020-09-01SLURM: Don't crash if stderr file can't be readThomas White
2020-09-01SLURM: Track job statusThomas White
2020-09-01SLURM: Show error message if job can't be cancelledThomas White
2020-08-31SLURM: Implement cancel_taskThomas White
2020-08-31SLURM: Separate stderr and stdout files for each blockThomas White
2020-08-31Split up job for submission via SLURMThomas White