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

AMD64 a simple question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2005, 21:10
Default Hi, what is the exact synta
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

what is the exact syntax to set $WM_64 to "on" on Fedora Core linux for AMD 64?

Is it
export $WM_64="on"

Thanks!

Pei
hsieh is offline   Reply With Quote

Old   August 6, 2005, 23:26
Default something like that, depends o
  #2
Member
 
Kuan Tek Seang
Join Date: Mar 2009
Posts: 31
Rep Power: 17
seang is on a distinguished road
something like that, depends on what type of shell you use.
seang is offline   Reply With Quote

Old   March 12, 2006, 20:52
Default Hi, 1- where I have to make t
  #3
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
Hi,
1- where I have to make the expression $WM_64="on"
? is it in the file: OpenFOAM/OpenFOAM-1.2/.OpenFOAM-1.2/bashrc

2- when I make wmake to compile some thing I have this error:
/home/baily/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt/libcfdTools.so: undefined reference to `__cxa_get_exception_ptr@CXXABI_1.3.1'
collect2: ld returned 1 exit status

what does it mean this error message ?

PS: I have a AMD 64, and I use gentoo
olivier is offline   Reply With Quote

Old   March 12, 2006, 22:53
Default Hi olivier let me try to a
  #4
Senior Member
 
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17
kumar2 is on a distinguished road
Hi olivier

let me try to answer your 1st question

before you run your bashrc with all the openfoam modifications just type

WM_64="on " in your command window.

then run your bashrc with all the openfoam modifications . I am using a fedora + AMD64 linux box.

i am not sure about the 2nd part

regards

kumar
kumar2 is offline   Reply With Quote

Old   March 13, 2006, 07:44
Default thank you kumar
  #5
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
thank you kumar
olivier is offline   Reply With Quote

Old   March 13, 2006, 09:38
Default Hi Olivier, Are you using 32-
  #6
Senior Member
 
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17
hemph is on a distinguished road
Hi Olivier,
Are you using 32-bit binaries? If you are using a 64-bit linux AMD64 you should probably be using the linuxAMD64Gcc4Opt-versions of the libraries.
These can be downloaded from the OpenFOAM download page.

The variable WM_64 can also be set in your .bashrc-file. (just put

export WM_64="on"

in the file)
hemph is offline   Reply With Quote

Old   March 13, 2006, 10:25
Default Thanks Hemph it is the vers
  #7
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
Thanks Hemph

it is the version which I use.
and I still have the same problem..
`__cxa_get_exception_ptr@CXXABI_1.3.1'
collect2: ld returned 1 exit status

thanks for your help
olivier is offline   Reply With Quote

Old   March 13, 2006, 10:40
Default is the problem comes from com
  #8
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
is the problem comes from compatibility between O.FOAM and gentoo?
olivier is offline   Reply With Quote

Old   March 13, 2006, 11:19
Default I do not think so, at least no
  #9
Senior Member
 
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17
hemph is on a distinguished road
I do not think so, at least not if you are using the version of gcc that you should download with OpenFOAM. The reason I asked about the libraries is because the path in your previous post indicate that you are using regular 32-bit libraries. (you can always check which version you are using by running ldd (path to binary application) )

if you type 'which gcc'
you will see which compiler you are using.
hemph is offline   Reply With Quote

Old   March 13, 2006, 12:07
Default THE EROORS IS: /home/baily/Op
  #10
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
THE EROORS IS:
/home/baily/OpenFOAM/OpenFOAM-1.2/lib/linuxAMD64Gcc4Opt/libcfdTools.so: undefined reference to `__cxa_get_exception_ptr@CXXABI_1.3.1'
collect2: ld returned 1 exit status
make: *** [/home/baily/OpenFOAM/OpenFOAM-1.2/applications/bin/linuxAMD64Gcc4Opt/icoFoam] Error 1

So I use 64-bit libraries.
for the version of gcc when I type 'which gcc' I have usr/bin/gcc
thanks
olivier is offline   Reply With Quote

Old   March 13, 2006, 13:01
Default Your gcc might be the problem.
  #11
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Your gcc might be the problem. Try using the OpenFOAM one from the download site.
mattijs is offline   Reply With Quote

Old   March 14, 2006, 14:09
Default Hi, the problem is resolved h
  #12
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17
olivier is on a distinguished road
Hi,
the problem is resolved thanks for your help kumar, Hemph and Mattijs.
olivier 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
I think simple question mneo Main CFD Forum 2 April 8, 2004 04:23
Simple question reader Main CFD Forum 1 July 14, 2003 13:29
A simple question! Raintung FLUENT 3 February 27, 2003 10:11
a simple question ann FLUENT 3 January 14, 2003 01:22
some simple question,please help ann FLUENT 4 December 11, 2002 01:09


All times are GMT -4. The time now is 22:54.