Search found 68 matches

by blanco-garcia
23 Feb 2023, 13:10
Forum: General
Topic: emittance, coupling and radiation integrals with UKICKMAP element
Replies: 1
Views: 1089

emittance, coupling and radiation integrals with UKICKMAP element

Dear all,
is there a way to extract the equilibrium emittance, coupling and radiation integrals of a lattice with an UKICKMAP element ?

Best regards,
o
by blanco-garcia
09 Feb 2023, 11:09
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3602

Re: tcl.h in Ubuntu 2022

Dear Soliday,

I have found the error message implemented in epics/extensions/src/SDDS/SDDSlib/SDDS_utils.c :

Code: Select all

epics/extensions/src/SDDS/SDDSlib/SDDS_utils.c:3135:    SDDS_SetError("passed size is not equal to expected size for SDDS_DATASET structure");
by blanco-garcia
09 Feb 2023, 11:00
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3602

Re: tcl.h in Ubuntu 2022

Dear Soliday, I changed the TCL_INC to /usr/include/tcl as you said and compilation finished w/o errors. However, Pelegant and sddsedit do not work. I get the following error when launching Pelegant : $ Pelegant Error: passed size is not equal to expected size for SDDS_DATASET structure Passed size ...
by blanco-garcia
03 Feb 2023, 13:26
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 2354

Re: SDDS5 and SDDSjava from sources

soliday wrote:
03 Feb 2023, 10:53
I posted the updated SDDSjava source code.

https://ops.aps.anl.gov/downloads/SDDSjava.tar.gz

Dear Soliday, it works, thank you very much !
o
by blanco-garcia
03 Feb 2023, 09:19
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 2354

Re: SDDS5 and SDDSjava from sources

it seems that there was a change in the touschek_scatter function since elegant version 2022: https://ops.aps.anl.gov/manuals/elegant_latest/elegantsu241.html#x255-26200013.1.2 this might explain why the output file format is SDDS5, while, in elegant 2021 it returns an SDDS1 file. On top of that, th...
by blanco-garcia
03 Feb 2023, 08:21
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 2354

SDDS5 and SDDSjava from sources

Dear all, I have an SDDS5 .los file with particle losses from the function touschek_scatter. When reading the file in matlab with EPICS base 7.0.7 and SDDSjava compiled from sources, and the flag USR_JAVACFLAGS=" -source 1.8 -target 1.8 " I get the following error in matlab: >> sddsload('touschekSca...
by blanco-garcia
26 Jan 2023, 10:18
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3602

Re: tcl.h in Ubuntu 2022

Dear Soliday, great ! Thank you.
by blanco-garcia
26 Jan 2023, 05:02
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3602

Re: tcl.h in Ubuntu 2022

I found out a solution,

might be not the best one but I'll share it in case it is of any use

Add to epics/base/configure/CONFIG, the following lines:

Code: Select all

OPT_CFLAGS_YES += -I/usr/include/tcl
OPT_CXXFLAGS_YES += -I/usr/include/tcl
This topic could be closed. Best regards,

o
by blanco-garcia
25 Jan 2023, 16:01
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3602

tcl.h in Ubuntu 2022

Dear all, I am compiling elegant in Ubuntu 2022, and there is an error due to tcl.h /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -Werror-implicit-function-declaration -DUSE_TCL_STUBS -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../../incl...
by blanco-garcia
23 Dec 2022, 10:51
Forum: Installation
Topic: Compilation with epics base 7
Replies: 11
Views: 3879

Re: Compilation with epics base 7

Dear Soliday, Doing make in tcltkinterp/extensions , tcltkapp/oagapp and tcltklib , in oag/apps/src/ , before utils allows to finish the compilation without errors. However, I still need to insert the line #include "SDDS.h" into oag/apps/src/utils/tools/carriageReturn2newline.c as I mentioned before...