Thread: Several scripts simultaneously accessing one file
hi,
made script batch processing brain scans (with freesurfer). have batch file stored on nfs server looks this:
now script performed on several computers @ time, first marks item in use (with sed -i 's/.../...'), processes (it gets actual subject files elsewhere on server, puts them back), marks finished in list. during action batch file should this:code:subject1 subject2 subject3 subject4
code:subject1 finished subject2 inprogress on host1 subject3 inprogress on host2 subject4
tried run , watched batch file, observed this:
this should not possible, there 1 script running on host1. subjects never got marked finished, although know fact finished. also, script seemed hang moments. problem simultaneous access file, , if so, can do?code:subject1 finished subject2 inprogress on host1 subject3 inprogress on host2 subject4 inprogress on host1 subject5
post script, please.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Several scripts simultaneously accessing one file
Ubuntu
Comments
Post a Comment