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

Installation OpenFOAM-1.7.x with wmakeScheduler

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

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   May 16, 2012, 02:10
Default
  #21
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,452
Blog Entries: 5
Rep Power: 25
Tobi will become famous soon enoughTobi will become famous soon enough
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: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: Installing 2.1.x (Repository Release) on RHEL 6.2

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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 4
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

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 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 06:13.