|
[Sponsors] |
August 6, 2005, 22:10 |
Hi,
what is the exact synta
|
#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 |
|
August 7, 2005, 00:26 |
something like that, depends o
|
#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.
|
|
March 12, 2006, 21:52 |
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 |
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 |
|
March 12, 2006, 23:53 |
Hi olivier
let me try to a
|
#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 |
|
March 13, 2006, 08:44 |
thank you kumar
|
#5 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 |
thank you kumar
|
|
March 13, 2006, 10:38 |
Hi Olivier,
Are you using 32-
|
#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) |
|
March 13, 2006, 11:25 |
Thanks Hemph
it is the vers
|
#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 |
|
March 13, 2006, 11:40 |
is the problem comes from com
|
#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?
|
|
March 13, 2006, 12:19 |
I do not think so, at least no
|
#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. |
|
March 13, 2006, 13:07 |
THE EROORS IS:
/home/baily/Op
|
#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 |
|
March 13, 2006, 14:01 |
Your gcc might be the problem.
|
#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.
|
|
March 14, 2006, 15:09 |
Hi,
the problem is resolved h
|
#12 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 |
Hi,
the problem is resolved thanks for your help kumar, Hemph and Mattijs. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I think simple question | mneo | Main CFD Forum | 2 | April 8, 2004 05:23 |
Simple question | reader | Main CFD Forum | 1 | July 14, 2003 14:29 |
A simple question! | Raintung | FLUENT | 3 | February 27, 2003 11:11 |
a simple question | ann | FLUENT | 3 | January 14, 2003 02:22 |
some simple question,please help | ann | FLUENT | 4 | December 11, 2002 02:09 |