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

Problems Installing OF 1.6 32 bit

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2009, 18:35
Default Problems Installing OF 1.6 32 bit
  #1
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
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
bucksfan is offline   Reply With Quote

Old   July 29, 2009, 18:46
Default
  #2
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
grtabor is on a distinguished road
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
grtabor is offline   Reply With Quote

Old   July 29, 2009, 18:54
Default
  #3
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
never mind i got it. my bashrc file didn't save for some reason when i updated it
bucksfan is offline   Reply With Quote

Old   July 29, 2009, 18:56
Default
  #4
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
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?
bucksfan is offline   Reply With Quote

Old   July 29, 2009, 19:06
Default
  #5
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
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
bucksfan is offline   Reply With Quote

Old   July 30, 2009, 06:05
Default
  #6
New Member
 
Steffen Goertz
Join Date: Jul 2009
Posts: 4
Rep Power: 16
Ghash is on a distinguished road
hi bucksfan,

I've got exactly the same problem...

There is no platforms directory, and I don't know what to choose instead.
Ghash is offline   Reply With Quote

Old   July 30, 2009, 06:18
Default
  #7
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
I think you are missing one file: ThirdParty-1.6.linuxGcc.gtgz.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   July 30, 2009, 06:26
Default
  #8
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
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
andersking is offline   Reply With Quote

Old   July 30, 2009, 10:31
Default
  #9
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 16
bucksfan is on a distinguished road
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
bucksfan is offline   Reply With Quote

Old   July 30, 2009, 10:51
Default
  #10
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
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
santos is offline   Reply With Quote

Old   August 2, 2009, 12:16
Default
  #11
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 16
carlos is on a distinguished road
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.
carlos is offline   Reply With Quote

Old   August 3, 2009, 04:18
Default missing CintDefs.H
  #12
New Member
 
Nugroho Agung Prasetyo
Join Date: Mar 2009
Posts: 2
Rep Power: 0
tty0 is on a distinguished road
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
tty0 is offline   Reply With Quote

Old   August 3, 2009, 04:36
Default
  #13
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
@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
andersking is offline   Reply With Quote

Old   August 3, 2009, 06:38
Default
  #14
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 16
carlos is on a distinguished road
Quote:
Originally Posted by santos View Post
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
Helo Santos

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
carlos is offline   Reply With Quote

Old   August 3, 2009, 07:00
Default
  #15
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
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
santos is offline   Reply With Quote

Old   August 3, 2009, 08:35
Default
  #16
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 16
carlos is on a distinguished road
Quote:
Originally Posted by santos View Post
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
I was running makeParaView (as written on the README) with out the prefix 'sh' or './'. Now i managed compiling ParavView. Thank you Santos and Dr Andrew for your help.

Regards,
Nurye
carlos is offline   Reply With Quote

Old   August 3, 2009, 10:31
Default
  #17
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
Quote:
Originally Posted by Ghash View Post
hi bucksfan,

I've got exactly the same problem...

There is no platforms directory, and I don't know what to choose instead.
I got the same problem. I tracked it down to the bashrc file where for the i686 processor is no settings.
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.
wouter is offline   Reply With Quote

Old   August 3, 2009, 11:08
Default
  #18
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
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?
wouter is offline   Reply With Quote

Old   August 3, 2009, 22:44
Default
  #19
New Member
 
Nugroho Agung Prasetyo
Join Date: Mar 2009
Posts: 2
Rep Power: 0
tty0 is on a distinguished road
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
tty0 is offline   Reply With Quote

Old   August 4, 2009, 02:36
Default
  #20
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 16
carlos is on a distinguished road
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
carlos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:10.