CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OF-1.6-ext worked, but paraFoam and paraView BLANK

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2013, 04:46
Default OF-1.6-ext worked, but paraFoam and paraView BLANK
  #1
New Member
 
H.Albi
Join Date: Feb 2013
Posts: 4
Rep Power: 13
donaldinee is on a distinguished road
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 , whether my installation was really successful.
Can somebody help me to solve this problem?



Thanks before.
donaldinee is offline   Reply With Quote

Old   April 14, 2013, 08:58
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
When it's over, find the first error logged inside the file "make.log". That should indicate what went wrong in the first place.

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
And attach "make.log.tar.gz" in your next post.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 15, 2013, 03:21
Default
  #3
New Member
 
H.Albi
Join Date: Feb 2013
Posts: 4
Rep Power: 13
donaldinee is on a distinguished road
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
Attached Files
File Type: gz make.log.tar.gz (6.4 KB, 2 views)
donaldinee is offline   Reply With Quote

Old   April 15, 2013, 08:10
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
If it does not exists or if the file is empty, go into the ThirdParty folder and run:
Code:
./AllMake > make.log 2>&1
Check if everything went well or not.

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
wmake libso src/meshMotion/mesquiteMotionSolver
If all goes well, run Allwmake once again.

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
Then run Allwmake once again.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 17, 2013, 04:05
Default
  #5
New Member
 
H.Albi
Join Date: Feb 2013
Posts: 4
Rep Power: 13
donaldinee is on a distinguished road
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
Attached Files
File Type: gz make.log.3rdParty.tar.gz (884 Bytes, 1 views)
File Type: gz make.log.tar.gz (6.6 KB, 2 views)
File Type: pdf paraFoam (copy).pdf (33.1 KB, 1 views)
donaldinee is offline   Reply With Quote

Old   April 17, 2013, 16:55
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Hanny,

Quote:
Originally Posted by donaldinee View Post
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?
OK, first run the following commands:
Code:
echo $MESQUITE_DIR
echo $WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/$WM_OPTIONS
It should show you two lines of text and they should be identical. If not, edit the file where this should be defined:
Code:
nano $WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/$WM_OPTIONS/etc/mesquite-2.1.2.sh
The contents of the file should be this:
Code:
# Load mesquite-2.1.2 libraries and binaries if available
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

export MESQUITE_DIR=$WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/$WM_OPTIONS
export MESQUITE_BIN_DIR=$MESQUITE_DIR/bin
export MESQUITE_LIB_DIR=$MESQUITE_DIR/lib
export MESQUITE_INCLUDE_DIR=$MESQUITE_DIR/include

# Enable access to the package runtime applications and libraries
[ -d $MESQUITE_BIN_DIR ] && _foamAddPath $MESQUITE_BIN_DIR
[ -d $MESQUITE_LIB_DIR ] && _foamAddLib  $MESQUITE_LIB_DIR
Another solution is to create a symbolic link to the folder you mentioned... perhaps it's the quickest solution:
Code:
cd $WM_THIRD_PARTY_DIR/packages/mesquite-2.1.2/platforms/
ln -s linux64Gcc472DPOpt linux64Gcc47DPOpt
This way you will have the symbolic path "linux64Gcc47DPOpt" pointing to "linux64Gcc472DPOpt".



Quote:
Originally Posted by donaldinee View Post
Abt the ThirdParty Compilation, everything went well (see attachment)
Well, if it says it's all OK, then it should be all OK...



Quote:
Originally Posted by donaldinee View Post
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)
I didn't have 1.6-ext handy, so I couldn't test it myself. The correct command was:
Code:
wclean libso src/dynamicMesh/meshMotion/mesquiteMotionSolver
wmake libso src/dynamicMesh/meshMotion/mesquiteMotionSolver
Quote:
Originally Posted by donaldinee View Post
and abt
git merge hotfix/gcc47the result is
hanny@hanny-VirtualBox:~/OpenFOAM/OpenFOAM-1.6-ext$ git merge hotfix/gcc47
Already up-to-date.
I didn't know about this... I guess it was already merged, which makes sense.


Quote:
Originally Posted by donaldinee View Post
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????
Yes, it's OK. And what matters is that it works!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 18, 2013, 04:03
Default
  #7
New Member
 
H.Albi
Join Date: Feb 2013
Posts: 4
Rep Power: 13
donaldinee is on a distinguished road
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
donaldinee is offline   Reply With Quote

Old   April 18, 2013, 16:58
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by donaldinee View Post
ps: is there any tutorials to show how to insert a new solver to OF?
Quick answer: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
[OpenFOAM] parafoam - paraview help function felik9 ParaView 5 June 3, 2010 15:03
Can't run paraFoam with OpenFOAM 1.6 Fed11 OpenFOAM Installation 1 October 30, 2009 19:54
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 09:12
[OpenFOAM] Both paraview and paraFoam crash on Redhat Linux WS v4 64bit sek ParaView 4 August 17, 2006 16:26


All times are GMT -4. The time now is 18:20.