View Issue Details

IDProjectCategoryView StatusLast Update
0002071OpenFOAMBugpublic2016-04-28 18:57
Reportervkrastev Assigned Tohenry  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntu/CentOSOS Version14.04/7.2
Product Versiondev 
Fixed in Versiondev 
Summary0002071: Compilation breaks very quickly after the last pull
DescriptionAfter today's pull, OpenFOAM-dev does not compile anymore on any of my machines (tried both on Ubuntu 14.04 and CentOS 7.2). Compilation breaks soon after it is started, complaining about a missing UOPwrite.C.dep (see attached log file)
Steps To ReproduceRun ./Allwmake after last pull
TagsNo tags attached.

Activities

vkrastev

2016-04-28 18:22

reporter  

make.log (4,996 bytes)   
make: Nothing to be done for `all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

    have OPENMPI shared library (openmpi-1.10.2)

========================================
Build Scotch decomposition library scotch_6.0.3
    /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48Int32/scotch_6.0.3
    scotch header in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48Int32/scotch_6.0.3/include
    scotch libs   in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48DPInt32Opt/lib

========================================
Build PTScotch decomposition library scotch_6.0.3 (uses MPI)
    /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48Int32/scotch_6.0.3

    ptscotch header in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48Int32/scotch_6.0.3/include/openmpi-1.10.2
    ptscotch libs   in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48DPInt32Opt/lib/openmpi-1.10.2

========================================
Build Metis decomposition
    optional component Metis was not found
========================================
Build CGAL
    CGAL headers in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48/CGAL-4.7/include
    CGAL libs    in /home/vesselin/OpenFOAM/ThirdParty-dev/platforms/linux64Gcc48/CGAL-4.7/lib

========================================
Done ThirdParty Allwmake
========================================

+ wmakePrintBuild -check
version changed from previous build
+ /bin/rm -f OpenFOAM/Make/*/global.?
+ wmakeLnInclude OpenFOAM
wmakeLnInclude: linking include files to OpenFOAM/lnInclude
+ wmakeLnInclude OSspecific/POSIX
wmakeLnInclude: linking include files to OSspecific/POSIX/lnInclude
+ Pstream/Allwmake libso
+ wmake libso dummy
/home/vesselin/OpenFOAM/OpenFOAM-dev/src/Pstream/dummy
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UOPwrite.C
Making dependency list for source file UIPread.C
Making dependency list for source file UPstream.C
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100  -IlnInclude -I. -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UPstream.C -o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UPstream.o
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100  -IlnInclude -I. -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UIPread.C -o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UIPread.o
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100  -IlnInclude -I. -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -c UOPwrite.C -o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UOPwrite.o
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100  -IlnInclude -I. -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/vesselin/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude   -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UPstream.o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UIPread.o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/src/Pstream/dummy/UOPwrite.o -L/home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/lib \
	      -o /home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/lib/dummy/libPstream.so
'/home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32Opt/lib/dummy/libPstream.so' is up to date.
+ set +x
wmake libso mpi
/home/vesselin/OpenFOAM/OpenFOAM-dev/src/Pstream/mpi
wmakeLnInclude: linking include files to ./lnInclude
make: *** No rule to make target `/home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32OptOPENMPI/src/Pstream/mpi/UOPwrite.C.dep', needed by `/home/vesselin/OpenFOAM/OpenFOAM-dev/platforms/linux64Gcc48DPInt32OptOPENMPI/src/Pstream/mpi/UOPwrite.o'.  Stop.
make.log (4,996 bytes)   

henry

2016-04-28 18:33

manager   ~0006180

Have you tried cleaning out the dep-files before compiling?

wrmdep -a

vkrastev

2016-04-28 18:52

reporter   ~0006181

Seems to solve the issue (I didn't know there was such a command for cleaning deps). Thanks.

Issue History

Date Modified Username Field Change
2016-04-28 18:22 vkrastev New Issue
2016-04-28 18:22 vkrastev File Added: make.log
2016-04-28 18:33 henry Note Added: 0006180
2016-04-28 18:52 vkrastev Note Added: 0006181
2016-04-28 18:57 henry Status new => closed
2016-04-28 18:57 henry Assigned To => henry
2016-04-28 18:57 henry Resolution open => no change required
2016-04-28 18:57 henry Fixed in Version => dev