Search found 391 matches

by soliday
26 Jan 2023, 10:16
Forum: Installation
Topic: tcl.h in Ubuntu 2022
Replies: 9
Views: 3906

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
by soliday
07 Dec 2022, 10:33
Forum: General
Topic: Occasional errors while simulating ion-effects
Replies: 2
Views: 2583

Re: Occasional errors while simulating ion-effects

Can you run Pelegant with no options to get it to print out the usage message that contains the MPI version information and send that to me at soliday@anl.gov

Thanks,
--Bob Soliday
by soliday
02 Dec 2022, 15:16
Forum: Installation
Topic: Compilation with epics base 7
Replies: 11
Views: 4312

Re: Compilation with epics base 7

I am compiling with epics 7.0.7. The error you are seeing in oagca is related to a epics function that was updated to accept 5 arguments. It was updated in March 2021 but I am not sure which epics release included the updated code. I still don't know what is going on with carriageReturn2newline.c. I...
by soliday
21 Nov 2022, 11:17
Forum: Installation
Topic: Compilation with epics base 7
Replies: 11
Views: 4312

Re: Compilation with epics base 7

What is -I/---/elegant.2022.2.0/elegant_compilation/epics/extensions/include
When I build I see -I../../../../../../epics/extensions/include

Look at your oag/apps/configure/CONFIG file and make sure the EPICS_BASE and EPICS_EXTENSIONS are set properly
by soliday
18 Nov 2022, 11:12
Forum: Installation
Topic: Compilation with epics base 7
Replies: 11
Views: 4312

Re: Compilation with epics base 7

Try editing epics/base/configure/CONFIG and add the following:
OPT_CXXFLAGS_YES += -std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=0

We have a mixed RHEL7 + RHEL8 environment here. To get it to work on both systems, I have to compile on RHEL7 with this option set.
by soliday
03 Jun 2022, 09:50
Forum: General
Topic: makeWigglerFromBends script on Windows
Replies: 2
Views: 4136

Re: makeWigglerFromBends script on Windows

Look in the same directory elegant.exe is in. The default path would be:
C:\Program Files\APS\Elegant x64\makeWigglerFromBends

This script will require ActiveTcl, OAG Tcl/TK and Cygwin also be installed. Then run from inside of a Cygwin command-line terminal.
by soliday
03 Jun 2022, 09:31
Forum: Installation
Topic: sddsplot issue in macOS 10.14
Replies: 8
Views: 17893

Re: sddsplot issue in macOS 10.14

Well my first suggestion would be to try to download and run the pre-compiled MacOS binaries for SDDS. I have taken care of ensuring to link to as many static libraries as possible to avoid the issues similar to what you are seeing. As for Print.h, I have a copy that I think was installed with openm...
by soliday
01 Jun 2022, 18:17
Forum: Installation
Topic: sddsplot issue in macOS 10.14
Replies: 8
Views: 17893

Re: sddsplot issue in macOS 10.14

System: MacOS Mojave 10.14.6 Intel CPU XQuartz 2.8.1 MacPorts 2.7.2 openmotif 2.3.8 Results from "otool -L mpl_motif" verify it is using the X11 libraries from /opt/X11/lib which is where XQuartz puts them and not /opt/local/lib which is where MacPorts has it's own versions. Previously it required D...
by soliday
01 Jun 2022, 14:26
Forum: General
Topic: Highlighting mode for emacs and vim
Replies: 10
Views: 7991

Re: Highlighting mode for emacs and vim

I have a script that searches the code for the highlightable elements and commands and updates the configuration files you made. The resulting files will be in the elegant/editors/ directory with the next release with instructions on how to install them for emacs and vim.
by soliday
10 May 2022, 09:03
Forum: Installation
Topic: sddsplot issue in macOS 10.14
Replies: 8
Views: 17893

Re: sddsplot issue in macOS 10.14

I believe this workaround is no longer required. However I don't have access to my MacOS laptop till next Monday so I can't confirm this. I'll make a note to check when I get back.