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

OpenFOAM-1.6-ext installation on OpenSUSE 12.1

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

Like Tree1Likes
  • 1 Post By matthiass

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2012, 07:12
Default OpenFOAM-1.6-ext installation on OpenSUSE 12.1
  #1
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
Hello everybody,

the last days I tried to install OpenFOAM-1.6-ext on OpenSUSE 12.1.
During installation I followed the instructions of this thread OpenFOAM-1.6-ext on openSUSE 11.4-64bit (first Post) and the last post of the following thread OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 to get ParaView working.

Finally, I didn't really succeed.
I attached my log-files of the Third-Party-Installation and of OpenFOAM. I guess it is a problem with openmpi. I thought I installed it correctly, but as newbie I'm not really sure.
I would be very thankful if someone could help me and give me a hint.
Thank you in advance!

Best regards,
Matthias
Attached Files
File Type: gz log_stage1.txt.tar.gz (22.8 KB, 13 views)
File Type: gz log_stage2_1.txt.tar.gz (65.0 KB, 2 views)
File Type: gz log_stage2_2.txt.tar.gz (50.2 KB, 3 views)
File Type: gz log_stage3.txt.tar.gz (56.8 KB, 4 views)
File Type: gz log_stage4_1.txt.tar.gz (61.3 KB, 3 views)

Last edited by matthiass; April 25, 2012 at 10:56.
matthiass is offline   Reply With Quote

Old   April 25, 2012, 07:13
Default
  #2
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
Here are the other logs!
Attached Files
File Type: gz log_stage4_2.txt.tar.gz (52.6 KB, 3 views)
File Type: gz wmake_log_file_A_1.txt.tar.gz (80.8 KB, 8 views)
File Type: gz wmake_log_file_A_2.txt.tar.gz (44.7 KB, 2 views)
matthiass is offline   Reply With Quote

Old   April 25, 2012, 07:53
Default
  #3
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
I forgot the foamInstallationTest.



Code:
Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               linux-3eo1.site
OS:                 Linux version 3.1.10-1.9-desktop
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/mias/OpenFOAM                      yes       yes
$WM_PROJECT_USER_DIR /home/mias/OpenFOAM/mias-1.6-ext         no        no
$WM_THIRD_PARTY_DIR  ...OpenFOAM/OpenFOAM-1.6-ext/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/mias/OpenFOAM/OpenFOAM-1.6-ext     yes  yes  yes

$FOAM_APPBIN         ...ext/applications/bin/linux64GccDPOpt  yes  yes  yes
$FOAM_SITE_APPBIN    ...OAM/site/1.6-ext/bin/linux64GccDPOpt  no        no
$FOAM_USER_APPBIN    ...ext/applications/bin/linux64GccDPOpt  no        no
$WM_DIR              ...mias/OpenFOAM/OpenFOAM-1.6-ext/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         ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt  yes  yes  yes                                                         
$FOAM_SITE_LIBBIN    ...OAM/site/1.6-ext/lib/linux64GccDPOpt  no        no                                                          
$FOAM_USER_LIBBIN    ...OAM/mias-1.6-ext/lib/linux64GccDPOpt  no        no                                                          
$MPI_ARCH_PATH       ...nmpi-1.4.3/platforms/linux64GccDPOpt  yes   no  yes                                                         
-------------------------------------------------------------------------------                                                     
                                                                                                                                    
                                                                                                                                    
Third party software                                                                                                                
-------------------------------------------------------------------------------                                                     
Software Version   Location                                                                                                         
-------------------------------------------------------------------------------                                                     
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM                                                      
         Supplied version: 4.3.3                                                                                                    
         User version    : 4.6.2                                                                                                    
         Minimum required: 4.3.1                                                                                                    
                                                                                                                                    
gcc      4.6.2                                                                                                                      
WARNING:  Conflicting installations:                                                                                                
          OpenFOAM settings        : /bin/gcc                                                                                       
          current path             : /usr/bin/gcc
          CRITICAL ERROR

gzip     1.4       /usr/bin/gzip                                            
tar      1.26      /bin/tar                                                 
icoFoam           
WARNING:  Conflicting installations:
          OpenFOAM settings        : /home/mias/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam
          current path             : 
          CRITICAL ERROR

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


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 2 critical error(s).

Review the output for warning messages and consult 
the installation guide for trouble shooting.

done.
matthiass is offline   Reply With Quote

Old   April 25, 2012, 10:20
Default
  #4
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 8
anon_c is on a distinguished road
hi mathias i am doing the same it is the first time for me to compile openfoam1.6-ext on opensuse 12.1 and there are also some problems in the thirdparty

./Allmake.stage3 give the problem about

mesquite-2.1.2

so i think it is a problem with the distribution and openfoam that need to be find out i dont know what really happens till now
anon_c is offline   Reply With Quote

Old   April 25, 2012, 10:33
Default
  #5
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 8
anon_c is on a distinguished road
why you installing mesquite2.99?
anon_c is offline   Reply With Quote

