|
[Sponsors] | |||||
[OpenFOAM.org] Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 14 ![]() |
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....
![]() Regards, |
|
|
|
|
|
|
|
|
#2 |
|
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 13 ![]() |
Hi Behzad,
There is something wrong with your build directory. As a try, prefix your command with: "sudo", or try Code:
sudo bash |
|
|
|
|
|
|
|
|
#3 |
|
Member
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 14 ![]() |
||
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
| Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
| OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
| 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 |