Search found 390 matches
- 09 Mar 2023, 17:51
- Forum: Installation
- Topic: sddspseudoinverse path to lapack and blas libs
- Replies: 5
- Views: 989
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...
- 09 Mar 2023, 10:23
- Forum: Installation
- Topic: sddspseudoinverse path to lapack and blas libs
- Replies: 5
- Views: 989
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
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
- 08 Mar 2023, 11:34
- Forum: Installation
- Topic: static compilation
- Replies: 4
- Views: 1291
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 -...
- 08 Mar 2023, 09:47
- Forum: Installation
- Topic: static compilation
- Replies: 4
- Views: 1291
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.
- 08 Mar 2023, 09:45
- Forum: Installation
- Topic: sddspseudoinverse path to lapack and blas libs
- Replies: 5
- Views: 989
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 -...
- 02 Mar 2023, 13:28
- Forum: Installation
- Topic: tcl.h in Ubuntu 2022
- Replies: 9
- Views: 3600
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...
- 09 Feb 2023, 11:38
- Forum: Installation
- Topic: tcl.h in Ubuntu 2022
- Replies: 9
- Views: 3600
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.
- 03 Feb 2023, 10:53
- Forum: Installation
- Topic: SDDS5 and SDDSjava from sources
- Replies: 6
- Views: 2350
- 03 Feb 2023, 10:30
- Forum: Installation
- Topic: SDDS5 and SDDSjava from sources
- Replies: 6
- Views: 2350
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.
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.
- 26 Jan 2023, 10:16
- Forum: Installation
- Topic: tcl.h in Ubuntu 2022
- Replies: 9
- Views: 3600
Re: tcl.h in Ubuntu 2022
The file oag/apps/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 has a field that you can edit for this.
The default is:
TK_TCL = /usr/lib64
TK_LIB = /usr/lib64
TK_INC = /usr/include
TCL_LIB = /usr/lib64
TCL_INC = /usr/include
You could change TCL_INC to /usr/include/tcl
The default is:
TK_TCL = /usr/lib64
TK_LIB = /usr/lib64
TK_INC = /usr/include
TCL_LIB = /usr/lib64
TCL_INC = /usr/include
You could change TCL_INC to /usr/include/tcl