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

[OpenFOAM.org] Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By arsalan.dryi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2017, 14:27
Default Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error
  #1
Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 12
behzad-cfd is on a distinguished road
Hi,

I was trying to compile OF-4.1 on Ubuntu 14.04. I compiled Third Party successfully but i got error while compiling OpenFoam.

Code:
(OF:4.1-Opt) behzad@behzad:/opt/OpenFOAM-4.1$ ./Allwmake
make: Nothing to be done for `all'.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

========================================
Build Scotch decomposition library scotch_6.0.3
    /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/scotch_6.0.3
    scotch header in /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/scotch_6.0.3/include
    scotch libs   in /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/lib

========================================
Build PTScotch decomposition library scotch_6.0.3 (uses MPI)
    /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/scotch_6.0.3

    ptscotch header in /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/scotch_6.0.3/include/openmpi-system
    ptscotch libs   in /opt/ThirdParty-4.1/platforms/linux64GccDPInt32/lib/openmpi-system

========================================
Build Metis decomposition
    optional component Metis was not found
========================================
Build CGAL
Using system installation of CGAL

========================================
Done ThirdParty Allwmake
========================================

+ wmakePrintBuild -check
no git description found
+ wrmo OpenFOAM/global/global.o
removing .o files corresponding to OpenFOAM/global/global.o ...
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake libso
+ wmake libso dummy
/opt/OpenFOAM-4.1/src/Pstream/dummy
'/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/dummy/libPstream.so' is up to date.
+ set +x
wmake libso mpi
/opt/OpenFOAM-4.1/src/Pstream/mpi
'/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so' is up to date.
+ OSspecific/POSIX/Allwmake
/opt/OpenFOAM-4.1/src/OSspecific/POSIX
'/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libOSspecific.o' is up to date.
+ wmake libso OpenFOAM
/opt/OpenFOAM-4.1/src/OpenFOAM
sed -e 's!VERSION_STRING!4.1!' -e 's!BUILD_STRING!4.1!' global/global.Cver > /opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM/global/global.Cver.C; g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM -IlnInclude -I. -I/opt/OpenFOAM-4.1/src/OpenFOAM/lnInclude -I/opt/OpenFOAM-4.1/src/OSspecific/POSIX/lnInclude   -fPIC -c /opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM/global/global.Cver.C -o /opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM/global/global.o
make: *** No rule to make target `/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.C.dep', needed by `/opt/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.o'.  Stop.
make: *** Waiting for unfinished jobs....
whats wrong with that?

Regards,
behzad-cfd is offline   Reply With Quote

Old   March 4, 2017, 14:34
Default
  #2
Member
 
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 11
arsalan.dryi is on a distinguished road
Hi Behzad,

There is something wrong with your build directory. As a try, prefix your command with: "sudo", or try
Code:
sudo bash
this will put you as root, then run Allwmake.
behzad-cfd likes this.
arsalan.dryi is offline   Reply With Quote

Old   March 5, 2017, 02:44
Default
  #3
Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 12
behzad-cfd is on a distinguished road
Quote:
Originally Posted by arsalan.dryi View Post
Hi Behzad,

There is something wrong with your build directory. As a try, prefix your command with: "sudo", or try
Code:
sudo bash
this will put you as root, then run Allwmake.
Thanks for your kind reply. I installed with binary source pack
behzad-cfd 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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25


All times are GMT -4. The time now is 01:51.