|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16 ![]() |
Hi all,
I have OpenSUSE 11.1 on a quad-core AMD box. OpenFOAM 1.6.x was working just fine, but I decided to go to the new 1.7.0 version. I upgraded many apps, and now I got: paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> gcc --version gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> qmake --version QMake version 2.01a Using Qt version 4.5.3 in /usr/lib64 paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> flex -V flex 2.5.35 paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> checking the OpenFOAM install, I get: paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> foamInstallationTest Executing /home/paulo/OpenFOAM/OpenFOAM-1.7.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: linux-nkui OS: Linux version 2.6.27.45-0.1-default ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/paulo/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/paulo/OpenFOAM/paulo-1.7.0 yes no $WM_THIRD_PARTY_DIR /home/paulo/OpenFOAM/ThirdParty-1.7.0 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/paulo/OpenFOAM/OpenFOAM-1.7.0 yes yes yes $FOAM_APPBIN ...7.0/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.7.0/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...7.0/applications/bin/linux64GccDPOpt yes yes no $WM_DIR .../paulo/OpenFOAM/OpenFOAM-1.7.0/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 ...M/OpenFOAM-1.7.0/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.7.0/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...FOAM/paulo-1.7.0/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.4.1 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.4.1 /usr/bin/gcc gzip 1.3.12 /usr/bin/gzip tar 1.20 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/paulo/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. *** The foam installation contains 1 critical error(s) *** Review the output for warning messages and consult *** the installation guide for trouble shooting. done. paulo@linux-nkui:~/OpenFOAM/OpenFOAM-1.7.0> Attached is a file with three samples of the errors extracted from the make.log file. Compilation goes well, but suddenly some errors show up and I really don't know what to do. I tried a lot of things based on previous threads, but nothing seems to work. Comments are welcome. ![]() Thanks in advance, Paulo |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 21 ![]() |
Hi Paulo,
try install the "binutils-devel" package. Martin |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16 ![]() |
Hi Martin.
Thanks for your reply. I already have it installed - version 2.19. By the way, I'm running a 64bit environment. Any other hint? Thanks, Paulo ![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Paulo,
Two things:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16 ![]() |
Hi Bruno,
Thanks for your message. I had already read the blog and had done exactly what you say in your message. Unfortunately it didn't work. Flex 2.5.35 is installed on my computer. I just finished upgrading my Suse from 11.1 to 11.2, and compiled OpenFOAM according to the instructions. For the first time in my life I compiled an application without any error. The guys that prepared it did a great job. Congratulations to them, whoever they are. I only have a problem now compiling Paraview 3.8.0. It seems that Qt needs to be version 4.6 and I have 4.5.3. I used Yast to install a newer version, but I couldn't find one. Do you know how do I get Qt version 4.6? Thanks for your time. ![]() Paulo |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Paulo,
You can get most versions of Qt from right here: ftp://ftp.trolltech.com/qt/source/ If you get the ThirdParty-1.6 package, you'll find in it a script that was used for building Qt 4.3.5, and in the link in my signature you'll find another link to a thread with instructions on how to build ParaView 3.6.1 with Qt 4.3.5, which I believe you can adapt to Qt 4.6.0 and ParaView 3.8.0. Nonetheless, you could also try to save some time and download the precompiled version available at www.paraview.org, and do the tweak described in the second half of this post: http://www.cfd-online.com/Forums/ope...tml#post263925 Well, those are also instructions relative to ParaView 3.6.1, but it should be easy enough to adapt to ParaView 3.8.0 ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16 ![]() |
Howdy Bruno,
Sorry for the late reply. I made the changes you mentioned: I used the precompiled version available at www.paraview.org, and did the tweak described in the second half of the post: http://www.cfd-online.com/Forums/ope...tml#post263925 I spent most of the time trying to recompile paraview myself, but as I didn't succeed it seems I'm not as good as I thought I was. ![]() I tested Paraview with icoFoam and worked ok. Next, I'll compile OpenFOAM-1.7.x and just link ThirdParty-1.7.x to 1.7.0. Thanks a lot for your time. Best regards, Paulo |
|
![]() |
![]() |
![]() |
![]() |
#8 | |
Member
Join Date: Dec 2009
Location: Kanpur, India
Posts: 54
Rep Power: 16 ![]() |
Quote:
hi... I too get this error. So I guessed that it may not finding icoFoam. I copied that icoFoam from /home/my/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/icoFoam my compiled openFoam same version 1.7.0 of and put at /home/paulo/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/icoFoam and then I installed bison, flex, liberty, lz, binutil-dev. and then I excuted ./Allwmake. I was able to compile. Though I could not make the paraview by unknown reason. But I ran many cases in openFoam. I separately installed paraview, which could handle the .vtk files gotten from by executing command foamToVTK. let me know if it is helps dinesh Last edited by Shoonya; August 6, 2010 at 12:35. |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16 ![]() |
Thanks for your message, Dinesh.
I decided to move on OpenSuse 11.3, and all OpenFOAM 1.7.x compilations ran smoothly. Regards, Paulo |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Openfoam installation on OpenSuse 11.1 | Bufacchi | OpenFOAM Installation | 1 | June 15, 2010 19:55 |
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio | alberto | OpenFOAM | 40 | May 23, 2010 16:15 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 14:06 |
Installing OpenFOAM 1.5 on OpenSUSE 11.1 | StructureITA | OpenFOAM Installation | 31 | April 30, 2009 19:45 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 06:28 |