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

[OpenFOAM.org] OpenFOAM Installation on Centos 6.4

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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 http://www.cfd-online.com/Forums/ope...tml#post361663.

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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
[OpenFOAM.org] OpenFOAM 2.3.0 Installation Problem on CentOS 6.6 shenzhou1987 OpenFOAM Installation 1 December 14, 2014 14:34
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 12:03
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 14:55.