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

[foam-extend.org] Paraview compilation error: Openfoam-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2014, 16:43
Default
  #21
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
Hi Bruno,

Thanks a lot, it works!

Quote:
Originally Posted by wyldckat View Post
Greetings Sita,

You can add the following alias command to your personal "~/.bashrc" file:
Code:
alias paraFoam='export LC_ALL=C; paraFoam'
Then start a new terminal and you should now be able to use paraFoam without any problems.

For more details about aliases and the shell: http://openfoamwiki.net/index.php/In...with_the_Shell

For more details about using the built-in ".foam" reader in ParaView: http://openfoamwiki.net/index.php/FA...er_in_ParaView

Best regards,
Bruno
wyldckat likes this.
sita is offline   Reply With Quote

Old   February 24, 2015, 07:51
Default
  #22
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14
Maimouna is on a distinguished road
Dear Bruno,

I got the same problem with paraFoam command that Sita posted @19
Quote:
Dear Bruno,

Sorry, this is probably a very old thread, but I have a similar problem. Upon starting paraFoam, I get the same error message (read float past end of buffer), but then I just get to choose the "OpenFOAM" format from a list of options, and paraview works without further problems.

I'd gladly do the modification you suggest, but the thing is that I'm not allowed to do that myself. So I was wondering: is this a serious error (i.e. can I expect problems in the future if I don't do anything about it), or is it just mildly annoying but innocent?

Thanks in advance for your help,
Best,
Sita
I did the solution that you posted in 20

alias paraFoam='export LC_ALL=C; paraFoam'
but, still not working. I'm working in foam-extend-3.1. What to do?

Maimouna
Maimouna is offline   Reply With Quote

Old   February 27, 2015, 16:26
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Maimouna,

I need more details, in order to reproduce the same error. Namely:
  1. Which Linux Distribution are you using?
  2. What installations instructions did you follow?
  3. What does the following command give you?
    Code:
    which paraview
  4. Which tutorial case can be used for reproducing the same error message?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 16, 2016, 06:09
Default
  #24
Member
 
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12
jiaojiao is on a distinguished road
HI,Bruno! I meet the similar problem when I install OF2.2.2.I install it by installation packages OpenFOAM-2.2.2 and ThirdParty-2.2.2. The packages are gcc-4.6.1,gmp-5.0.4,mpfr-3.1.0,mpc-0.9,boost_1_45_0.,CGAL-4.0.2,cmake-2.8.4 andqt-everywhere-opensource-src-4.7.3.
I am sure the Qt is install correctly,these are the end lines of the output log file.
Quote:
Built: Qt-4.7.3
Create/Edit files to ease later relocation of a QT installation
create:
/home/ec2-user/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/qt-4.7.3/bin/qt.conf
edit pkgconfig:
/home/ec2-user/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/qt-4.7.3/lib/pkgconfig/*.pc
edited 19 files
But when I run the makeParaView , I can't go through it. The first error:
Quote:
Linking CXX executable ../../bin/vtkSMExtractDocumentation
[ 84%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/pq3DWidgetFactory.cxx.o
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRemoveTimeOut'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtVaAppCreateShell'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRealizeWidget'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDestroyWidget'
../../bin/libvtkXdmf.so: undefined reference to `XtAppPending'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtSetKeyboardFocus'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtWindow'
../../bin/libvtkXdmf.so: undefined reference to `XtAppNextEvent'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtToolkitInitialize'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `applicationShellWidgetClass'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtOpenDisplay'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDestroyApplicationContext'
../../bin/libvtkXdmf.so: undefined reference to `XtDispatchEvent'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtCreateApplicationContext'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRemoveEventHandler'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtAddEventHandler'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtAppAddTimeOut'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDisplayInitialize'
collect2: ld returned 1 exit status
make[2]: *** [bin/vtkSMExtractDocumentation] Error 1
make[1]: *** [ParaViewCore/ServerManager/CMakeFiles/vtkSMExtractDocumentation-real.dir/all] Error 2
could you help me to solve this error?I don't know how to fix it.
Best regards,
jiaojiao
jiaojiao is offline   Reply With Quote

Reply


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
OF 1.6 ext on Ubuntu 12.10 (64 bit) compilation errors dreamilam OpenFOAM Installation 7 April 21, 2013 06:43
Solver Compiling error - OF 1.6 ext. raditz OpenFOAM Programming & Development 8 November 4, 2012 10:53
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 10:38
OpenFOAM 1.6 and ThirdParty Software Paraview dunlopjp OpenFOAM Installation 0 February 24, 2010 12:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 09:29.