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

Wmake ccm26ToFoam compilation problem under Ubuntu x64 810

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2008, 07:09
Default I have problem with compiling
  #1
New Member
 
Krzysztof Przysowa
Join Date: Mar 2009
Location: Frimley, Surrey, United Kingdom
Posts: 13
Rep Power: 9
kprzysowagmailcom is on a distinguished road
I have problem with compiling ccm26ToFoam under Ubuntu x64 8.10,
wmake ccm26ToFoam
SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1 -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o
In file included from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/syslimits.h:7,
from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/limits.h:11,
from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/climits:48,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/label.H:38,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:36,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/ListOps.H:40,
from ccm26ToFoam.C:36:
/home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/limits.h:122:61: error: limits.h: No such file or directory
In file included from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux -gnu/bits/os_defines.h:44,
from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux -gnu/bits/c++config.h:40,
from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdlib:48,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/label.H:39,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:36,
from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/ListOps.H:40,
from ccm26ToFoam.C:36:
/home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/features.h:331:25: error: sys/cdefs.h: No such file or directory
/home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/features.h:354:23: error: gnu/stubs.h: No such file or directory


in the specified location (/home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib/gcc/x86_64- unknown-linux-gnu/4.3.1/include-fixed) I have the limits.h file and the permissions (read/write) for it are given.

What does /../ mean?, I thought it was hidden part of the path but /platforms/linux64/bin/../lib/gcc/ in my system is /platforms/linux64/lib/gcc/. Should I have limits.h file in /platforms/linux64/bin/ location as well?

Please advise proper solution.
kprzysowagmailcom is offline   Reply With Quote

Old   October 5, 2008, 13:41
Default I have an update. I have manag
  #2
New Member
 
Krzysztof Przysowa
Join Date: Mar 2009
Location: Frimley, Surrey, United Kingdom
Posts: 13
Rep Power: 9
kprzysowagmailcom is on a distinguished road
I have an update. I have managed to solve the problem by instlling:
build-essentials package for my system.

Unfortunately I have stacked again:

kprzysowa@larix:~/OpenFOAM/OpenFOAM-1.5/applications/utilities/mesh/conversion/Optional$ wmake ccm26ToFoam/
SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1 -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o
ccm26ToFoam.C:47:19: error: ccmio.h: No such file or directory
ccm26ToFoam.C:164: error: variable or field 'CheckError' declared void
ccm26ToFoam.C:164: error: 'CCMIOError' was not declared in this scope
ccm26ToFoam.C:164: error: expected primary-expression before 'const'
make: *** [Make/linux64GccDPOpt/ccm26ToFoam.o] Error 1

I have the ccmio.h file in:
/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/libccmio
location.
I do not know why wmake doesn't "see" it.
Should I change any variable?
kprzysowagmailcom is offline   Reply With Quote

Old   October 5, 2008, 15:56
Default I have resolved the problem us
  #3
New Member
 
Krzysztof Przysowa
Join Date: Mar 2009
Location: Frimley, Surrey, United Kingdom
Posts: 13
Rep Power: 9
kprzysowagmailcom is on a distinguished road
I have resolved the problem using the following post:
http://www.cfd-online.com/OpenFOAM_D...tml?1219661051
kprzysowagmailcom is offline   Reply With Quote

Old   October 11, 2008, 08:05
Default hi people, I HAVE,A MODEL C
  #4
Member
 
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 9
vishal is on a distinguished road
hi people,

I HAVE,A MODEL CREATED USING ccm+ 3.04 VERSION ....I MA TRYING TO IMPORT IT TO OPENFOAM BT PROBLEM IS I DIDNT FIND ANY ccm26ToFoam FOLDER IN UTEITIES/MESH/CONVERTION.... CAN ANY ONE PLEASE SEN ME THIN UTELITY FILE....

THANKS

VISHAL
__________________
Cheers,

Vishal Jambhekar...
"Simulate the way ahead......!!!"
vishal is offline   Reply With Quote

Old   October 11, 2008, 14:52
Default it should be there: $HOME/Ope
  #5
New Member
 
Krzysztof Przysowa
Join Date: Mar 2009
Location: Frimley, Surrey, United Kingdom
Posts: 13
Rep Power: 9
kprzysowagmailcom is on a distinguished road
it should be there:
$HOME/OpenFOAM/OpenFOAM-1.5/applications/utilities/mesh/conversion/Optional/ccm2 6ToFoam
kprzysowagmailcom is offline   Reply With Quote

Old   October 12, 2008, 05:41
Default Hi, i checked it it but i d
  #6
Member
 
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 9
vishal is on a distinguished road
Hi,

i checked it it but i didnt get it....is there any other way to get it....can u please send ccm26tofoam folder to me....

Thanks
Vishal
__________________
Cheers,

Vishal Jambhekar...
"Simulate the way ahead......!!!"
vishal is offline   Reply With Quote

Old   October 12, 2008, 07:09
Default hi i put it there but it stll
  #7
Member
 
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 9
vishal is on a distinguished road
hi i put it there but it stll says bad command.....i am using ccm 3.04 version ....do this makes any difference...and yes thanks for instant reply....actually in user guide also no infor mation is given about syntax for command...i tried folloeing syntax..
ccm26ToFoam Prism.ccm
isthis the right syntax...
Thanks
Vishal
__________________
Cheers,

Vishal Jambhekar...
"Simulate the way ahead......!!!"
vishal is offline   Reply With Quote

Old   November 6, 2009, 05:33
Default You need to compile ccm26ToFoam
  #8
New Member
 
Krzysztof Przysowa
Join Date: Mar 2009
Location: Frimley, Surrey, United Kingdom
Posts: 13
Rep Power: 9
kprzysowagmailcom is on a distinguished road
I am sorry I did not notice your replays.
ccm26ToFoam is not precompiled in default installation.
So you need to complile it first.
check 'wmake' keyword in user guide
kprzysowagmailcom 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
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
Wmake problem thumthae OpenFOAM Installation 12 December 3, 2008 10:30
Problem with Paraviw on Ubuntu noredine OpenFOAM Installation 2 July 31, 2008 05:03
Mpi problem with Ubuntu richard OpenFOAM Running, Solving & CFD 0 April 14, 2008 21:38
Problem about wmake turbFoam williamscn OpenFOAM Running, Solving & CFD 3 September 19, 2007 11:55


All times are GMT -4. The time now is 06:54.