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

Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error

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

Like Tree1Likes
  • 1 Post By arsalan.dryi

Reply
 
LinkBack Thread Tools Display Modes
Old   March 3, 2017, 15:27
Default Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error
  #1
New Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 27
Rep Power: 6
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, 15:34
Default
  #2
Member
 
Arsalan
Join Date: Jul 2014
Posts: 72
Rep Power: 5
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, 03:44
Default
  #3
New Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 27
Rep Power: 6
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

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
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
blockMesh with double grading. spwater OpenFOAM Native Meshers: blockMesh 86 October 20, 2016 14:01
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 02:29.