Enrico_LC crash

62 views
Skip to first unread message

mahmoud

unread,
Mar 16, 2015, 8:09:05 AM3/16/15
to gammapy...@googlegroups.com
Hallo

Sorry I hope you can help me. I am using Enrico_lc and it
crashed several times, Please can you help me with this error, if you
faced something like that before.

I am running Enrico_lc with 330 time bin LC, after making 10 bins the
script crash and show this below

OSError: [Errno 12] Cannot allocate memory

I dont know if the error comes from Enrico, or from the server I am using
LSW Server with around 40 GB of RAM


please see the error log down
======================================================
 [34m# ***   1   gtselect --- Select data from library
 [34m# ************************************************************ [0m
time -p
/usr/local/fermi/ScienceTools-v9r33p0-fssc-20140520-x86_64-unknown-linux-gnu-libc2.12/x86_64-unknown-linux-gnu-libc2.12/bin/gtselect
infile=/data/fermi/allsky/allsky_30MeV_500GeV_diffuse_filtered_gti.fits
outfile=/home/mmohamed/fermi_enrico/output_data/brightest_1FHL/1FHLJ1653.9+3945_2FGLJ1653.9+3945_MKN501/LightCurve_330bins//1FHLJ1653.9+3945_LAT_Analysis_LC_11_Evt.fits
ra=253.4887 dec=39.7544 rad=15.0 tmin=246218857.0 tmax=246824442.455
emin=100.0 emax=500000.0 zmax=100.0 evclsmin=2 evclsmax=4 evclass=2
convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2
clobber=no debug=no gui=no mode="ql"
Traceback (most recent call last):
  File "/home/mmohamed/enrico_15Jan2015/enrico//bin/enrico_lc", line 29,
in <module>
    lc.MakeLC()
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/lightcurve.py", line
174, in MakeLC
    self._MakeLC()
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/lightcurve.py", line
134, in _MakeLC
    run(self.configfile[i])#run in command line
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/RunGTlike.py", line
55, in run
    FitRunner,Fit = GenAnalysisObjects(config)
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/RunGTlike.py", line
43, in GenAnalysisObjects
    FitRunner = Analysis(folder, config, tag="", convtyp=convtype, verbose
= verbose)
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/RunGTlike.py", line
18, in Analysis
    FitRunner.GenerateFits() #Generates fits files
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/fitmaker.py", line
48, in GenerateFits
    self.obs.FirstCut()
  File "/home/mmohamed/enrico_15Jan2015/enrico/enrico/gtfunction.py", line
189, in FirstCut
    filter.run()
  File "/home/mmohamed/anaconda/lib/python2.7/site-packages/GtApp.py",
line 65, in run
    input, output = self.runWithOutput(print_command)
  File "/home/mmohamed/anaconda/lib/python2.7/site-packages/GtApp.py",
line 90, in runWithOutput
    close_fds=True)
  File "/home/mmohamed/anaconda/lib/python2.7/subprocess.py", line 710, in
__init__
    errread, errwrite)
  File "/home/mmohamed/anaconda/lib/python2.7/subprocess.py", line 1223,
in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

David Sanchez

unread,
Mar 16, 2015, 8:18:46 AM3/16/15
to gammapy...@googlegroups.com
Hi,

This is a problem with the ST not enrico. The ST eat to much memory and do not free it. You can use enrico_lc on a batch farm with 1 point per job. Or divide the LC into several part

cheers
david
Reply all
Reply to author
Forward
0 new messages