Xiao,
what is your data archive format and path ? (the configuration bits)
Thomas
Le 23/10/2013 11:23, Wang, Xiao a écrit :
Hi Thomas,
I try script python s01scan_archive.py init 4, but I still get same exception. I check
database and tables of jobs, filters and data_availability are empty.
Regards,
Xiao
Screenshot:
msnoise@seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s01scan_archive.py init 4
2013-10-23 10:21:32,796 [INFO] *** Starting: Scan Archive ***
mtime: -1
init man!
will work on 4 threads
2013-10-23 10:21:33,090 [DEBUG] 3A.L002..HHE.D.2010.089: Before Start-Date! (0.25)
Traceback (most recent call last):
File "s01scan_archive.py", line 203, in <module>
t.start()
File "/home/msnoise/anaconda/lib/python2.7/threading.py", line 743, in
start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
2013-10-23 10:21:33,173 [DEBUG] 3A.L002..HHE.D.2010.090: Before Start-Date! (0.33)
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 314, in 'calling callback
function'
File
"/home/msnoise/anaconda/lib/python2.7/site-packages/obspy-0.8.4-py2.7-linux-i686.egg/obspy/mseed/core.py",
line 261, in allocate_data
data = np.empty(samplecount, dtype=DATATYPES[sampletype])
MemoryError
Segmentation fault
________________________________________
From: msnoise-bounces(a)mailman-as.oma.be [msnoise-bounces(a)mailman-as.oma.be] on behalf of
Thomas Lecocq [thomas.lecocq(a)oma.be]
Sent: 23 October 2013 08:59
To: msnoise(a)mailman-as.oma.be
Subject: Re: [MSNoise] failed to run 01.scan_archive_threaded.py
Hello Xiao,
That is weird, could you test using more than 1 thread:
python s01scan_archive.py init 4
where 4 means 4 threads
Thomas
Le 22/10/2013 16:20, Wang, Xiao a écrit :
Hi Thomas,
I downloaded MSNoise 1.2 and passed s001configurator.py and
s002populate_station_table.py. But I encountered error when I call script python
s01scan_archive.py init.
Any idea?
Xiao
The following is the screenshot:
msnoise@seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s001configurator.py
Updating Config Table
Updating Station Table
Updating Filter Table
Done !
msnoise@seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s002populate_station_table.py
> Populating the Station table
Adding:
3A L002
Adding: 3A L003
Adding: 3A L004
Adding: 3A L005
Adding: 3A L006
Adding: 3A L007
Adding: 3A L008
Adding: 3A L009
Adding: 3A L101
Adding: 3A L102
Adding: 3A L103
Adding: 3A L104
Adding: 3A L105
Adding: 3A L106
Adding: 3A L107
Adding: 3A L201
Adding: 3A QC08
Adding: 3A QC11
Adding: 3A U16B
Adding: 3A U40B
Adding: 3A U69B
Adding: 3A UO2B
msnoise@seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s01scan_archive.py init
2013-10-22 15:14:14,516 [INFO] *** Starting: Scan Archive ***
mtime: -1
init man!
will work on 1 threads
Traceback (most recent call last):
File "s01scan_archive.py", line 203, in <module>
t.start()
File "/home/msnoise/anaconda/lib/python2.7/threading.py", line 743, in
start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 314, in 'calling callback
function'
File
"/home/msnoise/anaconda/lib/python2.7/site-packages/obspy-0.8.4-py2.7-linux-i686.egg/obspy/mseed/core.py",
line 261, in allocate_data
data = np.empty(samplecount, dtype=DATATYPES[sampletype])
MemoryError
Segmentation fault
Hi,
Please donwload the latest MSNoise release, there are quite a number of
bugfix and improvements on the way memory and threads are handled !
Let me know how it goes !
Thomas
ps : please subscribe to the list in order to have your messages
delivered automatically (this one went to "moderation")
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise --
Dr. Thomas Lecocq
Geologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------
http://www.seismology.be
http://twitter.com/#!/Seismologie_be
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
--
Dr. Thomas Lecocq
Geologist
Seismology - Gravimetry
Royal Observatory of Belgium
*
* * * * *
* * * *
---------