Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running GenOpt in Linux Server

Hi Again, I would like to run GenOpt in our server. The simulator is Matlab. I can run it without any problem in PC with the command line in the configuration file like below: Command = "cmd /c \"\"C:\Program Files\MATLAB\R2012a\bin\\"matlab -wait -nodisplay -nosplash -nodesktop -r \"addpath('C:\Users\jesmanim\Documents\genopt\example\quad\5_spot_1producer');decoder_5spot %Simulation.Files.Log.Path1%;exit\"\"";

However, when I run it in the server with the command line:

Command ="matlab -nodisplay -nosplash -nodesktop -r \"addpath('/home/jesmanim/ code/genopt/example/quad/5_spot');decoder_5spot(%Simulation.Files.Log.Path1);exi t;\"";

It seems GenOpt is waiting for Matlab and nothing works there. Is there any idea?

Running GenOpt in Linux Server

Hi Again, Again,

I would like to run GenOpt in our server. The simulator is Matlab. I can run it without any problem in PC with the command line in the configuration file like below: below:

Command = "cmd /c \"\"C:\Program Files\MATLAB\R2012a\bin\\"matlab \"\"C:\\Program Files\\MATLAB\\R2012a\\bin\\\"matlab -wait -nodisplay -nosplash -nodesktop  -r \"addpath('C:\Users\jesmanim\Documents\genopt\example\quad\5_spot_1producer');decoder_5spot %Simulation.Files.Log.Path1%;exit\"\""; 

\"addpath('C:\\Users\\jesmanim\\Documents\\genopt\\example\\quad\\5_spot_1producer');decoder_5spot %Simulation.Files.Log.Path1%;exit\"\"";

However, when I run it in the server with the command line:

Command ="matlab -nodisplay -nosplash -nodesktop -r \"addpath('/home/jesmanim/ code/genopt/example/quad/5_spot');decoder_5spot(%Simulation.Files.Log.Path1);exi t;\"";

It seems GenOpt is waiting for Matlab and nothing works there. Is there any idea?

Running GenOpt in Linux Server

Hi Again,

I would like to run GenOpt in our server. The simulator is Matlab. I can run it without any problem in PC with the command line in the configuration file like below:

Command = "cmd /c \"\"C:\\Program Files\\MATLAB\\R2012a\\bin\\\"matlab -wait -nodisplay -nosplash -nodesktop  -r \"addpath('C:\\Users\\jesmanim\\Documents\\genopt\\example\\quad\\5_spot_1producer');decoder_5spot %Simulation.Files.Log.Path1%;exit\"\"";

However, when I run it in the server with the command line:

Command ="matlab -nodisplay -nosplash -nodesktop -r \"addpath('/home/jesmanim/ code/genopt/example/quad/5_spot');decoder_5spot(%Simulation.Files.Log.Path1);exi t;\"";

It seems GenOpt is waiting for Matlab and nothing works there. Is there any idea?