It compiles well after commenting OBJSIM_BSD=sim/setmode.o and the dependence of OBJSIM on OBJSIM_BSD. But when I tried the following example, it showed some errors which disappeared when using SAD compiled with GNU compilers.
FFS USE=TESTLINE; *** SADScript Initialization: /home/zhe/Applications/SAD/share/Packages/init.n *** tdr: Command not found. *** Runtime Environment: /home/zhe/Applications/SAD/share/Packages/init.lo cal.n *** RFSW RADCOD RAD FLUC INTRA POL COD DAPER EMIOU CMPLO FOURI SMEAR F F F T F F F F F F F T Design orbit length = 42.0000000000000 cell;calc;emit; Matched. ( 0.000 ) DP = 0.01000 DP0 = 0.00000 ExponentOfResidual = 2.0 OffMomentumWeight = 1.000 $$$ f AX ####### # -2.591722 $$$ f BX ####### # 36.312903 $$$ f NX ####### # .567305 $$$ f AY ####### # .241998 $$$ f BY ####### # 4.825893 $$$ f NY ####### # .580200 $$$ f LENG ####### # 42.000000
Closed orbit: x px/p0 y py/p0 z dp/p0 Entrance : .000000 .000000 .000000 .000000 .000000 .000000 Exit : .000000 .000000 .000000 .000000 .000000 .000000
Design momentum P0 = 1.0000000 GeV Revolution freq. f0 = 7137914.7 Hz Energy loss per turn U0 = 1.1266E-4 MV Effective voltage Vc = .0000000 MV Equilibrium position dz = .0000000 mm Momentum compact. alpha = .0133962 Orbit dilation dl = .0000000 mm Effective harmonic # h = .0000000 Bucket height dV/P0 = .0000000
Imag.tune:-0.0000000 -0.0000000 0.0000000 Real tune:-0.4364929 -0.4198003 -0.0684876
Damping per one revolution: X : -5.553540E-08 Y : -5.633123E-08 Z : -1.134583E-07 Damping time (sec): X : 2.52266 Y : 2.48702 Z : 1.23479 Tune shift due to radiation: X : -2.496536E-09 Y : 1.812020E-09 Z : -3.096510E-10 Damping partition number: X : 0.9859 Y : 1.0000 Z : 2.0141
Emittance X = 4.93870E-9 m Emittance Y = 4.9067E-14 m Emittance Z = 1.93472E-8 m Energy spread = 1.22753E-4 Bunch Length = .16240670 mm Beam tilt = 4.32247E-4 rad Beam size xi = .51260026 mm Beam size eta = 5.28520E-4 mm
SetFudge[1.0]; ???General::invset: Invalid set to 0 in (Element$[d$4,"QF"]=(.1549322394 "QF")) ???General::abort: Aborted: SetFudge[1.0] ^ ???General::incomplete: Incomplete expression 0]: ???-FFS-Error-?Undefined command or element: SETFUDGE[1.0] In[4]:=
Could anyone help me to identity what is the cause for this error, is it a bug or I used the wrong sad.conf in compilation? Thanks!
Subject
: Re: A bug with SAD compiled with INTEL compilers???
Article No
: 1134
Date
: 2013/12/05(Thu) 16:30:20
Contributor
: Anonymous
> Could anyone help me to identity what is the cause for this error, is it a bug or I used the wrong sad.conf in compilation? Thanks! > Intel compilter support is not maintained now. Please contribute patches to solve compiler dependent errata.