|
[Sponsors] |
May 15, 2017, 08:00 |
How to launch Optimate ?
|
#1 |
New Member
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9 |
Hi!
I am working on optimization problems using the add-on Optimate in Star-CCM+. I want to launch Optimate in batch using a command line (Linux). I have followed the steps from the manual : create environment variables and enter the command "[STAR-CCM+_INSTALL_DIR]/optimate/[VERSION]/LX64/solver/Optimate i=Agent_Group_1.in overwrite skipEvalCheck". I get an error : END of HEEDS RUN Somehow, when I launch Optimate using the interface on Star-CCM+, the calculation is performed. Do you have any idea on how we can launch Optimate without opening the Star-CCM+ interface ? Thank you for your help |
|
May 15, 2017, 18:35 |
|
#2 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
That's not the complete error is it? Please post the rest.
|
|
May 16, 2017, 06:49 |
Error output Optimate
|
#3 |
New Member
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9 |
Thanks for your reply.
After defining the environment variables, I've used the command line in my batch window : [Directory of solver]/Optimate i=Agent_Group_1.in (knowing that this same input file is running when I launch it via the interface on Star-CCM+). I get this error within the file "Agent_Group_1.mes" : Search parameter input file name for this process is: Agent_Group_1.in *ERROR The required environment variable HEEDS_ROOT is not set. Run exiting due to an error *NOTE ************END OF RUN INFORMATION************ Elapsed time: 0 seconds Current time: Tue May 16 11:40:35 2017 *NOTE End of HEEDS run. I've checked, and my environment variables are well defined. Any ideas ? |
|
May 18, 2017, 07:17 |
|
#4 |
New Member
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9 |
Please, anyone who launched Optimate without using the interface Star-CCM+ ?
|
|
May 18, 2017, 11:13 |
|
#5 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
Optimate obviously disagrees that the environment variables are set. I would try launching it from a script and set the variables in that script.
|
|
May 19, 2017, 10:36 |
|
#6 |
New Member
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9 |
I tried to launch Optimate from a script (image attached).
I get the same error : Search parameter input file name for this process is: Agent_Group_1.in *ERROR The required environment variable HEEDS_ROOT is not set. Run exiting due to an error *NOTE End of HEEDS run. Any leads, community ? |
|
May 19, 2017, 11:34 |
|
#7 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
I'm not sure what shell you're using but ensure that's the proper method of setting environment variables. Before you call optimate in your script you should be able to say:
echo $HEEDS_ROOT and get back the path you specified. Normally in bash/csh you will need an export/setenv command to set an environment variable. Also note that an environment variable is not the same as a local variable. Like I said I'm not sure what shell you're using, but to me it looks like you are assigning the latter, not the former. You can test if you set an environment variable by running: env | grep HEEDS_ROOT If this returns nothing then you have not set the variable properly. |
|
Tags |
command line, optimate, star-ccm+ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent does not launch from workbench | NickyNac | FLUENT | 8 | April 13, 2018 10:42 |
Optimate Error | thezack | STAR-CCM+ | 0 | March 6, 2013 22:12 |
[General] Paraview launch & crash problems | dancfd | ParaView | 3 | January 17, 2013 13:04 |
Problem when launch Cfdesign from ProE | Monford | Autodesk Simulation CFD | 2 | September 22, 2008 21:40 |
missile launch simulation | Mark | FLUENT | 1 | July 11, 2007 18:30 |