Search found 55 matches

by blanco-garcia
03 Feb 2023, 13:26
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 26

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: 26

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: 26

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: 3
Views: 61

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: 3
Views: 61

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: 3
Views: 61

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: 10
Views: 347

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...
by blanco-garcia
23 Dec 2022, 09:37
Forum: Installation
Topic: Compilation with epics base 7
Replies: 10
Views: 347

Re: Compilation with epics base 7

Dear Soliday, I included SDDS.h in oag/apps/src/utils/tools/carriageReturn2newline.c to move forward the compilation; #include "mdb.h" #include "scan.h" #include "SDDS.h" //Patch orblancog 2022dec23 #define SET_PIPE 0 #define N_OPTIONS 1 ... And now I get an error in oag/apps/src/utils/monitoring/O....
by blanco-garcia
23 Dec 2022, 04:17
Forum: Installation
Topic: Compilation with epics base 7
Replies: 10
Views: 347

Re: Compilation with epics base 7

Dear Soliday, I managed to compile without errors excluding oag/apps/src/utils, I might need some time to a look around and see that everything needed is available. The size of the epics folder largely increased from 500 MB with epics base R3.16.2 to 2.4 GB with epics base 7.0.7. Please, let me know...
by blanco-garcia
22 Dec 2022, 13:46
Forum: Installation
Topic: Compilation with epics base 7
Replies: 10
Views: 347

Re: Compilation with epics base 7

Dear Soliday, after removing the SDDS lib in /usr/include/extension and reordering the compilation sequence I managed to get elegant and Pelegant working. However, there is still a problem when building oag/apps/src/utils, the error here below appears when I do make. /usr/bin/gcc -D_GNU_SOURCE -D_DE...