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 ............................................
Please take a look at FreeFOAM.
Maybe this thread can help you.
I switched back to OpenSuse 11.1. I had some serious problems with 11.2.
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
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: (
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
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
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:
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.
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
scroll down to the schedule listing, and check what they have there for free download
.................................................. ................................ Open Source For Ever .................................................. ............................................
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.
To do that you must post your error messages, or it is not possible to diagnose the problem.
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 :D
What a fork has to do with this thread is not really clear. Maybe we should stay on topic?
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?
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.
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
+ '[' -n g++ ']'
+ export 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
+ cd malloc
+ 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
+ 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
+ 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 ........................................
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. :D
Looking forward to here from you.
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
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!
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.
- 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
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!
Thanks a lot.
|All times are GMT -4. The time now is 15:12.|