CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

OpenFOAM Installation on Centos 6.4

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 3, 2014, 02:45
Default OpenFOAM Installation on Centos 6.4
  #1
New Member
 
Colin
Join Date: Dec 2014
Posts: 2
Rep Power: 0
unobtruse is on a distinguished road
Hi There

I'm trying to install OpenFOAM 2.3 on a 5 node cluster running Centos 6.4. I've followed the guide at https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL based on Centos 6.5, but I've adjusted my $HOME to point to /opt. The reason for doing this is that the /opt directory is a network shared directory --- the plan is to install OpenFOAM once on a single node and then to simply run it from the others. I have however run into errors that I can not resolve. See attached make.log file.

Any help would be appreciated.
Attached Files
File Type: zip make.log.zip (36.2 KB, 6 views)
unobtruse is offline   Reply With Quote

Old   December 3, 2014, 09:22
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 579
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

I did just have a short look but
MPI seems to be your problem,

does other software with MPI work properly
elvis is offline   Reply With Quote

Old   December 5, 2014, 09:06
Default Fixed
  #3
New Member
 
Colin
Join Date: Dec 2014
Posts: 2
Rep Power: 0
unobtruse is on a distinguished road
Hi Elvis

I managed to get OpenFOAM running properly in the NFS folder by first installing it in my home directory and then moving the OpenFOAM folder to the desired place. I followed wyldckat's instructions from #5 found here Installing 2.1.x (Repository Release) on RHEL 6.2.

On an unrelated note: when I ran my simulation I kept running into this error:
Code:
Setting up information for layer truncation ...
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
new cannot satisfy memory request.
.
I think this may have been caused by the NFS folder only being on a 50GB partition... :P Unfortunately I can't run my simulation again. See log file for details.

bmw_snappy.log.tar.gz
unobtruse is offline   Reply With Quote

Old   December 14, 2014, 09:44
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Colin: I'm sorry to say that the error message was due to a rookie mistake:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.0-f5222ca19ce6
Exec   : snappyHexMesh -overwrite
You forgot to add the "-parallel" option when calling snappyHexMesh along with mpirun.

The result was that you had X processes, all trying to create the same mesh, requiring X*N memory in total, instead of just N for the whole parallel mesh generation.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
centos 6.4, cluster computing, network file system, openfoam 2.3.0, parallel computation

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
OpenFOAM 2.3.0 Installation Problem on CentOS 6.6 shenzhou1987 OpenFOAM Installation 1 December 14, 2014 14:34
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
OpenFoam 2.0.1 installation shailesh.nitk OpenFOAM Installation 4 October 4, 2011 08:50
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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