G77 fork problems

Suhaib M. Siddiqi Ssiddiqi@InspirePharm.Com
Sun Jan 31 23:52:00 GMT 1999


Thanks to Mumit and Dave for explaining G77 fork issue.

I compiled the code with EGCS-1.1.1 on RedHat LINUX 5.2 and Cygnus B-20,
using G77.
The code compiled as it is on LINUX and NT box with G77.  It is a chemistry
software, using exactly same protein and same calculation criteria, I get
different results on LINUX and CYGNUS.

ON LINUX the Final Result was:

Extreme values found : 20.000  -4.200

AND on NT using same version of G77 and same calulcation criteria, the final
result was:


Extreme values found : 20.000  0.000

Dear Mumit;  do you have any explaination for this behavior?  I am using
your precompiled EGCS-1.1.1 for Cygnus-B-20.  As a note same G77fork wraper
was used, as suggested by Mumit on SGI, Linux and Cygnus.  In otherword the
source code was identical on SGI, LINUX and Windows NT.

I know the result form NT machine is wrong.

Are there major differences between G77 on NT and LINUX?  If so, how one can
circumvent the problem?

  G77 on SGI IRIX 6.5 gave same results as LINUX.

Regards
Suhaib Siddiq


-----Original Message-----
From: Dave Love <d.love@dl.ac.uk>
To: Mumit Khan <khan@xraylith.wisc.edu>
Cc: ssiddiqi@ipass.net <ssiddiqi@ipass.net>; gnu-win32@cygnus.com
<gnu-win32@cygnus.com>; egcs-bugs@cygnus.com <egcs-bugs@cygnus.com>
Date: Tuesday, January 19, 1999 9:15 PM
Subject: Re: G77 fork problems


>>>>>> "MK" == Mumit Khan <khan@xraylith.wisc.edu> writes:
>
> MK> Here's a start. Note that it's completely untested -- the
> MK> includes I've used (eg., unistd.h) may not even exist on your
> MK> system, pid_t may not be the same as g77 "integer" type, etc etc.
>
>If you want to do that I think you have at least to worry about the
>i/o state and it's not clear what good it is in the absence of a
>corresponding exec, for which there isn't an obvious implementation.
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list