LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help !! Emergency !!! f2c/gcc , g77 issue (https://www.linuxquestions.org/questions/linux-software-2/need-help-emergency-f2c-gcc-g77-issue-57814/)

xudeyong 05-02-2003 08:36 AM

Need help !! Emergency !!! f2c/gcc , g77 issue
 
Hi everyone,

We have same codes run the two machine(both linux): Pentium III 1.0GHZ and Xeon 1.8GHZ, and we expect to see faster run on Xeon machine since it has faster CPU and more memory.

1 Our code is Fortran code, we use f2c to convert the codes to C codes first, then use GCC to compile them. Codes run well on both machines, but it just runs slower on the faster machine(Xeon 1.8GHZ).

2 Then we use G77 to compile and link, there is no error when we do so, but we get incorrect results on both machines.

3 When we test some very simple codes on both machines compiled by G77 or GCC with f2c, the results show that :
codes run faster on faster machine(Xeon1.8GHZ) if compiled by G77, otherwise they run slower on faster machine(Xeon1.8GHZ) if compiled by GCC with f2c.

Is something wrong with software or CPU structure ??

Thank you very much.

Deyong





:confused: :confused: :confused: :confused: :confused: III 1.0GHZ Deyong

mcleodnine 05-02-2003 08:57 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 06:18 AM.