CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   AMD64 a simple question (http://www.cfd-online.com/Forums/openfoam-installation/57675-amd64-simple-question.html)

hsieh August 6, 2005 21:10

Hi, what is the exact synta
 
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

seang August 6, 2005 23:26

something like that, depends o
 
something like that, depends on what type of shell you use.

olivier March 12, 2006 21:52

Hi, 1- where I have to make t
 
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

kumar2 March 12, 2006 23:53

Hi olivier let me try to a
 
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

olivier March 13, 2006 08:44

thank you kumar
 
thank you kumar

hemph March 13, 2006 10:38

Hi Olivier, Are you using 32-
 
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)

olivier March 13, 2006 11:25

Thanks Hemph it is the vers
 
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 March 13, 2006 11:40

is the problem comes from com
 
is the problem comes from compatibility between O.FOAM and gentoo?

hemph March 13, 2006 12:19

I do not think so, at least no
 
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.

olivier March 13, 2006 13:07

THE EROORS IS: /home/baily/Op
 
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

mattijs March 13, 2006 14:01

Your gcc might be the problem.
 
Your gcc might be the problem. Try using the OpenFOAM one from the download site.

olivier March 14, 2006 15:09

Hi, the problem is resolved h
 
Hi,
the problem is resolved http://www.cfd-online.com/OpenFOAM_D...part/smile.gif thanks for your help kumar, Hemph and Mattijs.


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