Personal tools
You are here: Home Forum Use Command line options

Command line options

Up to Use

Command line options

Posted by Arkajyoti Misra at August 14. 2012

I run Salome from the terminal like this:

~/salome/appli_V6_4_0/runAppli -t -u main.py

The input parameters for the geometry is read from an input file. The name of the input file is hard coded in main.py which creates a problem for batch jobs. Is there a way to pass on the input file name on the command line?

 

Arko

Re: Command line options

Posted by Saint Michael at August 15. 2012

Hi Arko

It's impossible to pass script arguments via runAppli args. As a workaround you can pass your file name via an environment variable.

St.Michael

Re: Command line options

Posted by Arkajyoti Misra at August 20. 2012

Thanks, St.Michael.

Powered by Ploneboard
Document Actions