|
[Sponsors] |
July 29, 2009, 18:35 |
Problems Installing OF 1.6 32 bit
|
#1 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
I'm pretty new to the whole linux and CFD scene but I built 1.5 in red hat, now I'm trying to build 1.6 on ubuntu 9.04 and every time i do i get this same error.
adrian@adrian:~/OpenFOAM/OpenFOAM-1.6$ ./Allwmake + cd wmake/src + make Makefile:55: /rules//general: No such file or directory Makefile:56: /rules: No such file or directory make: *** No rule to make target `/rules'. Stop. + cd + ./Allwmake ./Allwmake: 1: ./Allwmake: not found + src/Allwmake + wmakePrintBuild -check src/Allwmake: 1: wmakePrintBuild: not found + /bin/rm -f OpenFOAM/Make//global.? + wmakeLnInclude OpenFOAM src/Allwmake: 1: wmakeLnInclude: not found + wmakeLnInclude OSspecific/ src/Allwmake: 1: wmakeLnInclude: not found + Pstream/Allwmake + wmake libso dummy Pstream/Allwmake: 1: wmake: not found + wmake libo OSspecific/ src/Allwmake: 1: wmake: not found + wmake libso OpenFOAM src/Allwmake: 1: wmake: not found + wmake libso lagrangian/basic src/Allwmake: 1: wmake: not found + wmake libso triSurface src/Allwmake: 1: wmake: not found + wmake libso edgeMesh src/Allwmake: 1: wmake: not found + wmake libso surfMesh src/Allwmake: 1: wmake: not found + decompositionMethods/Allwmake + wmake libso decompositionMethods decompositionMethods/Allwmake: 1: wmake: not found + [ -d ] + wmake libso meshTools src/Allwmake: 1: wmake: not found + wmake libso finiteVolume src/Allwmake: 1: wmake: not found + wmake libso sampling src/Allwmake: 1: wmake: not found + wmake libso dynamicMesh src/Allwmake: 1: wmake: not found + wmake libso dynamicFvMesh src/Allwmake: 1: wmake: not found + wmake libso topoChangerFvMesh src/Allwmake: 1: wmake: not found + wmake libso fvMotionSolver src/Allwmake: 1: wmake: not found + wmake libso engine src/Allwmake: 1: wmake: not found + wmake libso ODE src/Allwmake: 1: wmake: not found + wmake libso randomProcesses src/Allwmake: 1: wmake: not found + thermophysicalModels/Allwmake + wmake libso specie thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso thermophysicalFunctions thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso liquids thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso liquidMixture thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso solids thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso solidMixture thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso basic thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso reactionThermo thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso laminarFlameSpeed thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso chemistryModel thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso pdfs thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso radiation thermophysicalModels/Allwmake: 1: wmake: not found + wmake libso barotropicCompressibilityModel thermophysicalModels/Allwmake: 1: wmake: not found + transportModels/Allwmake + wmake libso incompressible transportModels/Allwmake: 1: wmake: not found + wmake libso interfaceProperties transportModels/Allwmake: 1: wmake: not found + turbulenceModels/Allwmake + LES/Allwmake + wmakeLnInclude ../incompressible/LES LES/Allwmake: 1: wmakeLnInclude: not found + wmake libso LESfilters LES/Allwmake: 1: wmake: not found + wmake libso LESdeltas LES/Allwmake: 1: wmake: not found + incompressible/Allwmake + wmake libso turbulenceModel incompressible/Allwmake: 1: wmake: not found + wmake libso RAS incompressible/Allwmake: 1: wmake: not found + wmake libso LES incompressible/Allwmake: 1: wmake: not found + compressible/Allwmake + wmake libso turbulenceModel compressible/Allwmake: 1: wmake: not found + wmake libso RAS compressible/Allwmake: 1: wmake: not found + wmake libso LES compressible/Allwmake: 1: wmake: not found + lagrangian/Allwmake + wmake libso basic lagrangian/Allwmake: 1: wmake: not found + wmake libso solidParticle lagrangian/Allwmake: 1: wmake: not found + wmake libso intermediate lagrangian/Allwmake: 1: wmake: not found + wmake libso dieselSpray lagrangian/Allwmake: 1: wmake: not found + wmake libso dsmc lagrangian/Allwmake: 1: wmake: not found + wmake libso coalCombustion lagrangian/Allwmake: 1: wmake: not found + molecularDynamics/Allwmake + wmake libso potential molecularDynamics/Allwmake: 1: wmake: not found + wmake libso molecularMeasurements molecularDynamics/Allwmake: 1: wmake: not found + wmake libso molecule molecularDynamics/Allwmake: 1: wmake: not found + postProcessing/Allwmake + wmake libo postCalc postProcessing/Allwmake: 1: wmake: not found + wmake libso foamCalcFunctions postProcessing/Allwmake: 1: wmake: not found + functionObjects/Allwmake + wmake libso field functionObjects/Allwmake: 1: wmake: not found + wmake libso forces functionObjects/Allwmake: 1: wmake: not found + wmake libso IO functionObjects/Allwmake: 1: wmake: not found + wmake libso utilities functionObjects/Allwmake: 1: wmake: not found + wmake libso systemCall functionObjects/Allwmake: 1: wmake: not found + conversion/Allwmake + wmake libso conversion/Allwmake: 1: wmake: not found + wmake libso autoMesh src/Allwmake: 1: wmake: not found + wmake libso errorEstimation src/Allwmake: 1: wmake: not found + fvAgglomerationMethods/Allwmake + wmake libso MGridGenGamgAgglomeration fvAgglomerationMethods/Allwmake: 1: wmake: not found + applications/Allwmake + wmake all solvers applications/Allwmake: 1: wmake: not found + wmake all utilities applications/Allwmake: 1: wmake: not found + [ = doc ] any info on why or what i can do would be great. I made sure my qmake and my gcc are all correct as well. thanks |
|
July 29, 2009, 18:46 |
|
#2 |
Senior Member
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17 |
To me it looks like your environment variables are not correctly set - the script seems not to be able to find wmake at all.
Out of interest, why are you trying to compile it from scratch? Gavin |
|
July 29, 2009, 18:54 |
|
#3 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
never mind i got it. my bashrc file didn't save for some reason when i updated it
|
|
July 29, 2009, 18:56 |
|
#4 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
is there any other way to compile it? i need it on this machine and there is no other version that is currently on it, so that is the only way am i correct?
|
|
July 29, 2009, 19:06 |
|
#5 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
ok so now that i did that and when i tried to source it it gave me this error.
adrian@adrian:~$ . .bashrc Warning in /home/adrian/OpenFOAM/OpenFOAM-1.6/etc/settings.sh: Cannot find /home/adrian/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux installation. Please install this compiler version or if you wish to use the system compiler, change the 'compilerInstall' setting to 'System' in this file when i try to go into the file to change it over there isn't even a platforms directory in the gcc-4.3.3 directory, so how am i supposed to change it or should i be looking somewhere else? thanks |
|
July 30, 2009, 06:05 |
|
#6 |
New Member
Steffen Goertz
Join Date: Jul 2009
Posts: 4
Rep Power: 17 |
hi bucksfan,
I've got exactly the same problem... There is no platforms directory, and I don't know what to choose instead. |
|
July 30, 2009, 06:18 |
|
#7 |
Senior Member
|
I think you are missing one file: ThirdParty-1.6.linuxGcc.gtgz.
Regards, Jose Santos |
|
July 30, 2009, 06:26 |
|
#8 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
Hi,
Since, I'd written it anyway - I've added instructions on how to install the git version of OF-1.6.x It's available at http://openfoamwiki.net/index.php/Howto_install_OpenFOAM-1.6.x_(git_repository_version) It should work, as I wrote it up as I performed the steps. note that the easiest thing to do for the missing compiler is to change to the system compiler, as long as you've got a 4.3.3+ version (such as ubuntu jaunty 9.04) see section 2 of the linked page. Cheers Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
July 30, 2009, 10:31 |
|
#9 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
If i use you git installation will i need to also download the ThirdParty-1.6.linuxGcc.gtgz file? and if so where should it be unpacked?
thanks |
|
July 30, 2009, 10:51 |
|
#10 |
Senior Member
|
I think you will need it unless you want to compile everything from source by following Andrew King instructions (above).
Anyway, I managed to install OpenFOAM on 2 different systems just by following what is said in http://www.opencfd.co.uk/openfoam/linux.html Give it a try! After it is up and running you could always recompile it later. Regards, Jose Santos |
|
August 2, 2009, 12:16 |
|
#11 |
New Member
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Hello Foamers
When installing the new version of OpenFOAM (OF-1.6), I encountered an error saying that makeParaView is not found. In ThirdParty-1.6 directory, both makeParaView and makeQt files are present. here is the error message: bash: makeParaView: command not found I tried the instruction on 7.1 and i got similar error bash: makeQt: command not found However, i successfully compiled the PV3FoamReader module. Can anyone tell me how to fix this? Thanks Nurye Last edited by carlos; August 2, 2009 at 12:59. |
|
August 3, 2009, 04:18 |
missing CintDefs.H
|
#12 |
New Member
Nugroho Agung Prasetyo
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Hello all,
i want to install OpenFOAM 1.6, and i've following all the instruction but still have a problem. make: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/CintDefs.H', needed by `OPwrite.dep'. Stop. please tell me what is the problem?? i've search the files (CintDefs.H) and there is no file with that name in the OpenFOAM folder. Agung, Jakarta |
|
August 3, 2009, 04:36 |
|
#13 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
@tty0
If you're compiling from scratch, then you've probably got old *.dep files around. Running wcleanAll from the OpenFOAM-1.6.x directory (followed by ./Allwmake ) should fix it. The other alternative is to use the pre-compiled binaries instead. (The instructions I posted before compile everything from scratch - this means you get the latest bug-fixes, but spend a lot of time compiling). If you've not used foam before, the binaries are probably the better way to go. @carlos you probably mean ./makeParaView, the current directory is (usually) not in your executable path - note that if you're not sure why this is you should probably start with the binary installation. Cheers, Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
August 3, 2009, 06:38 |
|
#14 | |
New Member
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Quote:
I also followed the instructions given in http://www.opencfd.co.uk/openfoam/linux.html. Everything went right except compiling the paraview part. Even I managed building the PV3FoamReader module. i got the following error when i run makeParaView: bash: makeParaView: command not found I also tried the instruction 7.1 and i got similar error bash: makeQt: command not found In ThirdParty-1.6 directory, both makeParaView and makeQt files are present. And, I used qt version : qt-4.3.5. Can you tell me what i did wrong? Thanks Nurye |
||
August 3, 2009, 07:00 |
|
#15 |
Senior Member
|
1-Did you try to use the pre-compiled packages before trying to compile paraview? That is the easiest approach. And if you already have qt-4.3.5, you dont need to compile qt.
2-makeParaView and makeQt are scripts. In order to run them, you can either use 'sh makeParaView' or './makeParaView'. Regards, Jose Santos |
|
August 3, 2009, 08:35 |
|
#16 | |
New Member
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Quote:
Regards, Nurye |
||
August 3, 2009, 10:31 |
|
#17 | |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Quote:
Are they missing because the i686 is not supported or is there another problem I have not found. Last edited by wouter; August 3, 2009 at 11:06. |
||
August 3, 2009, 11:08 |
|
#18 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
I think I found my problem, I downloaded the 64 bit first, after the problem I downloaded the 32 bit version as well and unpacked it, there where no problems anymore. i686 is not 64 bit?
|
|
August 3, 2009, 22:44 |
|
#19 |
New Member
Nugroho Agung Prasetyo
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Thanks to andrew
now my installation is running good, at least until it asking for cmake . the distribution doesn't including cmake in the distribution (64 bit) so i install it and everything is fine now . cheers , Agung |
|
August 4, 2009, 02:36 |
|
#20 |
New Member
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Hi all,
I am newbie to OpenFOAM. The problem is that damBreak tutorial is not giving me results. When I compile the interFoam solver, i got a warning message which says .........../OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/readPISOC ontrols.H:3: warning: unused variable "ncorr". Can anyone tell me what i did wrong? Thanks Nurye |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems with installing OpenFOAM 1.6 | su_junwei | OpenFOAM Installation | 8 | September 10, 2009 13:54 |
installing gambit problems | aidank | ANSYS Meshing & Geometry | 1 | July 6, 2009 02:06 |
LinuxAMD64 version of java is actually 32 bit | foret37 | OpenFOAM Bugs | 1 | October 19, 2007 04:26 |
STAR-CD v4.02 parallel problems on Win XP 64 bit | Kasper | Siemens | 3 | September 24, 2007 07:06 |
Problems installing CFX on Sun Unix Platform | Haley | CFX | 2 | November 9, 2001 10:52 |