| View previous topic :: View next topic |
| Author |
Message |
sungchan
Joined: 27 Jul 2004 Posts: 6
|
Posted: Thu Aug 19, 2004 6:38 am Post subject: using -L $PGI/linux86/5.2/liblf |
|
|
| When I compiled a program using "-L $PGI/linux86/5.2/liblf", I have a different (and wrong) answer. I also saw the same thing when I compiled the program on Opteron. How do I get around this problem. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Aug 19, 2004 10:45 am Post subject: -Mlfs |
|
|
What happens when you compile with "-Mlfs" instead of "-L$PGI/linux86/5.2/liblf"?
- Mat |
|
| Back to top |
|
 |
sungchan
Joined: 27 Jul 2004 Posts: 6
|
Posted: Fri Aug 20, 2004 12:00 pm Post subject: Re: -Mlfs |
|
|
| mkcolg wrote: | What happens when you compile with "-Mlfs" instead of "-L$PGI/linux86/5.2/liblf"?
- Mat |
It gave the same problem. One more note, I have the same problem with Intel 7.1 compiler. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Aug 20, 2004 1:35 pm Post subject: Not Sure. |
|
|
In fortran, the only thing -Mlfs (aka "-L$PGI/linux86/5.2/liblf") provides is the ability to use 64-bit file addressing in 32-bit environments. Large file support is also available for C but you need to call different functions. I can not think of any simple reason why your program is getting wrong answers. I would suspect since it also fails with ifc 7.1 that it might be something in your program or your system environment.
Can you provide a small example which exhibits this behavior?
Thanks,
Mat |
|
| Back to top |
|
 |
sungchan
Joined: 27 Jul 2004 Posts: 6
|
Posted: Mon Aug 23, 2004 12:11 pm Post subject: Re: Not Sure. |
|
|
| mkcolg wrote: | In fortran, the only thing -Mlfs (aka "-L$PGI/linux86/5.2/liblf") provides is the ability to use 64-bit file addressing in 32-bit environments. Large file support is also available for C but you need to call different functions. I can not think of any simple reason why your program is getting wrong answers. I would suspect since it also fails with ifc 7.1 that it might be something in your program or your system environment.
Can you provide a small example which exhibits this behavior?
Thanks,
Mat |
Unfortunately, I don't have any small example. My model is quite a big 3-d hydrodynamic model, CH3D. I have been using this for a long time. I ran this code on SGI, HP, alpha station, even on PC. I only saw this problem on Linux workstations. Currently, it works with -Kieee switch using 5.2 on my workstation with 4 Xeon processors (but number of processors shouldn't matter because this is a serial version). Interestingly, "-pc 64" and "-Mlfs" option gives different answers but not drifting away. |
|
| Back to top |
|
 |
|