CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Cluster test with openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2006, 09:35
Default Hi everybody, I set up a clust
  #1
clo
Member
 
clo
Join Date: Mar 2009
Posts: 36
Rep Power: 17
clo is on a distinguished road
Hi everybody, I set up a cluster (only a server and 1 node) and I wanted to see if it works correctly, so I try to run an openfoam case. I took the OpenFoam users guide (1.3 version )and I found an example using LAM/MPI. (page U-83).
I launch LAM and all was OK:

n-1<12588> ssi:boot:base:linear: booting n0 (clo)
n-1<12588> ssi:boot:base:linear: booting n1 (oscarnode1)
n-1<12588> ssi:boot:base:linear: finished

Then I tried to generate the mesh in the slave node (n1 in my case)

mpirun n1 -np 1 blockMesh $FOAM_RUN/tutorials/interFoam damBreak -parallel </dev/null>& log &

The Output was:
[1] 16717
and nothing more...

OpenFOAM is working fine because I tried on the server and the calculations have no problem

It seems like the slave node isn't working at all...what is the [1] 16717 number?
Has anyone already experienced these kind of jobs?
Thanx ciao
clo is offline   Reply With Quote

Old   April 11, 2006, 09:42
Default The " 16717" number is : first
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
The "[1] 16717" number is [1]: first process in background; 16717: PID (Process id) of the process.

It's normal, and it is a consequence of the ambersand at the end of the command line.
If you want to see what really happens, try to run mpirun without redirecting output and without sending it in the background, ie:
mpirun n1 -np 1 blockMesh $FOAM_RUN/tutorials/interFoam damBreak -parallel </dev/null

I usually run openfoam in parellel on a cluster, and it works quite well.
Francesco
fra76 is offline   Reply With Quote

Old   April 11, 2006, 09:51
Default Thanx for your help! I try it
  #3
clo
Member
 
clo
Join Date: Mar 2009
Posts: 36
Rep Power: 17
clo is on a distinguished road
Thanx for your help! I try it but it semms like nothing happen; the output:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : blockMesh /home/ufftecn1/OpenFOAM/ufftecn1-1.3/run/tutorials/interFoam damBreak -parallel

Probably is something in my cluster...maybe it's a silly question but can you give me a hint to be shure that something is going on?
clo is offline   Reply With Quote

Old   April 11, 2006, 10:06
Default I really don't know if you can
  #4
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
I really don't know if you can run "blockMesh" in parallel...
If you look at the manual, you can find the standard procedure to run a parallel case.
First, you have to run decomposePar, in order to decompose the computing mesh. Then you can run the solver on the decomposed case, on the same number of processes.
So, you can try to run a tutorial in parallel (i.e, the damBreak with interFoam), using more than one process.
I hope this can help you.
Francesco
fra76 is offline   Reply With Quote

Old   April 11, 2006, 10:11
Default I will try to do as you said..
  #5
clo
Member
 
clo
Join Date: Mar 2009
Posts: 36
Rep Power: 17
clo is on a distinguished road
I will try to do as you said...Grazie ciao
clo is offline   Reply With Quote

Old   April 12, 2006, 01:28
Default i have a problem with decompos
  #6
New Member
 
auvi
Join Date: Mar 2009
Posts: 5
Rep Power: 17
parallelauvi is on a distinguished road
i have a problem with decomposePar for the damBreakFine tutorial case.
when i run decomposePar on the damBreakFine case it exits with a fatal error like this:

--> FOAM FATAL I/O ERROR
Cannot find 'value' entry wgich is required to set the values of the default patch field.
Please add the 'value' entry to the write function of the user defined boundary condition.

....
a file name is mentioned here in the Error:
damBreakFine/0/pd::atmosphere line 51 to 52

in the "pd" file surroundng the lins 51 to 52 is here:

atmosphere
{
type totalPressure;
p0 uniform;
}

=============================================
before running decomposePar i have edited the
decomposeParDict file according to the tutorial and ran these:
1) blockMesh on damBreakFine
2) setFields on damBreakFine

dear clo and Francesco Del Citto or anyone : please help

Auvi
parallelauvi is offline   Reply With Quote

Old   April 12, 2006, 02:40
Default Hi auvi, for the moment I run
  #7
clo
Member
 
clo
Join Date: Mar 2009
Posts: 36
Rep Power: 17
clo is on a distinguished road
Hi auvi, for the moment I run the damBreak case (not Fine) but view that the boundary conditions are the same, in my 0/p file, line 50-> I read:

atmosphere
{
type totalPressure;
p0 uniform 0;
value uniform 0;
}


maybe it cans help you...
clo is offline   Reply With Quote

Old   February 22, 2009, 23:44
Default I have a problem running OF in
  #8
New Member
 
vijayakrishnan
Join Date: Mar 2009
Posts: 5
Rep Power: 17
vkrishna is on a distinguished road
I have a problem running OF in paralled over two linux machines. The solver is sonicTurbFoam.
I am attaching the log for reference:

Exec : sonicTurbFoam -parallel
Date : Feb 19 2009
Time : 12:31:39
Host : soorya
PID : 5104
Case : /home/openfoam15/OpenFOAM/vijay-1.5/run/vayumach2clus
nProcs : 4
Slaves :
3
(
soorya.5105
kidambiHP219.4565
kidambiHP219.4566
)

Pstream initialized with:
floatTransfer : 1
nProcsSimpleSum : 0
commsType : nonBlocking

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package hThermo<puremixture<consttransport<speciethermo<hc onstthermo<perfectgas>>>>>
1 additional process aborted (not shown)




Also this is the error messages I get:
Thu Feb 19 12:31:36 IST 2009
nohup: appending output to `nohup.out'
[soorya:05105] *** An error occurred in MPI_Waitall
[soorya:05105] *** on communicator MPI_COMM_WORLD
[soorya:05105] *** MPI_ERR_TRUNCATE: message truncated
[soorya:05105] *** MPI_ERRORS_ARE_FATAL (goodbye)
[soorya:05104] *** An error occurred in MPI_Waitall
[soorya:05104] *** on communicator MPI_COMM_WORLD
[soorya:05104] *** MPI_ERR_TRUNCATE: message truncated
[soorya:05104] *** MPI_ERRORS_ARE_FATAL (goodbye)
mpirun noticed that job rank 2 with PID 4565 on node kidambiHP219 exited on signal 15 (Terminated).
Command exited with non-zero status 1
0.02user 0.01system 0:06.14elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
4752inputs+16outputs (27major+2408minor)pagefaults 0swaps
vkrishna 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
Large test case for running OpenFoam in parallel fhy OpenFOAM Running, Solving & CFD 23 April 6, 2019 09:55
OpenFOAM on cluster markh83 OpenFOAM Installation 1 October 17, 2008 19:09
How to run Openfoam in a cluster after I install it xiuying OpenFOAM Installation 5 May 5, 2008 12:54
OpenFOAM in a Linux Cluster gedanken OpenFOAM Installation 1 August 25, 2005 13:32
A conference in air load /flight simulation/flight test/wind tunnel test/aero modeling for high AOA cimsi Main CFD Forum 0 September 17, 1998 06:26


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