|
[Sponsors] |
January 4, 2014, 23:54 |
Cannot compile utilities in Ubuntu 12.04
|
#1 |
Member
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 15 |
Hi Foamers,
I have installed OF2.2.1 in Ubuntu 12.04 and its working fine. The problem is when I compile my own utilities, it gives me error. Code:
kannan@AIL:~/OpenFOAM/kannan-2.2.1/helicity$ wmake Making dependency list for source file helicity.C Making dependency list for source file compatibilityFvPatchFields/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchSymmTensorField.C SOURCE=helicity.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/postProcessing/postCalc -I/opt/openfoam221/src/turbulenceModels -I/opt/openfoam221/src/turbulenceModels/incompressible/RAS/RASModel -I/opt/openfoam221/src/transportModels -I/opt/openfoam221/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/helicity.o SOURCE=compatibilityFvPatchFields/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchSymmTensorField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/postProcessing/postCalc -I/opt/openfoam221/src/turbulenceModels -I/opt/openfoam221/src/turbulenceModels/incompressible/RAS/RASModel -I/opt/openfoam221/src/transportModels -I/opt/openfoam221/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/turbulentIntensityKineticEnergyInletFvPatchSymmTensorField.o g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/postProcessing/postCalc -I/opt/openfoam221/src/turbulenceModels -I/opt/openfoam221/src/turbulenceModels/incompressible/RAS/RASModel -I/opt/openfoam221/src/transportModels -I/opt/openfoam221/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/helicity.o Make/linux64GccDPOpt/turbulentIntensityKineticEnergyInletFvPatchSymmTensorField.o -L/opt/openfoam221/platforms/linux64GccDPOpt/lib \ /opt/openfoam221/platforms/linux64GccDPOpt/lib/postCalc.o -lincompressibleRASModels -lincompressibleTransportModels -lfiniteVolume -lgenericPatchFields -lOpenFOAM -ldl -lm -o /opt/openfoam221/platforms/linux64GccDPOpt/bin/helicity /usr/bin/ld: cannot open output file /opt/openfoam221/platforms/linux64GccDPOpt/bin/helicity: Permission denied collect2: ld returned 1 exit status make: *** [/opt/openfoam221/platforms/linux64GccDPOpt/bin/helicity] Error 1 This may be due to root permission ? Any help to make my utilities to work.. Thanks in advance... -- KANNAN B T Last edited by skyinventorbt; January 5, 2014 at 00:02. Reason: Improved question for better answer |
|
January 5, 2014, 10:13 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Kannan,
If you follow this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam - you should not get the same problem. The reason is because of what is defined in the file "Make/files": Quote:
Best regards, Bruno
__________________
|
||
January 7, 2014, 01:19 |
|
#3 |
Member
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 15 |
Thanks Bruno. . .
I will look in to this . . . -- KANNAN B T |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 23:24 |
[foam-extend.org] OpenFOAM-1.6-ext on Ubuntu 12.04 install errors | benk | OpenFOAM Installation | 37 | August 8, 2016 12:48 |
Fluent Gambit in ubuntu 12.04 lts | prithvi yesudas | FLUENT | 7 | January 17, 2014 05:14 |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 05:56 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |