@reedessick Simulating multiple events using simulate.py (i.e. -N >1) while simultaneously running lvalertTest_listenMP is creating an EOF error with some pkl files : (pickle.load() fails)
Could be due to multiple processes trying to access the same file is causing a conflict.
Example: (simulating 7 gstlal events in 3 s)
deep@debian:~/github_forked/lvalertTest$ simulate.py -N 7 -r 3.0 -g /home/deep/FAKE_DB/ -i "H1,L1" -o /home/deep/OUT_DIR/ -s /home/deep/github_forked/lvalertTest/etc/gstlal.ini -v
Gives the following error:
Traceback (most recent call last):
File "/home/deep/github_forked/lvalertTest/bin/simulate.py", line 191, in
action.execute() ### actually perform the action
File "/home/deep/github_forked/lvalertTest/lib/schedule.py", line 90, in execute
return self.foo( *self.args, **self.kwargs )
File "/home/deep/github_forked/lvalertTest/lib/schedule.py", line 259, in writeLog
httpResponse = gdb.writeLog( self.graceDBevent.get_graceid(), self.message, filename=self.filename, tagname=self.tagname )
File "/home/deep/github_forked/lvalertTest/lib/ligoTest/gracedb/rest.py", line 451, in writeLog
jsonD, lvalert = self.__log__(graceid, message, filename=filename, tagname=tagname )
File "/home/deep/github_forked/lvalertTest/lib/ligoTest/gracedb/rest.py", line 406, in __log__
ind = self.__path2len__(self.__logsPath__(graceid))
File "/home/deep/github_forked/lvalertTest/lib/ligoTest/gracedb/rest.py", line 194, in __path2len__
return len(self.__extract__(path))
File "/home/deep/github_forked/lvalertTest/lib/ligoTest/gracedb/rest.py", line 213, in __extract__
ans = pickle.load(file_obj)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
EOFError
continue? (yes/no) : no
@reedessick Simulating multiple events using simulate.py (i.e. -N >1) while simultaneously running lvalertTest_listenMP is creating an EOF error with some pkl files : (pickle.load() fails)
Could be due to multiple processes trying to access the same file is causing a conflict.
Example: (simulating 7 gstlal events in 3 s)
deep@debian:~/github_forked/lvalertTest$ simulate.py -N 7 -r 3.0 -g /home/deep/FAKE_DB/ -i "H1,L1" -o /home/deep/OUT_DIR/ -s /home/deep/github_forked/lvalertTest/etc/gstlal.ini -vGives the following error: