GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

The missing of the demangle.h on non-OpenSUSE has been discussed before (use the search engine to find a solution). As an alternative (a demangle-less error.C) try the one published at http://openfoamwiki.net/index.php/Ho...e_OpenFOAM_Mac (it should work for Linux, too). Maybe I already posted it to the board. Can't remember.

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

While recompiling applications, you also get an error when building PVFoamReader.

Just skip it and manually recompile the remaining directories (preProcessing, surface, thermoPhysical) by entering into them and using wmake all.

Regards,
A.

__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

It is a distribution-specific issue, so it's better to do two packages, I think.

Where can I get the working error.C file for non-SuSE distributions?

Regards,
A.

__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

On the Wiki-page mentioned above. That error.C works with MacOSX and Linux (tested on Redhat)

(But you can always install binutils-debug to make the stock error.C work with your distribution)

Bernhard

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

OK. Considering there's a solution for the specific distribution, I would prefer to leave this out of the patch package.

Moreover I find Novell SLE/openSUSE a lot more user friendly than Red Hat/Fedora, and I think it should be the platform of choice for OpenFOAM users :-)

With kind regards,
Alberto

__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

To test purity of using new error.C (from patch for MAC) file I have tried to recompile all files in /src. Before it, I start script /wmake/wcleanAll from OpenFOAM-1.4 to leave previous compiled obj files & libs. The end of this process is :

Is recompilation completed successfully, or absence of libc_private.h & spinlock.h critically influence to fbsdmalloc operation ? Where should these headers be and what packet they are correspond to ? Need Help !

However, spinlock.h is in /usr/src/linux-2.6.xx/<platform> but also in /usr/include/linux.

I don't have libc_private.h on my openSUSE 10.2 64 bit.

Regards,
A.

__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.OpenQBMM - An open-source implementation of quadrature-based moment methods

The same situation - libc_private.h is absent, spinlock.h in /usr/include/linux, but for why and wheather they need to fbsdmalloc ? Problem with libiberty.a i solved with copy one in OpenFoam-1.4/lib/linuxGcc4DPOpt (minimum action).

@liberty: In my experience that is not needed when using the Mac-error.C (the name Mac is a bit misleading (you can remove it from the wmake/rules): it supports Linux as the "main" architecture). Which is good because for me liberty introduced some nasty glibc-downwards-incompatibilities (but that was a very special problem between my workstation and our cluster: stuff compiled on one of them wouldn't run on the other)

@spinlock.h: I guess that's OK. The only problem seems to be that wmkdep tries to find headers that are never used during compiling because they're guarded by #ifdef

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

What extension should libfbsdmalloc have : (.o) or (.so) ? Now, without spinlock.h & libc_private, it have .o extension. So, if spinlock.h & libc_private.h would be commented with // - libfbsdmalloc will have .so extension ?