CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] compiling swak4foam on an IBM Dataplex running 64-bit RedHat 6.3 (https://www.cfd-online.com/Forums/openfoam-community-contributions/127732-compiling-swak4foam-ibm-dataplex-running-64-bit-redhat-6-3-a.html)

wyldckat December 31, 2013 14:46

Quote:

Originally Posted by jianni (Post 468234)
I dont see the binary funkySetFields. Is that supposed to be a stand alone executable or something to be linked with?

You don't see it? Where exactly? What does this command give you:
Code:

which funkySetFields
And if you run Allwmake once again, it should give you a summary of the things that are already built and where they are placed.

jianni December 31, 2013 14:52

That executable wasn't installed in the standard /Openfoam/ path but in my $HOME directory. What a strange, little Allwmake. I would figure it would be somewhere in the /swak/ or /Openfoam/ path, but nope. Well, lets see if this executable works!
Thanks again Bruno!

gschaider January 5, 2014 16:49

Quote:

Originally Posted by jianni (Post 467857)
Bruno,

I noticed that SWAK placed the shared libraries in my home directory. Can I simply copy these to a common area for anyone to link to? I'm assuming there are no hard coded paths inside these shared libraries?
-James

swak puts the binaries in $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN but for the compiling user it shouldn't matter as these are in his path.

Stuff that doesn't come with the OF-distro should (in my opinion) NEVER go into FOAM_APPBIN and FOAM_LIBBIN. If you really want to make the stuff available to others copy it to FOAM_SITE_LIBBIN and FOAM_SITE_APPBIN. Actually there comes a script with swak that does that. But be warned: users that compile their own swak-version might experience problems due to a mixing of libraries. That's why I usually don't recommend it (the problems are rare but hard to diagnose)


All times are GMT -4. The time now is 20:52.