CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   fixedMeanValue BC (http://www.cfd-online.com/Forums/openfoam-programming-development/115821-fixedmeanvalue-bc.html)

Jonathan April 7, 2013 17:22

fixedMeanValue BC
 
hi everyone,

i have been using the following BC

Code:

outlet
{
  type            fixedMeanValue;
  meanValue    0;
  value            0;
}

in simulations on my desktop and it compiled and ran fine.

However, i have just moved the simulations over to a cluster where the BC compiled fine, however i get the following error msg when i run the solver:

Code:

--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1175
    dlopen error : /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /export/home/jbergh/OpenFOAM/jbergh-2.1.1/platforms/linux64GccDPOpt/lib/libfixedMeanValue.so)
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
    could not load "libfixedMeanValue.so"

As i said, i dont get any error msg's when i compile the BC, but only the error when i run it.

I have checked in the /usr/lib64 directory on the cluster and the file exists, but evidently the wrong version of it perhaps? i checked the linux forums and it seems GLIBCXX_3.4.11 is an object in libstdc++.so.6, so i am not entirely sure what the issue is ???

I was wondering whether anyone had any idea of how i could get around this issue or whether there was something i could change in the source code before i compile the BC in order to avoid the issue?

PS I found the src for the code from a post of HRV on the forums, but it was written a little while back i think so may have used old libraries etc?

many thanks and kind regards
jonathan


All times are GMT -4. The time now is 02:40.