CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Linux Batch - Star-CCM+ .. running Sims in batchmode (http://www.cfd-online.com/Forums/star-ccm/91582-linux-batch-star-ccm-running-sims-batchmode.html)

eRzBeNgEl August 16, 2011 04:20

Linux Batch - Star-CCM+ .. running Sims in batchmode
 
Hi guys

I know how to run Star-CCM+ in batchmode in Windows with following code:

"C:\Program Files\CD-adapco\STAR-CCM+5.06.007\starccmw.exe" -batch -np 4 -report G1_32.sim

I know how to set up a batch file in Linux and make it executeable. Does ist work the same way like in Windows?

Add Info:

it should work that way:
start Simulation G1 -> run until Iteration Step 1000 -> Save the File under G1.sim

start Simulation G2 -> run until Iteration Step 1000 -> Save the File under G2.sim

and so on.....

eRzBeNgEl August 18, 2011 05:00

Hi guys,

ok, no i have my skript and i can start the simulations in a folder. But there is another problem right now. While loading the Simulations in Bashmode it stops always at the same line and do not start running the simulation. Where is the problem?

Here is the log File:

Quote:


Starting STAR-CCM+ parallel server
HP-MPI licensed for CD-adapco.
Host 0 -- ip 192.168.208.1 -- ranks 0
Host 1 -- ip 192.168.208.1 -- ranks 1 - 2
Host 2 -- ip 192.168.208.2 -- ranks 3 - 6
Host 3 -- ip 192.168.208.3 -- ranks 7 - 10
Host 4 -- ip 192.168.208.4 -- ranks 11 - 14
host | 0 1 2 3 4
======|==========================
0 : SHM SHM TCP TCP TCP
1 : SHM SHM TCP TCP TCP
2 : TCP TCP SHM TCP TCP
3 : TCP TCP TCP SHM TCP
4 : TCP TCP TCP TCP SHM
Prot - All Intra-node communication is: SHM
Prot - All Inter-node communication is: TCP
MPI Distribution : HP MPI-2.03.01.00
Process rank 0 clst516-1 2681
Process rank 1 clst516-1 2683
Process rank 2 clst516-1 2682
Process rank 3 clst516-2 2563
Process rank 4 clst516-2 2592
Process rank 5 clst516-2 2596
Process rank 6 clst516-2 2591
Process rank 7 clst516-3 2708
Process rank 8 clst516-3 2700
Process rank 9 clst516-3 2690
Process rank 10 clst516-3 2687
Process rank 11 clst516-4 27115
Process rank 12 clst516-4 27110
Process rank 13 clst516-4 27090
Process rank 14 clst516-4 27114
STAR-CCM+ Version 5.06.007 (linux-x86_64-2.3.4/gnu4.4)
License version: 23 Oct 2009
Required feature version set to 2010.10 or later
Checking license file: 1999@192.168.208.20
Checking license file: 7241
Unable to list features for license file 7241.
Checking license file: clst516-1
Unable to list features for license file clst516-1.
Checking license file: 1999@516_fez
Unable to list features for license file 1999@516_fez.
1 copies of ccmpsuite checked out from 1999@192.168.208.20
Feature ccmpsuite expires in 13 days
Loading file: /home/fem/daten2/test/test1.sim
Loading simulation database: /home/fem/daten2/test/test1.sim
Loading module: StarMeshing
Loading module: MeshingSurfaceRepair
Loading module: MeshingPipeline
Loading module: StarResurfacer
Loading module: StarDualMesher
Loading module: MetricsModel
Loading module: MotionModel
Loading module: MaterialModel
Loading module: SegregatedFlowModel
Loading module: KeTurbModel
Loading module: StarDelaunayMesher
Database saved by:
STAR-CCM+ Version 5.06.007 (linux-x86_64-2.3.4/gnu4.4) Np=15
Tag date = 2010-09-30 19:49:14 GMT
Loading into:
STAR-CCM+ Version 5.06.007 (linux-x86_64-2.3.4/gnu4.4) Np=15
Tag date = 2010-09-30 19:49:14 GMT
Simulation database load completed.
Finished loading file
Server::start -host clst516-1:47827
!!!!!!!AND HERE IT STOPS::::::WHY?????!!!!!!


abdul099 August 27, 2011 05:05

Can you post the command you've used to start the simulation? (Complete line please)

eRzBeNgEl August 29, 2011 04:43

Hi,

problem is already solved. U have to run the bash script without "$load" in the ccm+ command line....


All times are GMT -4. The time now is 10:32.