CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

How to launch Optimate ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2017, 08:00
Question How to launch Optimate ?
  #1
New Member
 
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9
HBGL is on a distinguished road
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
HBGL is offline   Reply With Quote

Old   May 15, 2017, 18:35
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
That's not the complete error is it? Please post the rest.
me3840 is offline   Reply With Quote

Old   May 16, 2017, 06:49
Question Error output Optimate
  #3
New Member
 
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9
HBGL is on a distinguished road
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 ?
HBGL is offline   Reply With Quote

Old   May 18, 2017, 07:17
Default
  #4
New Member
 
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9
HBGL is on a distinguished road
Please, anyone who launched Optimate without using the interface Star-CCM+ ?
HBGL is offline   Reply With Quote

Old   May 18, 2017, 11:13
Default
  #5
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Optimate obviously disagrees that the environment variables are set. I would try launching it from a script and set the variables in that script.
me3840 is offline   Reply With Quote

Old   May 19, 2017, 10:36
Default
  #6
New Member
 
Hatim
Join Date: Feb 2017
Location: France
Posts: 5
Rep Power: 9
HBGL is on a distinguished road
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 ?
Attached Images
File Type: png script.png (13.3 KB, 12 views)
HBGL is offline   Reply With Quote

Old   May 19, 2017, 11:34
Default
  #7
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
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.
me3840 is offline   Reply With Quote

Reply

Tags
command line, optimate, star-ccm+

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 11:52.