Hi there!
I'm having troubles using the #INCLUDE feature in an elegant lattice under Linux. The program seems to always convert the include path to uppercase letters. Since Linux paths are case sensitive, I get a file not found error like this:
Unable to find file /HOME/FSY/DONDREKA/LNX/OPTICS/ELEGANT/SIS100/SUITE/SLOWEXTRACTION/OUTPUT_SLOW/WARM/CLATTICE_SLOW_LINEAR_WARM.LTE
If I put the file into the directory from which I run elegant and convert its name to all uppercase, it works. But of course I would like to avoid this kind of hack.
Regards, David
Problem with #INCLUDE under Linux
Moderators: michael_borland, soliday
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Problem with #INCLUDE under Linux
David,
Just use quotation marks around the filename, e.g.,
--Michael
Just use quotation marks around the filename, e.g.,
Code: Select all
#include: "latticeData.lte"
Re: Problem with #INCLUDE under Linux
Hi Michael,
thanks for the quickly. I should've tried that myself, though.
Regards, David
thanks for the quickly. I should've tried that myself, though.
Regards, David