|
[Sponsors] |
January 8, 2010, 01:57 |
Completly Confused
|
#1 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
1- I downloaded OpenFOAM-1.6.x on my Debian 5 (lenny) partition and ran Allwmake, after about 3 hours, I have the programme running in perfect conditions, including paraFoam and paraview (I have just finnished the cavity tutorial), during the compilation, there were warnnings about type cast etc.... but no error messages (I have a log of all output messages during compilation, the only call to the system is a call to flex and lex).
2- I did the same on my OpenSUSE 11.2 partition and there is a ton of error messages and the compilation terminates in less than 4 minutes. 3- The developers of OpenFOAM tell us that the OpenFOAM is (was) developed on an OpenSUSE (Ubuntu) platform. Readers of the forum will tell me that the libraries and dependencies on the Debian partition are those needed by the programme and I do agree with that and can buy this answer. Is there a way of knowing what exactly is needed in order to compile OpenFOAM on any Linux distro Am I dreaming? Appreciate your time reading my post. ................................. Open Source For ever ............................................ |
|
January 8, 2010, 03:50 |
|
#2 |
New Member
PA
Join Date: Jan 2010
Posts: 6
Rep Power: 16 |
Please take a look at FreeFOAM.
|
|
January 8, 2010, 04:56 |
|
#3 |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
Hi Ahmed
Maybe this thread can help you. http://www.cfd-online.com/Forums/ope...tallation.html I switched back to OpenSuse 11.1. I had some serious problems with 11.2. Regards |
|
January 8, 2010, 05:02 |
|
#4 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
http://freefoam.sourceforge.net/index.html
Yes, I came across that programme time ago, but still there is no release of the project (there are rc) Thanks for the information.It would be a good strike when released, my best wishes to those behind the project. For you tss: I have the first edition of the book, programmes are on a 3.5 inch magnetic disk, simply said, I cannot read them my self, I guess I will take the disk to the local store and see if they can transfer them to a modern CD. You see, I am a bit old, and few weeks from now, I will be declared officially, a retiree. I hope to enjoy my retirement with freeFOAM or OpenFOAM or whatever. fishing is not an option for me, the river Mohawk is completely frozen and will keep so till April. Good Luck to all |
|
January 8, 2010, 05:13 |
|
#5 |
New Member
PA
Join Date: Jan 2010
Posts: 6
Rep Power: 16 |
I helped the FreeFOAM developer to maintain the Mac OS X and FreeBSD port of the project and have been using it for months. According to my experience it is quite matured for Unix (like) operating systems. All you need is a mpi implementation and other libs will be fetched and compiled automatically (of course you can also ask cmake to use system libraries). If you encounter any problems in Linux distros (I don't use Linux), you can file a bug report, and I think miwi (the author) will reply quickly.
Well... The bad news is... I am still very young, and instead of fishing, I have to learn all the complex stuffs in fluid mechanics: ( |
|
January 8, 2010, 05:20 |
|
#6 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
Thanks a lot for your reply, Yes I read that thread many times, I also read Alberto blog http://albertopassalacqua.com/?p=532 . and so, openSUSE 11.1 has the correct dependencies but 11.2 is a bloody version, may be I will try that. Any way thanks again |
||
January 10, 2010, 06:52 |
|
#7 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
I installed on my old 11.1 32 bits partition, error messages none My question: were you using OpenSUSE11.2 64 bits installation? This is what I believe, checking the forum for problems installing/running on OpenSUSE, all of them refer to 64 bits installations, I think the problem lies in the 64 bits ThirdParty files not the distribution, there is no big difference between 11.1 and 11.2 |
||
January 10, 2010, 18:11 |
|
#8 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
The only "difficulty" is that the 64 bit third party does not contain cmake, but this is clearly evident since the beginning. If you want to use the ThirdParty compiler, simply get cmake from the 32-bit third party package. As an alternative, if you want to use the system compiler , you might want to try this procedure I wrote: http://albertopassalacqua.com/?p=532 which in summary is: - Install OpenFOAM - Delete ThirdParty gcc compiler (or rename it) - Install C/C++ development pattern in YaST - Install openSUSE cmake - Install openSUSE libqt4-devel (for paraview) - Build using the system compiler The rest is standard procedure. Good luck.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
January 11, 2010, 03:27 |
|
#9 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Hi Alberto
Yes, I read your blog (see two post before), but as a true Italian as you are, you like self marketing (no offence), I noticed the absence of cmake, thought that Allwmake will take care of that, but it did not, then I tried your blog, and got the same result, you see, my idea is that Allwmake need to be rewritten (give it some kind of AI so it can solve this kind of problems). The binary files provided on the web portal of the developers are good to start with OpenFOAM, but you arrive at a point where you need to be able to modify and compile the programme on your own Linux distro without these nagging problems, that is not dream land, but it is much easier than starting a new fork I wish you success with your blog and I think you can add there all the documentation you wanted without any references to the developers, do not include their logo and other legal stuff, just a plain talk. I really believe that OpenFOAM users need such a blog, Thanks for your reply and Good luck To make my point clear, I wish you could have a look at this web site http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2008/ scroll down to the schedule listing, and check what they have there for free download .................................................. ................................ Open Source For Ever .................................................. ............................................ Last edited by Ahmed; January 11, 2010 at 03:48. |
|
January 11, 2010, 08:34 |
|
#10 | |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
Quote:
I were using the 64-bit version and I agree with you about the problem. I'm quite sure that I will switch to 11.2 one day. It's a quite good version. Actually, I haven't got the time to handle the problems and (maybe) the experience. |
||
January 11, 2010, 16:40 |
|
#11 | |||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
To do that you must post your error messages, or it is not possible to diagnose the problem. Quote:
I use openSUSE, Red Hat Enterprise 5 and I used ubuntu in the past. Generally, after some minor problems with dependencies, recompiling OpenFOAM is straightforward. Most of the time, the difficulties are due to a wrong configuration of the system (missing packages, sourcing config script, ...). Having a working paraFoam reader is another story, and the reader on the OF wiki comes handy What a fork has to do with this thread is not really clear. Maybe we should stay on topic? Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||||
January 11, 2010, 16:46 |
|
#12 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
P.S. I'm working on a live distribution based on opensuse 11.2 with some CFD tools. Are you interested in trying it? If so, do you prefer GNOME or KDE 4? Thanks
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. Last edited by alberto; January 11, 2010 at 16:59. Reason: Added live distribution note |
||
January 12, 2010, 03:50 |
|
#13 | |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
Quote:
the main problem was the paraFoam command. Yes, I could use foamToVTK and paraview commands, but I didn't like it and the postprocessing wasn't as good as the straight way. I'm definitely interested in a well working live distribution. That's maybe a good way to fast setup some unused computer to do some work. I've just played a bit around with CAELinux. I would prefer KDE 4. Regards |
||
January 12, 2010, 04:42 |
|
#14 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Hello Alberto
No way, compiling on 64 bits OpenSUSE is not possible, I copied the cmake folder from the 32 bits third party files, tried again, but failed, here I post the top part of the error log, till the same old error message of g++: no input files appear make: Nothing to be done for `all'. + '[' -n gcc ']' + export CC=gcc + CC=gcc + '[' -n g++ ']' + export CXX=g++ + CXX=g++ + '[' -n '-m64 -fPIC' ']' + export 'CFLAGS=-m64 -fPIC' + CFLAGS='-m64 -fPIC' + '[' -n '-m64 -fPIC' ']' + export 'CXXFLAGS=-m64 -fPIC' + CXXFLAGS='-m64 -fPIC' + '[' -n -m64 ']' + export LDFLAGS=-m64 + LDFLAGS=-m64 + cd malloc + ./Allwmake + wmake libso hoard '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libhoard.so' is up to date. + wmake libo fbsdmalloc '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libfbsdmalloc.o' is up to date. + case "$WM_MPLIB" in + '[' -r /home/ahmed/OpenFOAM/ThirdParty-1.6.x/openmpi-1.3.3/platforms/linux64GccDPOpt/lib/libmpi.so ']' + echo 'have OPENMPI shared library' have OPENMPI shared library + cd scotch_5.1 + wmake libso src/libscotch '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libscotch.so' is up to date. + cd metis-5.0pre2 + wmake libso GKlib '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libGKlib.so' is up to date. + wmake libso libmetis '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libmetis.so' is up to date. + '[' OPENMPI = MPI -o -d /home/ahmed/OpenFOAM/ThirdParty-1.6.x/openmpi-1.3.3/platforms/linux64GccDPOpt ']' + cd ParMetis-3.1 + WM_OPTIONS=linux64GccDPOptOPENMPI + wmake libso METISLib '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/openmpi-1.3.3/libmetis-parmetis.so' is up to date. + wmake libso ParMETISLib '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/openmpi-1.3.3/libparmetis.so' is up to date. + wmake libso ParMGridGen-1.0/MGridGen/IMlib '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libIMlib.so' is up to date. + wmake libso ParMGridGen-1.0/MGridGen/Lib '/home/ahmed/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libMGridGen.so' is up to date. + wmakePrintBuild -check version changed from previous build + /bin/rm -f 'OpenFOAM/Make/linux64GccDPOpt/global.?' + wmakeLnInclude OpenFOAM + wmakeLnInclude OSspecific/POSIX + Pstream/Allwmake + wmake libso dummy g++: no input files make: *** [libNULL.so] Error 1 + case "$WM_MPLIB" in + set +x Note: ignore spurious warnings about missing mpicxx.h headers I used the supplied gcc and again tried with the system gcc and it gives the same errors May be, the flex is not the right one for OpenFOAM 1.6.x on 64 bits OpenSUSE 11.2, I really do not know, but I feel it, these Third Party filles have something off. I will wait to see your OpenSUSE ( 64 bits ) live distro Good luck to all ...................................... Open Source For Ever ........................................ |
|
January 12, 2010, 08:15 |
|
#15 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
The distribution is based on openSUSE 11.2, and will include engrid, maxima, grace, cmake, gcc 4.4.1, OF 1.6.x (available for the user). The list of software is temporary, since first I would like to have a well working system. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||
January 12, 2010, 09:12 |
|
#16 | |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
Quote:
Looking forward to here from you. Best |
||
January 12, 2010, 15:35 |
|
#17 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hello,
at the moment I have only the "USB image" available, which requires a quite big pen-drive (8GB), and it includes a full openSUSE 11.2 desktop, with compilers, OF 1.6.x, engrid, netgen, xmgrace, wxMaxima and some other tool. If you want to give it a try, you can download it from here http://susestudio.com/download/c470b...0.0.oem.tar.gz The compressed image is 1.8GB, the extracted one 7.2GB, so you need at least ~ 8GB of free space on your hard drive to proceed. Once you downloaded the image:
P.S. Unfortunately the image is hosted on SUSE Studio for 7 days from today, then I might have to rebuild it (just a click, not the whole work ;-)). I plan to put it somewhere else, but I still have to find a place. Of course, this release is to take "as is", since it is still under development. Constructive feedback is welcome! Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
January 18, 2010, 05:26 |
|
#18 |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
Hello Alberto,
I've used your live-version for a couple of days. All in all worked very well. I was just missing salome and the dd-command doesn't produce a working stick. I approve the use of the kiwi-tools-imagewriter. I didn't find a way to change the display resolution, too. I definitely can recommend your version. Regards |
|
January 18, 2010, 13:44 |
|
#19 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
- Salomé is work in progress due to some packaging problem on the 64 bit version and to their not exactly recent dependencies, but thanks to the help of one openSUSE packager (Andrea Florio), it will work. If needed, I can temporarily include Salomé-Meca. - About dd, I'll try it and check. I used the kiwi-image-writer myself ;-) - About the resolution: did it detect it wrong? What video card do you have? If you need nVidia accelerated drivers, you can easily install them following this http://en.opensuse.org/NVIDIA_drivers To change the resolution, there should be a tool in Menu (SuSE logo) -> Configure Desktop -> General -> Computer administration -> Display If this does not work, there is a SuSE tool you have to run as root, called "SaX2". However it should not be necessary with the new X server. I hope this helps, and of course any other feedback is welcome! Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
January 19, 2010, 04:42 |
|
#20 |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 17 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
confused on CFX error message | mactech001 | ANSYS Meshing & Geometry | 1 | November 5, 2009 06:45 |
confused by "periodic Non-Conformal Grids" | turbinesv | FLUENT | 1 | February 12, 2009 10:00 |
Very confused about the DPM model. Need help! | cecillia | FLUENT | 0 | June 4, 2008 19:07 |
Confused | F | Main CFD Forum | 6 | August 9, 2004 06:32 |
Confused | littlelz | Main CFD Forum | 8 | October 23, 2003 13:43 |