View Issue Details

IDProjectCategoryView StatusLast Update
0001933OpenFOAM[All Projects] Bugpublic2015-12-01 16:10
ReporteremacchiAssigned Tohenry 
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version14.04
Product Versiondev 
Fixed in Version 
Summary0001933: compilation error after commit 0517efd7dbcba8d2f168a0d81ec93691a59dd243
DescriptionAfter updating the code with a git pull I cannot compile it anymore.

It seems this is caused by a recent commit ( 0517efd7dbcba8d2f168a0d81ec93691a59dd243) that added fvOptions support to KEpsilon.

During compilation of the turbulence model library the lib fvOptions cannot be found since it is compiled in a later stage.

I tried changing the Allwmake to compile fvOptions before but it doesn't work since fvOptions requires the turbulence models libs.

Best regards,

Steps To ReproduceUpdate OpenFOAM-dev using git pull and recompile it from scratch.
TagsNo tags attached.

Activities

henry

2015-12-01 13:02

manager   ~0005701

For the moment just run Allwmake twice, the first time round will create the lnInclude directory for fvOptions and the second time the turbulence models library will build.

This will be sorted out cleanly after completion of fvOptions in turbulence models.

emacchi

2015-12-01 13:12

reporter   ~0005702

Ok, thank you!

henry

2015-12-01 13:13

manager   ~0005703

I have applied a temporary fix: commit fe9c908b0c5dcc55aff7319a566dadfb16cdf420

Let me know if this resolves the build problem for you.

emacchi

2015-12-01 13:40

reporter   ~0005704

I tried to compile but I get several identical errors when compiling solvers and utilities. For example:

             -lm -o /work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/bin/compressibleInterFoam

/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: référence indéfinie vers « Foam::fv::optionList::checkApplied() const »

/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: référence indéfinie vers « typeinfo for Foam::fv::option »

/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: référence indéfinie vers « typeinfo for Foam::fv::optionList »

/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: référence indéfinie vers « Foam::fv::optionList::debug »

/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: référence indéfinie vers « Foam::fv::optionList::typeName »

collect2: error: ld returned 1 exit status
make[2]: *** [/work/emacchi/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/bin/compressibleInterFoam] Erreur 1

henry

2015-12-01 16:10

manager   ~0005707

Resolved by commit 3fd7bd70189e4349ce68915dc46cc954df60d504

Issue History

Date Modified Username Field Change
2015-12-01 12:45 emacchi New Issue
2015-12-01 13:02 henry Note Added: 0005701
2015-12-01 13:12 emacchi Note Added: 0005702
2015-12-01 13:13 henry Note Added: 0005703
2015-12-01 13:40 emacchi Note Added: 0005704
2015-12-01 16:10 henry Note Added: 0005707
2015-12-01 16:10 henry Status new => resolved
2015-12-01 16:10 henry Resolution open => fixed
2015-12-01 16:10 henry Assigned To => henry