CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Error when runing blockMesh (https://www.cfd-online.com/Forums/openfoam-programming-development/165279-error-when-runing-blockmesh.html)

makayasa January 13, 2016 05:46

Error when runing blockMesh
 
Hi All,
after type blockMesh in the terminal to get a message like this

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : blockMesh
Date : Jan 13 2016
Time : 17:29:38
Host : "yasa-X455LD"
PID : 4656
Case : /home/yasa/OpenFOAM/yasa-2.3.0/run/newairFoil
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : /home/yasa/OpenFOAM/yasa-2.3.0/platforms/linuxGccDPOpt/lib/libmyIncompressibleRASModels.so: undefined symbol: _ZTIN4Foam14incompressible8RASModelE
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libmyIncompressibleRASModels.so"
fileName::stripInvalid() called for invalid fileName logerror~
For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)

How to fix it? Please help, this is my final assignment.
Thanks

makayasa January 13, 2016 06:45

this is

Make/files

mySpalartAllmaras.C

LIB = $(FOAM_USER_LIBBIN)/libmyIncompressibleRASModels

Make/options
EXE_INC = \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/lnInclude
LIB_LIBS =

When iam compile using wmake libso is allright. But when i run blockMesh i get ERROR message like on the top


All times are GMT -4. The time now is 09:57.