|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Kuan Tek Seang
Join Date: Mar 2009
Posts: 31
Rep Power: 17 ![]() |
something like that, depends on what type of shell you use.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
thank you kumar
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17 ![]() |
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) |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
is the problem comes from compatibility between O.FOAM and gentoo?
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 ![]() |
Your gcc might be the problem. Try using the OpenFOAM one from the download site.
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 ![]() |
Hi,
the problem is resolved ![]() |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 |