Conference Room SAD
[thread display] [new arrival display] [word search] [past log] [管理用]

Subject SAD program memory allocation error
Date: 2014/01/11(Sat) 11:32:52
ContributorDavid Sagan < >

Hello:

Demin Zhou suggested I post to this list my problem. I am running SAD on a 64 bit Linux machine using gcc 4.6. I am not using X11, Tcl/Tk nor EPICS. No matter what input file I use, SAD bombs at the USE statement with a memory allocation error. An example run is listed below. Anyone have any ideas as to what to do?

-- Much Thanks, David



erpsim1:~/dcs16/sad/oldsad> ./bin/gs script/design_example.sad
*** Welcome to SAD Ver.1.0.10.5.5a43 built at 2014-01-10 21:11:57 -0500 ***
*** Today: 21:12:25 Friday 01/10/2014 ***
cpu time= 5.9980E-03(sec) dt= 5.998(msec) free area:: 1794
OFF LOG ECHO;READ 77 ; 23
cpu time= 6.9980E-03(sec) dt= 6.998(msec) free area:: 1794
cpu time= 6.9980E-03(sec) dt= 6.998(msec) free area:: 1793
cpu time= 6.9980E-03(sec) dt= 6.998(msec) free area:: 1793
cpu time= 6.9980E-03(sec) dt= 6.998(msec) free area:: 1793
!
! ***** DEFINITION OF ELEMENTS IN MAIN LEVEL *****
!
;
DRIFT L1 = (L = 1)
;
BEND B = (L = 2)
;
QUAD QF = (L = 1 K1 = 0.1 )
QD = (L = 1 K1 = -0.1 )
QSF = (L = 1 K1 = 0.1 )
QSD = (L = 1 K1 = -0.1 )
QRF = (L = 1 K1 = 0.1 )
QRD = (L = 1 K1 = -0.1 )
;
SEXT SF =(L = 1 K2 = 0.1)
SD =(L = 1 K2 = -0.1)
;
MARK IP1 =(BETAX = 10 BETAY =10 EMIX = 4.0E-7
EMIY = 4.0E-7 DP = 0.01 )
;
CAVI CA1 = (L = 1 VOLT=1 MV HARM=100)
;
!
! ***** DEFINITION OF UNIT CELL IN MAIN LEVEL *****
!
! You need at least one LINE to start FFS, but
! other lines can be created in FFS.
!
;
LINE CELL = (IP1 QF L1 SF L1 B 3*L1 QD L1 SD L1 B 3*L1)
;
FFS USE=CELL;
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbba95cd010 offset=0xff7752b3c10
lmalloc4: allocated chunk offset is out of range
base=0x2ef90 heap=0x7fbbab3cd010 offset=0xff775673c10
Memory Full, request: 4000001 1 2057144
STOP talocp@italoc.f


- 関連一覧ツリー (Click ▼ to display all articles in a thread.)