CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

solver compilation problem, /bin/linux64GccDPOpt directory empty

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 11:48
Default solver compilation problem, /bin/linux64GccDPOpt directory empty
  #1
New Member
 
Join Date: May 2013
Posts: 23
Rep Power: 13
arnaud6 is on a distinguished road
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 have seen in other related posts that the new solver should appear in the $FOAM_USER_APPBIN. If I go to this directory, I can't find anything. The /bin/linux64GccDPOpt has been created but it is empty.

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
arnaud6 is offline   Reply With Quote

Reply

Tags
channelfoam, compilation, solver, wmake error


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
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


All times are GMT -4. The time now is 18:56.