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

[OpenFOAM.com] Installation Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2016, 20:07
Default Installation Problem
  #1
New Member
 
Sam Bazgi
Join Date: Jul 2016
Location: USA
Posts: 7
Rep Power: 9
Manyway is on a distinguished road
Hello all, I would really appreciate if you help me.

I keep getting the errors while compiling the OpenFoam. Here is the result of the installation test:

moto@ubuntu:~/OpenFOAM/OpenFOAM-v1606+$ foamInstallationTest
Code:
Executing /home/moto/OpenFOAM/OpenFOAM-v1606+/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               ubuntu
OS:                 Linux version 4.4.0-21-generic
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/moto/OpenFOAM                      yes       yes
$WM_PROJECT_USER_DIR /home/moto/OpenFOAM/moto-v1606+          yes       no
$WM_THIRD_PARTY_DIR  /home/moto/OpenFOAM/ThirdParty-v1606+    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/moto/OpenFOAM/OpenFOAM-v1606+      yes  yes  yes

$FOAM_APPBIN         ...+/platforms/linux64GccDPInt32Opt/bin  yes  yes  yes
$FOAM_SITE_APPBIN    ...+/platforms/linux64GccDPInt32Opt/bin  no        no
$FOAM_USER_APPBIN    ...+/platforms/linux64GccDPInt32Opt/bin  no        no
$WM_DIR              .../moto/OpenFOAM/OpenFOAM-v1606+/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         ...+/platforms/linux64GccDPInt32Opt/lib  yes  yes  yes
$FOAM_SITE_LIBBIN    ...+/platforms/linux64GccDPInt32Opt/lib  no        no
$FOAM_USER_LIBBIN    ...+/platforms/linux64GccDPInt32Opt/lib  no        no
$MPI_ARCH_PATH       /usr/lib/lam                             yes  yes  yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version   Location 
-------------------------------------------------------------------------------
flex     2.6.0     /usr/bin/flex                                            
gcc      5.3.1     /usr/bin/gcc                                             
g++      5.3.1     /usr/bin/g++                                             
gzip     1.6       /bin/gzip                                                
tar      1.28      /bin/tar                                                 
icoFoam           
WARNING:  Conflicting installations:
          OpenFOAM settings        : /home/moto/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/icoFoam
          current path             : 
          CRITICAL ERROR

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


Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 1 critical error(s).
The full log file is attached.
Attachment 48974

So, the errors it shows:
Quote:
collect2: error: ld returned 1 exit status
/home/moto/OpenFOAM/OpenFOAM-v1606+/wmake/makefiles/general:132: recipe for target '/home/moto/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/laplacianFoam' failed
make[2]: *** [/home/moto/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/laplacianFoam] Error 1
make[2]: Leaving directory '/home/moto/OpenFOAM/OpenFOAM-v1606+/applications/solvers/basic/laplacianFoam'
/home/moto/OpenFOAM/OpenFOAM-v1606+/wmake/makefiles/apps:39: recipe for target 'laplacianFoam' failed
make[1]: *** [laplacianFoam] Error 2
make[1]: Leaving directory '/home/moto/OpenFOAM/OpenFOAM-v1606+/applications/solvers/basic'
/home/moto/OpenFOAM/OpenFOAM-v1606+/wmake/makefiles/apps:39: recipe for target 'basic' failed
make: *** [basic] Error 2
I installed libboost and everything I could find.
What can be the problem?
Manyway is offline   Reply With Quote

Old   July 8, 2016, 05:45
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

I have noticed, you are using LAM as MPI implementation (yet, you have configuration for OpenMPI). Quick search revealed several messages on mailing lists with the same problem (without solution). Also there is http://www.cfd-online.com/Forums/ope...on-v3-0-a.html without solution also. So you could try to...

1. Compile with OpenMPI.
2. Check if all necessary compilation flags for LAM are there.
3. Ask user cute if (s)he solved problem of missing symbols.
alexeym is offline   Reply With Quote

Old   July 8, 2016, 13:47
Default
  #3
New Member
 
Sam Bazgi
Join Date: Jul 2016
Location: USA
Posts: 7
Rep Power: 9
Manyway is on a distinguished road
Alexey, spasibo)
I've found the reason and recompiled the mpi library
HTML Code:
Pstream
separately.
Then I run
Code:
./Allwmake
again and voila

Thanks for a hint)
Manyway 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
[swak4Foam] [OpenFOAM plus] [v1612+] swak4Foam installation problem in Windows (Allwmake) LThomes OpenFOAM Community Contributions 7 October 6, 2020 13:36
[foam-extend.org] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem icab OpenFOAM Installation 5 April 8, 2017 07:09
Problem with installation florvit ANSYS 0 December 8, 2016 09:10
Installation problem - calling blockMesh - libblockMesh.so aylalisa OpenFOAM Installation 5 November 28, 2012 09:55
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 17:26


All times are GMT -4. The time now is 16:08.