%s in <filename>=<x>+<y> not working

Moderators: michael_borland, soliday

Post Reply
felix_armborst
Posts: 10
Joined: 23 Aug 2017, 09:06

%s in <filename>=<x>+<y> not working

Post by felix_armborst » 19 Apr 2018, 06:29

Hi,

I like to call elegant from scripts and store alle input- and output files of a simulation in one path passed to elegant via the rootname macro. This feature seems to break for the BUMPER element waveform input file.

Best,
Felix

michael_borland
Posts: 1959
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: %s in <filename>=<x>+<y> not working

Post by michael_borland » 19 Apr 2018, 08:44

Felix,

That's intentional: only output files use the %s substitution feature. The reason is that we may have multiple runs (different rootnames for output files) for the same input files (fixed names). elegant does support a search-path feature for input files, using the search_path parameter of &run_setup.

--Michael

felix_armborst
Posts: 10
Joined: 23 Aug 2017, 09:06

Re: %s in <filename>=<x>+<y> not working

Post by felix_armborst » 19 Apr 2018, 09:25

Ah thank you, that makes sense. Didn't notice the search_path parameter yet. Woud be nice though to point this out explicitly in the manual under "7.2
General Command Syntax" and maybe also include it in the <filename>=<x>+<y> info.

michael_borland
Posts: 1959
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: %s in <filename>=<x>+<y> not working

Post by michael_borland » 19 Apr 2018, 09:41

Felix,

Ok, we'll try to clarify the manual with respect to these issues.

--Michael

Post Reply