OF-1.6-ext worked, but paraFoam and paraView BLANK
Dear Foamers,
I am a Beginner in OpenFOAM and need your helps. After two weeks, I had succesfully installed OpenFOAM-1.6-ext on Ubuntu 12.10 64bit. The compilation of the ThirdParty seemed working well, if i saw from the log files. As for the OF-1.6-ext, i saw some warnings, Error 2 and other errors in the log.Allwmake file. /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/postCalc.o -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc47DPOpt/vorticity make[1]: Target `application' not remade because of errors. make: *** [postProcessing] Error 2 g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -IlnInclude -I. -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -fpermissive -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc47DPOpt/subsetMesh.o -L/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt \ -lfiniteVolume -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc47DPOpt/subsetMesh make[2]: Target `application' not remade because of errors. make[1]: *** [manipulation] Error 2 make[1]: Target `application' not remade because of errors. make: *** [mesh] Error 2 g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/decompositionMethods/decompositionMethods/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -IlnInclude -I. -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -fpermissive -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc47DPOpt/redistributeMeshPar.o -L/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt \ -lfiniteVolume -ldecompositionMethods -lmeshTools -ldynamicMesh -ldynamicFvMesh -lOpenFOAM -liberty -ldl -lm -o /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc47DPOpt/redistributeMeshPar /usr/bin/ld: cannot find -ldynamicFvMesh collect2: error: ld returned 1 exit status make[2]: *** [/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc47DPOpt/redistributeMeshPar] Error 1 make[1]: *** [redistributeMeshPar] Error 2 g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/finiteArea/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/lagrangian/basic/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -DFACE_DECOMP -IlnInclude -I. -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -fpermissive -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc47DPOpt/processorMeshesReconstructor.o Make/linux64Gcc47DPOpt/processorMeshesRebuild.o Make/linux64Gcc47DPOpt/processorFaMeshes.o Make/linux64Gcc47DPOpt/fvFieldReconstructor.o Make/linux64Gcc47DPOpt/faFieldReconstructor.o Make/linux64Gcc47DPOpt/pointFieldReconstructor.o Make/linux64Gcc47DPOpt/tetPointFieldReconstructor.o Make/linux64Gcc47DPOpt/reconstructLagrangianPositions.o Make/linux64Gcc47DPOpt/reconstructParMesh.o -L/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt \ -lfiniteVolume -lfiniteArea -llagrangian -lmeshTools -lfaceDecompFiniteElement -lfaceDecompositionMotionSolver -lOpenFOAM -liberty -ldl -lm -o /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc47DPOpt/reconstructParMesh make[1]: Target `application' not remade because of errors. make: *** [parallelProcessing] Error 2 make: Target `application' not remade because of errors. If run the foamInstallationTest, no error detected and i can also run the tutorial e.g.pitzDaily, but paraFoam and paraView didn't work. It came nothing. so i am confused :confused: , whether my installation was really successful. Can somebody help me to solve this problem? Thanks before. |
Greetings donaldinee and welcome to the forum!
There seems to have been several problems during your build. Run Allwmake like this: Code:
./Allwmake > make.log 2>&1 If you are unable to figure it out, search and replace any sensitive data inside that file, then run: Code:
tar -czf make.log.tar.gz make.log Best regards, Bruno |
1 Attachment(s)
Hello Bruno,
firstly thanks for your reply. It brightens up my Day :). so i did what you wrote and found the error in make.log like below: /usr/bin/ld: cannot find -lmesquiteMotionSolver collect2: error: ld returned 1 exit status make: *** [/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/libsolidBodyMotion.so] Error 1 (make.log is attached also) FYI, i am using g++ 4.7.2 gcc 4.7.2 flex 2.5.35 QT 4.7.4 i followed this instruction: http://repo.or.cz/w/OpenFOAM-1.6-ext....04_64-bit.txt and git source from git://repo.or.cz/OpenFOAM-1.6-ext.git Thanks before. cheers, Hanny |
Hi Hanny,
Check if the file "Mesquite_all_headers.hpp" exists, like this: Code:
ls -l /home/hanny/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64Gcc472DPOpt/include/Mesquite_all_headers.hpp Code:
./AllMake > make.log 2>&1 The other possibility is the need for a clean up of the library that gave errors. If I'm not mistaken, run the following commands from the main "OpenFOAM-1.6-ext" folder: Code:
wclean libso src/meshMotion/mesquiteMotionSolver But if it still gives the same error, then perhaps you need to merge with the branch "gcc47", but I'm not certain about this. I have not tested the following commands, so I do not know what will happen, but they should be executed from the "OpenFOAM-1.6-ext" folder: Code:
git merge hotfix/gcc47 Best regards, Bruno |
3 Attachment(s)
Hi Bruno,
i checked like what u said abt Mesquite_all_headers.hpp and the file does exist and not empty, BUT it's not located on linux64Gcc472DPOpt like in error message. The file is located in linux64Gcc47DPOpt (Gcc47 not Gcc472). P { margin-bottom: 0.08in; } '/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/libRBFMotionSolver.so' is up to date. + wmake libso mesquiteMotionSolver make: *** No rule to make target `/home/hanny/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1. 2/platforms/linux64Gcc472DPOpt/include/Mesquite_all_headers.hpp', needed by `mesquiteMotionSolver.dep'. Stop. can u help how to change it? Abt the ThirdParty Compilation, everything went well (see attachment) and if i run wclean libso src/meshMotion/mesquiteMotionSolver wmake libso src/meshMotion/mesquiteMotionSolver the result is wclean error: could not change to directory 'src/meshMotion/mesquiteMotionSolver' (I guess, it is still the failure of wrong folder) and abt git merge hotfix/gcc47the result is hanny@hanny-VirtualBox:~/OpenFOAM/OpenFOAM-1.6-ext$ git merge hotfix/gcc47 Already up-to-date. Yesterday i tried to install paraview again following this instruction http://www.cfd-online.com/Forums/ope...-2-64-bit.html and i changed the paraFoam file with the one in this link below (cause previously my paraFoam looked different, i put also in attachment my old paraFoam) https://github.com/OpenFOAM/OpenFOAM...r/bin/paraFoam and i hacked paraFoam like u said in another forum http://www.cfd-online.com/Forums/ope...tml#post401643 Now, if i type paraFoam, it works well, the paraview launches the window :). IS IT OK to change the paraFoam like i mentioned before???? so my Problem now just with Mesquite library i guess (due to wrong Folder). can u guide me to solve this problem? Thanks before, Bruno! BR Hanny |
Hi Hanny,
Quote:
Code:
echo $MESQUITE_DIR Code:
nano $WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/$WM_OPTIONS/etc/mesquite-2.1.2.sh Code:
# Load mesquite-2.1.2 libraries and binaries if available Code:
cd $WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/ Quote:
Quote:
Code:
wclean libso src/dynamicMesh/meshMotion/mesquiteMotionSolver Quote:
Quote:
Best regards, Bruno |
Hi Bruno,
many thanks for your helps :):):), now it works well. Obrigado. ps: is there any tutorials to show how to insert a new solver to OF? BR, Hanny |
Quote:
|
All times are GMT -4. The time now is 13:15. |