Errors in compiling ccm26ToFoam
This is my very first post to this great forum that I have been lurking for ages :D
But I am getting more serious with OpenFoam and it's time to ask you guys for help. So, I followed the instructions on the other thread from 2012, post #37 here: http://www.cfd-online.com/Forums/ope...#post365682#37 But I get the following when I try to compile ccm26ToFoam: A few remarks first: 1. I compiled OpenFoam 2.1.1 on the 64bit Centos 6.3 VBox installation, everything seems to be fine. 2. The CD Adapco rep sent us the links to download libccmio version 2.06.024, I'm no expert on the company's version numbering so is this a more recent version to 2.6.1 that is required by ./AllwmakeLibccmio (both the default one & the one in the post above)? Or is it an older version? 3. I renamed the folder (after decompressing libccmio.tar.gz) to libccmio-2.6.1 in order for the default ./AllwmakeLibccmio to work which I think it did. 4. Now, when I follow the post linked above, namely, when I do: Code:
cd $WM_PROJECT_DIR/applications/utilities/mesh/conversion/Optional/ccm26ToFoam Code:
SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/MyHome/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/MyHome/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/MyHome/OpenFOAM/ThirdParty-2.1.1/libccmio-2.6.1 -I/home/MyHome/OpenFOAM/ThirdParty-2.1.1/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/home/MyHome/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/MyHome/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o Thanks. |
Greetings sudo and welcome to the forum!
Perhaps it's best that you ask for the specific version 2.6.1, if possible. From a quick search, I found this post: http://code-saturne.org/forum/viewtopic.php?f=8&t=987 In essence, according to the information on that thread, Code-Saturne is probably also not compatible with libccmio versions above 2.6.1 as well. After you've managed to build with 2.6.1, maybe you'll more easily be able to upgrade the code to build with libccmio 2.6.24. Best regards, Bruno |
Thanks Bruno, I contacted our CD Adapco rep and he said they do not keep repository of older versions. He suggested trying to modify the script to adapt it to the new version (2.06.024), I am not sure how hard or even possible this is going to be. Any ideas?
|
Quick answer: you can find the old version 2.6.1 embed into the following script: https://github.com/ogoe/OpenFOAM-1.6...mio-2.6.1.spec
|
Bruno,
Thanks for your quick response, but unfortunately all the ftp links are not working from here, and the Lawrence Livermore VISIT's Third Party directory link is 404. |
:eek: I had no idea they had taken it out... well, googling for "libccmio-2.6.1.tar.gz" still brings some old copies back into light...
But I'm starting to see that it's best to request a copy of the latest library version, so that the ccm26ToFoam application can be upgraded... |
Thanks, Bruno
- I did a search for libccmio 2.6.1 and I downloaded it, it's about 30MB uncompressed in size, no? - CD Adapco already sent the latest version of their libccmio, version 2.06.024, which I believe is their latest version. The errors I posted in the first thread were from running the Allwmakelibccmio that came with OF with the latest version. - I'll try compiling with the 2.6.1 version tomorrow and report back. |
All times are GMT -4. The time now is 13:42. |