CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation OpenFOAM-1.7.x with wmakeScheduler (https://www.cfd-online.com/Forums/openfoam-installation/81344-installation-openfoam-1-7-x-wmakescheduler.html)

Tobi May 16, 2012 02:10

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 (Post 361304)
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. :confused:

- 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


socon009 May 16, 2012 11:22

Hey again,

Thanks for the response, Tobi. :D

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

wyldckat May 16, 2012 16:01

Hi Shaun and Tobi,

@Tobi:
Quote:

Originally Posted by Tobi (Post 361349)
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 :mad: :rolleyes:

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

Chris_DSMC June 18, 2014 07:34

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

wyldckat June 21, 2014 16:07

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 June 24, 2014 05:06

Hi wyldckat,

this perfectly answered my question.

Thank you very much. Nice Forum!

Chris


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