View Issue Details

IDProjectCategoryView StatusLast Update
0002653OpenFOAMBugpublic2017-08-06 08:55
Reporterklausb Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSUbuntuOS Version16.04
Summary0002653: Cannot compile linear solver like custom PCG
DescriptionI am not able to compile a linear solver like a custom version of PCG. There's no problem compiling custom turbulence models. The problem seems to be related to linking/dependencies - "a missing rule". I tried it with custom solvers and a renamed "myPCG" version of PCG, renaming the current PCG.C and PCG.H files and the PCG references in these files.

The error message is:

wmake libso .
wmakeLnInclude: linking include files to ./lnInclude
make: *** Keine Regel vorhanden, um das Ziel „Make/linux64GccDPInt32Opt/myPCG/myPCG.C.dep“,
  benötigt von „Make/linux64GccDPInt32Opt/myPCG/myPCG.o“, zu erstellen. Schluss.

Basically it says... there is no rule to create... myPCG.C.dep required by myPCG.o ... Stop
Steps To Reproducestep 1: create the Make/files and Make/options files

Make/files contains:

myPCG/myPCG.C

LIB = $(FOAM_USER_LIBBIN)/libmyPCG


Make/options contains:

EXE_INC = \
    -I$(LIB_SRC)/OpenFOAM/lnInclude

LIB_LIBS = \
    -lOpenFOAM

step 2: wmake libso
Tagswmake

Activities

klausb

2017-08-06 01:17

reporter  

myPCG.tar.gz (2,537 bytes)

henry

2017-08-06 08:55

manager   ~0008523

User support request

Issue History

Date Modified Username Field Change
2017-08-06 01:17 klausb New Issue
2017-08-06 01:17 klausb File Added: myPCG.tar.gz
2017-08-06 01:17 klausb Tag Attached: wmake
2017-08-06 08:55 henry Assigned To => henry
2017-08-06 08:55 henry Status new => closed
2017-08-06 08:55 henry Resolution open => no change required
2017-08-06 08:55 henry Note Added: 0008523