#998: The --define option does not work ---------------------+------------------------------------------------------ Reporter: alibeck | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Other | Version: Keywords: | ---------------------+------------------------------------------------------ At a simfactory call it should be possible to define a value of a variable by setting
--define VAR=NEWVALUE
Them the variable @VAR@ in a run- or submitscript should be expanded to NEWVALUE.
Using define a shown above leads to the error:
[snip] sim.py: error: --define option requires 2 arguments [snip]
So I have tried also
--define VAR NEWVALUE
Using this --define in this way, the submission is successful, however @VAR@ is never evaluated by simfactory, so in the submit- and runscript @VAR@ instead of NEWVALUE can still be found.