|
[Sponsors] |
solver compilation problem, /bin/linux64GccDPOpt directory empty |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2013, 11:48 |
solver compilation problem, /bin/linux64GccDPOpt directory empty
|
#1 |
New Member
Join Date: May 2013
Posts: 23
Rep Power: 13 |
Hello everybody, this is my first message on the forum and I hope my problem won't be too difficult to solve.
As a first step I am trying to create a new solver from an existing one "channelFoam". I have done all the steps described in the second section of http://openfoamwiki.net/index.php/How_to_add_temperature_to_icoFoam I have copied the solver "channelFoam" and renamed it to "my_channelFoam". i am working in my user space and not in the installattion space of OpenFOAM. The error appears when I try to run wmake to compile the new solver. My message error is Code:
Making dependency list for source file my_channelFoam.C SOURCE=my_channelFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/turbulenceModels -I/opt/openfoam171/src/turbulenceModels/incompressible/LES/LESModel -I/opt/openfoam171/src/turbulenceModels/LES/LESdeltas/lnInclude -I/opt/openfoam171/src/transportModels -I/opt/openfoam171/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam171/src/finiteVolume/lnInclude -I/opt/openfoam171/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/my_channelFoam.o /opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’: /opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:11:10: warning: unused variable ‘transonic’ [-Wunused-variable] /opt/openfoam171/src/finiteVolume/lnInclude/readPISOControls.H:14:9: warning: unused variable ‘nOuterCorr’ [-Wunused-variable] g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/turbulenceModels -I/opt/openfoam171/src/turbulenceModels/incompressible/LES/LESModel -I/opt/openfoam171/src/turbulenceModels/LES/LESdeltas/lnInclude -I/opt/openfoam171/src/transportModels -I/opt/openfoam171/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam171/src/finiteVolume/lnInclude -I/opt/openfoam171/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/my_channelFoam.o -L/opt/openfoam171/lib/linux64GccDPOpt \ -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/msc/ajc12/OpenFOAM/ajc12-1.7.1/applications/bin/linux64GccDPOpt/my_channelFoam /usr/bin/ld: cannot find -liberty collect2: ld returned 1 exit status make: *** [/home/msc/ajc12/OpenFOAM/ajc12-1.7.1/applications/bin/linux64GccDPOpt/my_channelFoam] Error 1 I precise that I am working on a college computer so that I do not have sudo rigths. I tried to set the correct environnement variables using the "source .bashrc" but I still get the error. From the error message in the terminal window the problem may come from a library problem but I can't solve it. It's been some time I am working on it and I would be grateful if someone can help me. Best regards, Arnaud |
|
Tags |
channelfoam, compilation, solver, wmake error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Divergence error in AMG solver in axisymmetric problem. | gan1990 | FLUENT | 3 | June 23, 2013 03:24 |
Promlems with compilation of new solver | Galchenko | OpenFOAM Programming & Development | 16 | April 30, 2013 08:17 |
Solver problem in Oscillating Plate tutorial | vovogoal | CFX | 1 | November 22, 2011 10:54 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |