|
[Sponsors] |
October 26, 2010, 07:49 |
Installing OpenFOAM 1.7.1 on AIX 5.3
|
#1 |
New Member
Join Date: Oct 2010
Posts: 2
Rep Power: 0 |
Hi,
I have for several years been installing OpenFOAM on an IBM P575+ supercomputer with AIX 5.3 and g++ 4.4.3. I have developed a patch for both OpenFOAM-1.7.1 and a patch for Thirdparty-1.7.1, so that OpenFOAM can be used on our supercomputer. However, where the tutorials/interFoam/damBreak example from OpenFOAM 1.5.x from February 24, 2010 works just fine, the tutorials/multiphase/interFoam/ras/damBreak from OpenFOAM 1.7.1 gives me INF as result. See the attached file. As you can see, the change happens quite suddenly for Min(alpha1) that goes from a normal number to -4.07145e+155 in a single time-step Are you interested in my patches? Do you have an idea to what could be the problem? Best regards, Henrik |
|
October 27, 2010, 09:22 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Henrik and welcome to the forum!
My experience in changing OpenFOAM code to make it work in supercomputers is pretty much none, since I don't have access to one But I do have some experience in adapting OpenFOAM code to make it work in Windows and Linux. So, my question is: what are the primary modifications you have done to the code? Were they:
The other possibility is that you're getting a bug in OpenFOAM 1.7.1 that has already been fixed in 1.7.x. So, it would be good if you could test running the same cases you have in a dual or quad core x86(_64) machine to validate if it should work or not... although you might have already done this, but you didn't tell us So, before we get to the patches, if you could provide some more general information about your changes, it would helpful for either me or someone else in the forum community to help you! Best regards, Bruno
__________________
|
|
October 29, 2010, 05:58 |
|
#3 | ||||||||
New Member
Join Date: Oct 2010
Posts: 2
Rep Power: 0 |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
#define transFunc(func) \ inline Scalar func(const Scalar s) \ { \ return ::func##f(s); \ } #define aixTransFunc(func) \ inline Scalar func(const Scalar s) \ { \ return ::func(static_cast<double>(s)); \ } Quote:
Quote:
Best regards, Henrik |
|||||||||
October 30, 2010, 08:33 |
|
#4 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Henrik,
Quote:
Quote:
Quote:
Best regards, Bruno
__________________
|
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6.x - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 68 | April 22, 2013 12:03 |
Re : Problem Installing OpenFOAM on Centos -5.3 | mohanphy | OpenFOAM Installation | 1 | February 7, 2010 20:09 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 13:46 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |