LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Closed Thread
 
Search this Thread
Old 05-02-2003, 09:36 AM   #1
xudeyong
LQ Newbie
 
Registered: May 2003
Posts: 5

Rep: Reputation: 0
Unhappy 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





III 1.0GHZ Deyong
 
Old 05-02-2003, 09:57 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile( gcc-g77) fortran with fedora core 3 gambato79 Programming 1 05-06-2005 01:49 PM
gcc/g77 compiler in FC2? serendipitysdc Fedora 1 06-24-2004 05:19 PM
trouble installing g77 and gcc-3.2.2-3 almrud Mandriva 2 09-04-2003 08:07 PM
gcc-g77 package neko Programming 12 07-22-2001 03:10 PM
Linking when using gcc/f2c combination? chemspecialist Programming 0 05-17-2001 01:40 PM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration