Search found 391 matches

by soliday
17 Mar 2023, 11:44
Forum: Bugs
Topic: coupled_twiss_output broken?
Replies: 4
Views: 1475

Re: coupled_twiss_output broken?

Thanks for pointing this problem out. I have identified the location of the problem. I will let you know when I have a fix for this. Hopefully later today.
by soliday
09 Mar 2023, 17:51
Forum: Installation
Topic: sddspseudoinverse path to lapack and blas libs
Replies: 5
Views: 1186

Re: sddspseudoinverse path to lapack and blas libs

I went though the process of building a custom version of lapack and getting it to work with the code in epics/extensions/src/SDDS/SDDSaps/pseudoInverse Download the updated code at https://ops.aps.anl.gov/downloads/pseudoInverse.tar Then run "tar -xvf pseudoInverse.tar" to extract the updated Makef...
by soliday
09 Mar 2023, 10:23
Forum: Installation
Topic: sddspseudoinverse path to lapack and blas libs
Replies: 5
Views: 1186

Re: sddspseudoinverse path to lapack and blas libs

Try adding:

lapack_DIR=/ccc/products/lapack-3.9.1/gcc--11.1.0/default/lib
blas_DIR=/ccc/products/lapack-3.9.1/gcc--11.1.0/default/lib
by soliday
08 Mar 2023, 11:34
Forum: Installation
Topic: static compilation
Replies: 4
Views: 1688

Re: static compilation

Okay, the only issue is the lapack libraries being in a unique location. This can probably be solved with modifying the oag/apps/src/elegant/Makefile.OAG with: LAPACK_LIBDIR=/ccc/products/lapack-3.9.1/gcc--11.1.0/default/lib elegant_LDFLAGS += -L$(LAPACK_LIBDIR) -Wl,-rpath,$(LAPACK_LIBDIR) -lapack -...
by soliday
08 Mar 2023, 09:47
Forum: Installation
Topic: static compilation
Replies: 4
Views: 1688

Re: static compilation

Can you run "ldd Pelegant" and check which shared libraries are missing? This list that you sent was all the packages required to build elegant, not to run it.
by soliday
08 Mar 2023, 09:45
Forum: Installation
Topic: sddspseudoinverse path to lapack and blas libs
Replies: 5
Views: 1186

Re: sddspseudoinverse path to lapack and blas libs

You will have to edit the epics/extensions/src/SDDS/SDDSaps/pseudoInverse/Makefile Change: ifneq ($(LAPACK), 0) USR_LDFLAGS_Linux += -fopenmp USR_CFLAGS_Linux += -fopenmp sddspseudoinverse_CFLAGS += -DLAPACK -I/usr/include/lapacke sddspseudoinverse_SYS_LIBS += lapack blas matrix_CFLAGS += -DLAPACK -...
by soliday
02 Mar 2023, 13:28
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3879

Re: tcl.h in Ubuntu 2022

I believe the proper values on Ubuntu 22.04 are: TCL_INC=/usr/include/tcl TCL_LIB=/usr/lib/x86_64-linux-gnu MOTIF_LIB=/usr/lib/x86_64-linux-gnu X11_LIB=/usr/lib/x86_64-linux-gnu Make sure you have tcl-dev installed Here is the logic the build script uses to set these values: set tclInc "TCL_INC=/usr...
by soliday
09 Feb 2023, 11:38
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3879

Re: tcl.h in Ubuntu 2022

It sounds like your SDDS libraries and Pelegant were built with different versions of SDDS.h. Try rebuilding everything.
by soliday
03 Feb 2023, 10:53
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 2572

Re: SDDS5 and SDDSjava from sources

I posted the updated SDDSjava source code.

https://ops.aps.anl.gov/downloads/SDDSjava.tar.gz
by soliday
03 Feb 2023, 10:30
Forum: Installation
Topic: SDDS5 and SDDSjava from sources
Replies: 6
Views: 2572

Re: SDDS5 and SDDSjava from sources

I have a newer version of the SDDSjava that I will try to post to the website today.
A workaround till then would be to run sddscast to recast any long64 or longdouble columns and parameters in the SDDS file to long and double. This will reset the version level to 3 or lower.