[MSNoise] failed to run 01.scan_archive_threaded.py

Thomas Lecocq thomas.lecocq at oma.be
Wed Oct 23 07:59:37 UTC 2013


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 at seisapp:~/MSNoise-Temp/MSNoise-1.2$ python s001configurator.py
> Updating Config Table
> Updating Station Table
> Updating Filter Table
> Done !
>
> msnoise at 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 at 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 at 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



More information about the MSNoise mailing list