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

OF 15 Misleading information in README about Qt 43x in openSUSE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2008, 11:08
Default Jose Luis Santos I am follo
  #21
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17
tkoz is on a distinguished road
Jose Luis Santos

I am following the method you posted regarding use of qt 4.4 (as in SUSE 11) for recompilation of paraView.

You have a step in your procedure listed as:

"Installed libqt4-devel package"

Would you please indicate where to get that package and and how and where to install it.

Thanks,
tkoz is offline   Reply With Quote

Old   July 24, 2008, 11:30
Default Hi Thomas, the package you'
  #22
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi Thomas,

the package you're looking for is in the OSS repository of openSUSE, that can be added using YaST -> Software -> Installation sources (maybe the names are slightly different, I'm translating what I read in the Italian version).

The OSS repository is added by default during the installation, and you should already see it in the list.

To install the package, use the installer or simply type (as root) in a terminal:

zypper in lib-qt4-devel

For your convenience, on openSUSE, you can search for packages using:

- http://software.opensuse.org/search
- selecting the openSUSE logo (chameleon) in the search bar of firefox
- if you need to search also among community packages (codecs, ...): http://packages.opensuse-community.o...sp?searchTerm=

With kind regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 24, 2008, 14:07
Default Still working on paraView reco
  #23
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17
tkoz is on a distinguished road
Still working on paraView recompile for SUSE1.5 using QT4.4. Got compilation failure (see below). Any additional suggestions.

I followed suggestions below:


- In CMakeLists.txt comment the line:

# MESSAGE(SEND_ERROR "Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).")

- Installed libqt4-devel package (I installed using software download from repository OSS. It installed a lot of other software along with libqt4-devel)

- Removed '~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms' directory

- ran 'buildParaView3.3-cvs' to compile Paraview

I got a compilation failure with messages below:

Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/kosvic/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/kosvic/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/kosvic/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFi les/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/kosvic/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/CMakeFi les/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring done
tkoz is offline   Reply With Quote

Old   July 24, 2008, 16:53
Default Thomas, Did you source the
  #24
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Thomas,

Did you source the bashrc file as said in the README? It seems cmake is not found in your system, but you should have it in ~/OpenFOAM/ThirdParty/cmake-2.4.6

In my laptop:
jose@laptop:~/OpenFOAM/ThirdParty> which cmake
/home/jose/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux/bin/cmake

Run foamInstallationTest to check if your system is correctly configured.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   August 26, 2008, 06:19
Default Hello, I finally compiled par
  #25
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hello,
I finally compiled paraview and paraFoam reader successfully myself on openSUSE 11.0 with Qt 4.4 (the version provided by openSUSE) following Mattijs and Niklas guidelines.

Unfortunately I didn't find out what was causing the truncation to integer I previously reported.

Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   August 26, 2008, 17:01
Default Alberto, Did your compiled
  #26
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17
tkoz is on a distinguished road
Alberto,

Did your compiled version of paraFoam (SUSE 11 and QT 4.4) properly open up, find a reader, and allow a display of the grid and velocity vectors for the icoFoam cavity case in the Tutorials?

What were the steps you did that finally allowed the compilation that you were unsuccessful at before?

Thanks,

Tom Kosvic
tkoz is offline   Reply With Quote

Old   August 26, 2008, 18:15
Default Hello Thomas, I didn't test
  #27
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hello Thomas,

I didn't test it on the cavity case before you asked me. I used a 2D mesh imported generated in gambit and it worked, as it works properly with the rhoPorousSimpleFoam tutorials.

I've just tried it with the cavity case, I still have the truncation problem (no geometry nor data shown). So the problem seems only partly fixed. :-(

The compilation process is the one explained in the readme file. The only difference is a patch released by openSUSE.

Regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   September 13, 2008, 20:02
Default I'm getting this error on Ubun
  #28
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
I'm getting this error on Ubuntu Hardy and Fedora 8. From the answers above I'm not sure what the solution is (just recompile paraview?). Is there a way to get it working, without recompiling paraview? I don't own a fast Linux machine currently and therefore recompiling is slow On which system were the binaries tested?
andrewryan is offline   Reply With Quote

Old   September 13, 2008, 20:35
Default foamToVTK works on Fedora, but
  #29
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
foamToVTK works on Fedora, but not on Ubuntu, there I get:

From function Foam::cwd()
in file Unix.C at line 199.

wtf?
andrewryan is offline   Reply With Quote

Old   September 14, 2008, 05:00
Default The messages comes from the ge
  #30
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
The messages comes from the getcwd system call failing which can happen if:
- the current directory does not exist anymore (e.g. deleted from another window)
- the directory name is longer than 255 characters. Any chance of these happening?
mattijs is offline   Reply With Quote

Old   September 14, 2008, 07:52
Default Thx I deleted the directory, t
  #31
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
Thx I deleted the directory, then recreated it. I had to do

cd <somewhere>
and then back cd into the dir i was before, then it worked
andrewryan is offline   Reply With Quote

Old   September 15, 2008, 08:27
Default OpenFOAM is solving the cavity
  #32
Member
 
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 17
christian is on a distinguished road
OpenFOAM is solving the cavity tutorial as expected but CMake variables are not set when running "buildParaView3.3-cvs". Anyone who can help me please.

---

csvs@linux-pk1o:~/OpenFOAM/ThirdParty> ../OpenFOAM-1.5/bin/./foamSystemCheck

Checking basic system...
-----------------------------------------------------------------------
Shell: /bin/bash
Host: linux-pk1o
OS: Linux version 2.6.25.5-1.1-default
User: csvs


System check: PASS
==================
Continue OpenFOAM installation.

