Menu

#2 RH 7.* g77 -O2 optimization problem

open
nobody
None
5
2002-01-26
2002-01-26
No

For some reason, -O2 with RH 7.2 g77 (haven't tried any
other distributions) and the dual dunssource option
causes problems. Comparing timings, the -O2
optimization doesn't seem to give any advantage over
-O, so we might want to switch to -O in general. Has
any one else experienced problems with this? The
problem turns up in the cylinder example case.

Discussion

  • osman buyukisik

    osman buyukisik - 2002-01-26

    Logged In: YES
    user_id=6515

    No, on my SuSE7.3 with gcc 2.95.3,g77 0.5.25 seems to work
    ok.

     
  • Douglas Schwer

    Douglas Schwer - 2003-09-24

    Logged In: YES
    user_id=428424

    This seems to be a recurring problem with g77. It seems to
    have
    problems with several of the example cases, where all other
    compilers will work fine. I would suggest for Linux people
    use the Intel Compilers. It's available for free for
    non-commercial uses, and is more efficient than g77 and much
    more efficient than f2c. I have created a Makesystem_i386ic
    file for the Intel compilers for any who want to use them.
    If you want to use the traditional f2c compiler with the
    fort77 front-end, I have also included the
    Makesystem_i386f2c file.

     

Log in to post a comment.

MongoDB Logo MongoDB