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

help with command line in parallel simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2010, 10:39
Default help with command line in parallel simulation
  #1
New Member
 
ernesto ravenna
Join Date: Dec 2010
Posts: 2
Rep Power: 0
ernest is on a distinguished road
Hi,
first of all sorry for my English because I'm Italian.
I'm a Mechanical Engineering student and I'm working with ccm+ for my graduation thesis. I have some problems in starting the simulation on a cluster. I started my work with the 5.04.008 version and I had no problems with the command line, in fact the syntax I used was: starccm+ -batch macro_file.java -machinefile hosts.txt -np 4 simulation.sim. Now I'm working with a new version (5.06.007) and I can't launch the simulation on the cluster, in fact using the same command line of the previous version I take an error: File not found simulation.sim (specify -new to create the file). My operating system is Linux.
Can somebody tell me where I mistake???
Thanks
ernest is offline   Reply With Quote

Old   December 9, 2010, 13:26
Default
  #2
New Member
 
Nikhil Shastry Yelleswarapu
Join Date: Jul 2010
Posts: 5
Rep Power: 16
Nikhil Kumar is on a distinguished road
I think If you select the parallel option when you open or start a new simulation and specify the no of processors that you are using. The command line is specified by default. Atleast this happens with me. I am also using red hat linux.
Nikhil Kumar is offline   Reply With Quote

Old   December 10, 2010, 06:05
Default
  #3
New Member
 
ernesto ravenna
Join Date: Dec 2010
Posts: 2
Rep Power: 0
ernest is on a distinguished road
I use a software (modeFrontier) that by means of geometry changes optimizes simulation results, so i have to create a script in modeFrontier to launch ccm+ on the cluster everytime the optimizator completes a geometry change. hence I'm sorry but your solution can't help me to solve my problem.
ernest is offline   Reply With Quote

Old   December 13, 2010, 04:04
Default
  #4
New Member
 
Matthias Fitl
Join Date: Mar 2009
Location: Austria
Posts: 20
Rep Power: 17
MFitl is on a distinguished road
Quote:
Originally Posted by ernest View Post
[...]
in fact the syntax I used was: starccm+ -batch macro_file.java -machinefile hosts.txt -np 4 simulation.sim.
[...]
I take an error: File not found simulation.sim (specify -new to create the file).
[...]
Hi,
all you need is written out by starccm+:

starccm+ does not find the simulation file simulation.sim. Probably it does not exist or starccm+ is started in the wrong directory.
In older Version starccm+ would just start with a simulation named simulationXX.sim where XX is a number. Your script would write out the correct named simualtion during/after the run.
Now either the file need to exist or the -new flag must be added to the command line to force starccm+ to create and start the simulation simulation.sim.

call
starccm+ --help
to see all avaiable flags.

Hope it helps,
Matthias
MFitl is offline   Reply With Quote

Old   December 28, 2010, 17:02
Default Response from STAR tec support
  #5
New Member
 
Michael Lawson
Join Date: Apr 2009
Location: NREL - Boulder, CO
Posts: 11
Rep Power: 17
mlawson is on a distinguished road
Hi,

I was experiencing this same problem and contacted tec support. I was told this issue "is very typical to v5.06. Ask user to shorten his filename and/or directory name without any spaces. That should fix the issue"

Hope this helps,

-Mike
mlawson is offline   Reply With Quote

Old   February 17, 2011, 13:16
Default
  #6
New Member
 
Bipin Patel
Join Date: Feb 2011
Location: Leicester
Posts: 3
Rep Power: 15
Bipin is on a distinguished road
Hi Ernest,
Did you find an answer to your problem? If not, please get in touch - we may be able to help. Which country are you studying in?
regards,
Bipin Patel
Bipin is offline   Reply With Quote

Old   August 15, 2011, 07:52
Default Hi
  #7
New Member
 
Palaniammal.R
Join Date: Aug 2011
Location: Hyderabad, India
Posts: 5
Rep Power: 15
bharatiaero is on a distinguished road
I am using modeFRONTIER for my project and I need help in scripting to interface this software with a C code. Since reading inputs, compiling code and writing outputs are all taken care of my .exe file, how do I interface it? any tip would be of some help.

Thanks and Regards
bharatiaero is offline   Reply With Quote

Old   August 16, 2011, 07:31
Default
  #8
New Member
 
Bipin Patel
Join Date: Feb 2011
Location: Leicester
Posts: 3
Rep Power: 15
Bipin is on a distinguished road
Quote:
Originally Posted by bharatiaero View Post
I am using modeFRONTIER for my project and I need help in scripting to interface this software with a C code. Since reading inputs, compiling code and writing outputs are all taken care of my .exe file, how do I interface it? any tip would be of some help.

Thanks and Regards
Where are you based? We are in the UK and you can email UK@enginsoft.com for support and we can send you examples of how to achieve this.
regards,
Bipin
Bipin is offline   Reply With Quote

Old   August 17, 2011, 06:02
Default
  #9
New Member
 
Palaniammal.R
Join Date: Aug 2011
Location: Hyderabad, India
Posts: 5
Rep Power: 15
bharatiaero is on a distinguished road
I am from India and in need of a few examples to understand how interfacing scripts are written in VB to link modeFRONTIER and my C code.
bharatiaero is offline   Reply With Quote

Reply


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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 07:17
FSI TWO-WAY SIMULATION Smagmon CFX 1 March 6, 2009 14:24
Parallel Deforming Mesh Simulation Tristan CFX 1 January 28, 2009 18:59
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 18:04.