csvs@linux-pk1o:~/OpenFOAM/ThirdParty> ../OpenFOAM-1.5/bin/./foamInstallationTest
Executing ../OpenFOAM-1.5/bin/./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-pk1o
OS: Linux version 2.6.25.5-1.1-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/csvs/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/csvs/OpenFOAM/csvs-1.5 yes no
$WM_THIRD_PARTY_DIR /home/csvs/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/csvs/OpenFOAM/OpenFOAM-1.5 yes yes yes

$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR /home/csvs/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...penFOAM/csvs-1.5/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.19 /bin/tar
icoFoam 1.5 .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux-pk1o Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.

csvs@linux-pk1o:~/OpenFOAM/ThirdParty> cd $FOAM_INST_DIR/ThirdParty
csvs@linux-pk1o:~/OpenFOAM/ThirdParty> rm -rf ParaView3.3-cvs/platforms
csvs@linux-pk1o:~/OpenFOAM/ThirdParty> buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /home/csvs/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /home/csvs/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/csvs/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFi les/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/csvs/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/CMakeFi les/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring done
/home/csvs/OpenFOAM/OpenFOAM-1.5/bin/tools/buildParaViewFunctions: line 206: make: command not found
done

---

Best regards,
Christian Lindbäck
christian is offline   Reply With Quote

Old   September 15, 2008, 17:05
Default From the last line: /home/c
  #33
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
From the last line:

/home/csvs/OpenFOAM/OpenFOAM-1.5/bin/tools/buildParaViewFunctions: line 206: make: command not found

do you have installed "make"?
lin is offline   Reply With Quote

Old   September 16, 2008, 04:18
Default Thank you. Embarrasing, I assu
  #34
Member
 
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 17
christian is on a distinguished road
Thank you. Embarrasing, I assumed that make was installed from start in OpenSUSE 11.

Now things are working. However, when running paraFoam I don't see a thing of my geometry. And there are no error messages. In the information it says that my domain extends from 0 to 0 in all directions. Something is wrong and I have no clue how to solve the problem. When using foamToVTK first I can see my geometry however.
christian is offline   Reply With Quote

Old   September 18, 2008, 05:11
Default Hi Christian I am new to Op
  #35
New Member
 
Ameya Durve
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 20
Rep Power: 17
ameya is on a distinguished road
Hi Christian

I am new to OpenFOAM and Fedora. While trying to install ParaFoam I got the same problem that ypou had posted on Sept 15. But i have no idea how to install make file.
Can you please help.
ameya is offline   Reply With Quote

Old   September 18, 2008, 06:26
Default Use YaST (it is in the menu in
  #36
Member
 
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 17
christian is on a distinguished road
Use YaST (it is in the menu in the GUI of your OS I hope) and go to where you install software. The search for "make" and choose to install the package.
christian is offline   Reply With Quote

Old   September 18, 2008, 11:25
Default If you use Fedora,as a root us
  #37
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
If you use Fedora,as a root user, run the following command

yum -y install make
lin is offline   Reply With Quote

Old   September 23, 2008, 13:29
Default All, looks like this thread ha
  #38
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17
tkoz is on a distinguished road
All, looks like this thread has become a parafoam and paraview process discussion so:

Has anyone gotten the binary distributions in openfoam1.5 of parafoam and paraview to run properly?

By run properly, I mean can you see the grid, velocity vectors, pressure profiles etc for the cavity case discussed as 1st step in the tutorials?

By run properly, I mean also that paraview found a proper reader and that the viewing was done without foamToVTK conversion.

If you have had success using the binary distributions of parafoam and paraview let us all know what special steps you did.

I have SUSE with QT4.4 and Fedora and have not had luck running parafoam and paraview with either of these.

If no one has had any success then I will move to re-compiling these processes.

Thanks much,

Tom Kosvic
tkoz is offline   Reply With Quote

Old   September 23, 2008, 14:40
Default Thomas, I got it to run aft
  #39
Member
 
Michael Rangitsch
Join Date: Mar 2009
Location: Midland, Michigan, USA
Posts: 31
Rep Power: 17
mrangitschdowcom is on a distinguished road
Thomas,
I got it to run after a bit of cursing... We run SUSE 10.1 and had to load the qt 4.3.5 to to get it to work. We used an rpm install we found at openSUSE (we found the right ones here http://download.opensuse.org/reposit...SLE_10/x86_64/ )
I had to be careful on what was in the library path, but once a reference to an older version of QT was removed, it worked just fine.

Mike Rangitsch
mrangitschdowcom is offline   Reply With Quote

Old   October 6, 2008, 18:02
Default I've installed the proposed Qt
  #40
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
I've installed the proposed Qt 4.3.5 locally, configured and built pview3.3-cvs and the vtkPV3FoamReader without problems on suse 11, 32 bit.

Running paraFoam on a tutorial case inside the case directory gives me a small window asking me to define the reader for tutorialCase.OpenFOAM

Can somebody please help me and explain why does it do so, when the reader for .OpenFOAM files is compiled without problems?

And to make it more confusing: one of the offered options is : "OpenFOAM files".
__________________
When asking a question, prepare a SSCCE.
tomislav_maric 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
Some misleading about the treatment of coupled boundary liuhuafei OpenFOAM Bugs 6 February 20, 2018 11:11
GIT Compile of 15x on OpenSUSE 11 problems chrisd OpenFOAM Installation 2 January 30, 2009 13:25
Star-CCM+ running in openSUSE Thiago Siemens 6 January 20, 2009 10:23
15x readme txt file of fixed bugs podallaire OpenFOAM Bugs 5 October 2, 2008 09:50
OpenSuSE maybe OT alberto OpenFOAM 13 December 13, 2006 08:54


All times are GMT -4. The time now is 00:54.