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

Installation OpenFOAM-1.7.x with wmakeScheduler

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2012, 02:10
Default
  #21
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Shaun,

well you can use the following command:
Code:
./Allwmake 1> make.log 2> error.log
Its the same like befor but the stderr (2) is send to the error.log file. After the compiling you should get just the errors in the error.log.

Upload it and we can help you

Tobi

You installed the necessary packages ?
Are you compiling 1.7.x?

Quote:
Originally Posted by socon009 View Post
Ok thanks! Great explanation.

Unfortunately, the log file created indicates that the installation process flopped.

I would like to figure out what is going on, but I am not sure how I should go about seeking help.

- Should I start another thread so as not to hi-jack this one?
- How can I use this log file to figure out what went wrong?

(All I can tell right now is that there are a heck of a lot of "undefined references" and nearly every one has something to do with one of a myriad of libraries.)

Thanks for any thoughts and suggestions ,
Shaun
Tobi is offline   Reply With Quote

Old   May 16, 2012, 11:22
Default
  #22
New Member
 
Shaun
Join Date: May 2012
Posts: 14
Rep Power: 13
socon009 is on a distinguished road
Hey again,

Thanks for the response, Tobi.

I am installing OpenFOAM-2.1.x (Repository Release)

Currently, it is OpenFOAM-2.1.0

Seeing as it's not 1.7.0, I created a new thread to post to.

In reference to installing the necessary packages:

I have installed all of the packages that were brought to my attention. However, there may be some that were not mentioned since the closest Linux distro to RHEL 6.2 on the OpenFOAM installation tutorial is Fedora 15/16.

(I mention these in more detail in the new thread.)

Therefore, I simply installed as if my distro was Fedora 15 or 16 and downloaded the packages described as necessary for installation on these distros.

Finally I uploaded a portion of the error log in the new thread. Check it out if you'd like. Feel free to let me know any ways I can clean it up to make it easier to read/debug.

Thanks again,
Shaun

Last edited by socon009; May 16, 2012 at 11:30. Reason: Forgot to mention...
socon009 is offline   Reply With Quote

Old   May 16, 2012, 16:01
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Hi Shaun and Tobi,

@Tobi:
Quote:
Originally Posted by Tobi View Post
well you can use the following command:
Code:
./Allwmake 1> make.log 2> error.log
Its the same like befor but the stderr (2) is send to the error.log file. After the compiling you should get just the errors in the error.log.
I always state the usage of "2>&1" for a very simple reason: I don't like having to guess when and where the error occurs

And it's really simple when we have a single log file: search for the first or second occurrence of "Error " and voilą, reason for the problem found.

@Shaun: I'm heading now to the other thread: http://www.cfd-online.com/Forums/ope...hel-6-2-a.html

Best regards,
Bruno
Tobi likes this.
__________________
wyldckat is offline   Reply With Quote

Old   June 18, 2014, 07:34
Default
  #24
New Member
 
Join Date: Jun 2014
Posts: 9
Rep Power: 11
Chris_DSMC is on a distinguished road
Hello there,

first of all my name is Christopher and I stumbled across this thread while searching for an answer for the parallel compilation of OpenFoam.

I am using OpenFoam 2.3.0 on Ubuntu 14.04. I followed the description of the official support of using the wmakeScheduler but compilation only works on one processor.

Also the hints in this thread of setting up the hostname does not fix the problem.

Do you have any up-to-date hint for me? Is there any known bug?

Best Regards
Chris
Chris_DSMC is offline   Reply With Quote

Old   June 21, 2014, 16:07
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Chris and welcome to the forum!

Using wmakeScheduler is only useful when using more than one machine in parallel.
Clearer instructions for installing OpenFOAM 2.3.0 on Ubuntu 14.04 are given here: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 - there you've find how to build with multiple cores with a single machine.

Best regards,
Bruno
Chris_DSMC likes this.
__________________
wyldckat is offline   Reply With Quote

Old   June 24, 2014, 05:06
Default
  #26
New Member
 
Join Date: Jun 2014
Posts: 9
Rep Power: 11
Chris_DSMC is on a distinguished road
Hi wyldckat,

this perfectly answered my question.

Thank you very much. Nice Forum!

Chris
Chris_DSMC is offline   Reply With Quote

Reply

Tags
wmakescheduler


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 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
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 12:55.