Page 1 of 1

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

Posted: 19 Apr 2018, 06:29
by felix_armborst
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

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

Posted: 19 Apr 2018, 08:44
by michael_borland
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

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

Posted: 19 Apr 2018, 09:25
by felix_armborst
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.

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

Posted: 19 Apr 2018, 09:41
by michael_borland
Felix,

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

--Michael