CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

OpenFOAM cluster

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

LinkBack Thread Tools Display Modes
Old   November 15, 2011, 18:53
Default OpenFOAM cluster
Senior Member
Join Date: Sep 2010
Posts: 158
Rep Power: 9
lordvon is on a distinguished road
I am trying to run 1.5-dev ggi in an Ubuntu lan cluster by ethernet switch.
I have been trying to follow these instructions posted on another thread:
1 - In version 1.7.1, put the line . / Opt/openfoam171/etc/bashrc AS FIRST LINE in the files sudo gedit /etc/profile , sudo gedit ~/.Profile and gedit ~/.Bashrc. In all machines in the network you will use.

2- In file machines (which can be created in the tutorial) put the machine name followed by how many processors are used on this machine.


ubuntu2 cpu = 2

3 - Give decomposePar in all machines.

4- Type mpirun --hostfiles machines -np <number of prpcessos> <solver name> - parallel
But I can't get it to work. I replaced the ". /opt/..." with "/usr/lib/OpenFOAM-1.5-dev/etc/bashrc" for 1.5-dev.

The error is:

mpirun was unable to launch the specified application as it could not find an executable:

Executable: --hostfiles
Node: myName-desktop

while attempting to start process rank 0.
Has anybody successfully run openfoam 1.5-dev successfully in a cluster with similar instructions?
lordvon is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Running OpenFoam on a Computer Cluster in the Cloud - Markus Schmidberger OpenFOAM Announcements from Other Sources 0 July 26, 2011 08:18
Parallel cluster solving with OpenFoam? P2P Cluster? hornig OpenFOAM Programming & Development 8 December 5, 2010 17:06
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
How to install the OpenFoam in the cluster. Please help me! flying OpenFOAM Installation 6 November 27, 2009 04:00

All times are GMT -4. The time now is 22:49.