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

Help with new installation on AMD linux 64 bit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2005, 12:07
Default - do export WM_64=1
  #1
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
- do

export WM_64=1

before '. .bashrc' if you want the 64bit version.

- check that you have the 64bit gcc and java and paraview etc. in the linuxAMD64 directory

- check that your PATH include these directories.
mattijs is offline   Reply With Quote

Old   September 28, 2005, 12:28
Default Hello Nikos, 1. "FATAL ERRO
  #2
New Member
 
Frank Steinbacher
Join Date: Mar 2009
Posts: 3
Rep Power: 17
frank178 is on a distinguished road
Hello Nikos,

1. "FATAL ERROR: /home/guest/.OpenFOAM-1.1/bashrc does not appear to be sourced from:
/home/guest/.bashrc"
-> change in the foamInstallationTest skript the directory path to .OpenFOAM-1.2

2. the other errors - i had to compile from source but take care to use the same java and gcc version
frank178 is offline   Reply With Quote

Old   September 28, 2005, 13:17
Default hi again and thank you for you
  #3
New Member
 
Nikos Parafestas
Join Date: Mar 2009
Posts: 4
Rep Power: 17
rapaneli is on a distinguished road
hi again and thank you for your quick reply

dear Mattijs

{- check that you have the 64bit gcc and java and paraview etc. in the linuxAMD64 directory}

do you mean that i have to put this directories in a folder called /home/guest/OpenFOAM/linuxAMD64 and not in the /home/rapaneli/OpenFOAM/platform/ folder i have them now?


{- check that your PATH include these directories.}
i am sorry but i do not understand the meaning of PATH.do you mean adding the path of this directory in /home/guest/.bashrc ?

dear Frank
1.did it it now finds only the errors
2.i have gcc-4.0.1-4.fc4.rpm installed is it the same as compiling gcc?
i did not understand what you mean by use the same version of gcc and java ....
rapaneli is offline   Reply With Quote

Old   September 28, 2005, 14:48
Default ? /home/rapaneli/OpenFOAM/plat
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
? /home/rapaneli/OpenFOAM/platform

You mentioned /home/guest before so I used that.

Forget what I said. Do exactly what the installation instructions say so get all the software in the correct place. Get someone with Unix experience to give you a hand.
mattijs is offline   Reply With Quote

Old   September 28, 2005, 16:25
Default Hi Nikos, what is meant by
  #5
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
Hi Nikos,

what is meant by plateform directory is:
"linux" for 32 bit
"linuxAMD64" for 64 bit

so:
- make a directory named OpenFOAM in your user folder.
- make another directory inside the later and name it, in 64 bit case, linuxAMD64,
- copy the following to OpenFOAM:
Source pack OpenFOAM-1.2.General.gtgz
binary pack OpenFOAM-1.2.linuxAMD64Gcc4Opt.gtgz
- unpack with tar xzf
- copy the rest of the files to linuxAMD64
- unpack with tar xzf
- modify .bashrc
- use the following command: export WM_64="on"
- you may check you environment vars by:
printenv|sort
- source from a 64 bit processor since processor type is automatically detected.

Good luck!
feel free to tell if you had more problems.

best regards,
Maka
maka is offline   Reply With Quote

Old   September 29, 2005, 13:59
Default thank you all for helping me w
  #6
New Member
 
Nikos Parafestas
Join Date: Mar 2009
Posts: 4
Rep Power: 17
rapaneli is on a distinguished road
thank you all for helping me with the installation

I did the FOAMInstalllationTEst with no eror
i did the tutorial example from the README file
but i wonder ... where is the gui?

i do not know where to start...so if somemody can give me a good starting point for learning CFD it would be a great help.
What i want to do is to make an exersise about the aerodynamic analysis of the front windshield of a car.
My teacher told me to use other commercial products like tecplot and gridgen but i want my paper to be open-source so i wonder if OpenFOAM is the right tool for the job.
Thanks
rapaneli is offline   Reply With Quote

Old   September 29, 2005, 16:39
Default ok i figured that i need FoamX
  #7
New Member
 
Nikos Parafestas
Join Date: Mar 2009
Posts: 4
Rep Power: 17
rapaneli is on a distinguished road
ok i figured that i need FoamX coomand in order to have the GUI running but i have an error

[rapaneli@localhost ~]$ export WM_64="on"
[rapaneli@localhost ~]$ FoamX
Starting NameServer with inet:localhost.localdomain:1234 ...
Starting FoamX Host Browser with inet:localhost.localdomain:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.2 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Sep 29 2005
Time : 22:32:12
Host : localhost.localdomain
PID : 25624
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/rapaneli/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/ lib/FoamX.jar
Using jar /home/rapaneli/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/ lib/jlfgr-1_0.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/rapaneli/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibr aryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoa der.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
/home/rapaneli/OpenFOAM/OpenFOAM-1.2/bin/runFoamXHB: line 131: 25624 died FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 25622).
/home/rapaneli/OpenFOAM/OpenFOAM-1.2/bin/runFoamXHB: line 66: 25622 died nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref </dev/null
rapaneli is offline   Reply With Quote

Old   September 29, 2005, 16:53
Default OK solved sorry for the flood
  #8
New Member
 
Nikos Parafestas
Join Date: Mar 2009
Posts: 4
Rep Power: 17
rapaneli is on a distinguished road
OK solved sorry for the flood ppl

for fedora core 4 users you need to install xorg-deprecated-libs, just do
yum install libXp.so.6

i now have GUI...
rapaneli is offline   Reply With Quote

Reply


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
Gambit installation under linux Alex Main CFD Forum 1 December 4, 2008 02:32
star-ccm+ linux installation.. NaMe Siemens 2 September 30, 2008 10:50
Linux installation sunnysun OpenFOAM Installation 5 May 22, 2008 14:24
Installation in a 24 linux kernel sampaio OpenFOAM Installation 0 July 20, 2005 18:37
Who have 3.24 linux help file about installation? Kevin Siemens 1 July 8, 2005 09:42


All times are GMT -4. The time now is 12:55.