Old   April 25, 2012, 10:41
Default
  #6
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
Hi Tajoooko,

I replaced mesquite-2.1.2 by mesquite-2.99 as proposed in this thread http://www.extend-project.de/user-fo...ation-openfoam by Maria Garcia-Camprubi.

Quote:
Mesquite-2.1.2 source-code gave some compilation errors. Thus, I have used the latest available version, updating the mesquite version in:

~/OpenFOAM®®/OpenFOAM®®-1.6-ext/ThirdParty/AllMake.stage3: rpm_make -p mesquite-2.99 -s mesquite-2.99.spec -u software.sandia.gov/~jakraft/mesquite-2.99.tar.gz

in /OpenFOAM®®/OpenFOAM®®-1.6-ext/etc/settings.sh :
[ -z "$MESQUITE_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/mesquite-2.99/platforms/$WM_OPTIONS ] && { _foamSource $WM_THIRD_PARTY_DIR/packages/mesquite-2.99/platforms/$WM_OPTIONS/etc/mesquite-2.99.sh }

and in ~/OpenFOAM®®/OpenFOAM®®-1.6-ext/ThirdParty/rpmBuild/SPECS/ :
mv mesquite-2.1.2.spec mesquite-2.99.spec
vim mesquite-2.99.spec : replace mesquite-2.1.2 with mesquite-2.99 ~/OpenFOAM®® $ cd OpenFOAM®®-1.6-ext/ ./Allwmake
And to say the truth I got it working on one of my desktops. There are still a lot errors but I can use the solvers that interest me. But I tried it on a few other computers and didn't succeed. Always with the same results in the logs and that is not really satisying.

Best regards,
Matthias
matthiass is offline   Reply With Quote

Old   April 25, 2012, 11:13
Default
  #7
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 8
anon_c is on a distinguished road
ah yes i do it now too it works fine but the next error is about

mpi.h --> not found
anon_c is offline   Reply With Quote

Old   April 25, 2012, 11:19
Default
  #8
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
Do you mean in one of the wmake-log-files?
matthiass is offline   Reply With Quote

Old   April 25, 2012, 11:19
Default
  #9
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 8
anon_c is on a distinguished road
common.h:84:28: fatal error: mpi.h: No such file or directory


it seems that he is not finding the openMPI instalation but

thirdparty Allmake.stage3 gives:

========================================
Starting ThirdParty AllMake: Stage2
========================================

Package name : openmpi-1.4.3
Package URL : http://www.open-mpi.org/software/omp...i-1.4.3.tar.gz
RPM spec file name: openmpi-1.4.3.spec
Additional flags :
Updating the ThirdParty environment variables before building package openmpi-1.4.3
Package openmpi-1.4.3 is already installed
Done installing package

========================================
Done ThirdParty AllMake: Stage2
========================================
anon_c is offline   Reply With Quote

Old   May 2, 2012, 15:47
Smile
  #10
New Member
 
Join Date: Mar 2012
Posts: 23
Rep Power: 5
matthiass is on a distinguished road
I finally succeeded the installation of OF-1.6-ext on OpenSUSE 12.1!
In my case the ThirdParty openmpi-1.4.3 doesn't install properly (until now I don't know why), because of that I used the systems openmpi-1.4.3 (I adjusted this in prefs.sh).

After that I got the next error:
Code:
+ wmake libso mesquiteMotionSolver
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lmesquite
collect2: ld returned 1 exit status
make: *** [/home/matthias/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libmesquiteMotionSolver.so] Fehler 1
This was an error caused by a different name of the library folder of MESQUITE2.99 (lib64 instead of lib), so the content of this folder couldn't be found.

The next error was:
Code:
In file included from vtkPV3Foam.C:28:0:
../PV3FoamReader/vtkPV3FoamReader.h:31:43: fatal error: vtkMultiBlockDataSetAlgorithm.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[3]: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Fehler 1
To solve this problem I had to change in the options-file of the following folder
Code:
 cd ~/OpenFOAM/OpenFOAM-1.6-ext/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make
Code:
-I$(PARAVIEW_INCLUDE_DIR)/paraview-3.12 \
to
-I$(PARAVIEW_INCLUDE_DIR)/paraview-3.10 \
After this I had no errors anymore!

Maybe this will help someone!

Best regards,
Matthias
fumiya likes this.
matthiass is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7 installation on Redhat linux maxims OpenFOAM Installation 2 November 30, 2012 05:29
OpenFOAM 1.6 and 1.7 with interFoam, groovyBC give different strange results Arnoldinho OpenFOAM 7 December 9, 2010 17:29
Installation of OpenFOAM 1.5-dev and its fitness for FSI? Martin_ OpenFOAM Installation 24 November 16, 2010 18:39
OpenFOAM 1.7.0 on OpenSUSE 11.1 Bufacchi OpenFOAM Installation 8 August 6, 2010 09:57
kOmegaSST in openfoam 1.6 Gearb0x OpenFOAM 2 March 3, 2010 07:02


All times are GMT -4. The time now is 11:22.