gcc error on cygwin
Ajitha
aji@sscu.iisc.ernet.in
Thu Nov 7 08:30:00 GMT 2002
Hi,
Thank you. Please find attached the cygcheck.txt and the sample
program which gives the follwoing error message. The cygwin version is
1.3-13 DLL. On executing check.exe (I am not able to understand why it
gives check.exe instead of just 'check' on g77 -o check check.f command)
it gives the following error
$g77 -o check check.f
$./check.exe
open: illegal unit number
apparent state: internal I/O
lately writing direct unformatted external IO
Aborted (core dumped)
Any suggestion is welcome. Thank you,
With best regards,
Ajitha.
On Wed, 6 Nov 2002, Harig, Mark A. wrote:
>
> As requested at http://cygwin.com/bugs.html:
>
> o Please describe how to reproduce the problem,
> including a test case, if possible.
>
> o Please include at least the version number of the
> Cygwin release you are using along with the
> operating system name and its version number,
> for example, "cygwin v1.3.13 under NT 4.0".
>
> o Most of the information about your Cygwin environment
> is listed by running 'cygcheck -s -v -r > cygcheck.txt'.
> Please include cygcheck.txt *AS AN ATTACHMENT* to your
> report. It is important that you include it as an
> attachment so that searches of the mailing-list archives
> give fewer false matches.
>
> For your test case, it would be helpful for you to
> provide:
>
> 1. A small amount of code that can reproduce the
> problem.
>
> 2. The compilation/link commands that you are
> using to generate 'a.exe'.
>
> > -----Original Message-----
> > From: Ajitha [mailto:aji@sscu.iisc.ernet.in]
> > Sent: Wednesday, November 06, 2002 2:36 AM
> > To: cygwin@cygwin.com
> > Subject: gcc error on cygwin
> >
> >
> >
> > Hello,
> > I installed cygwin with gcc. Some check files are
> > compiling. But when I
> > compile a file with open unitnumbers, the gcc is compiling
> > andthe inspite
> > of giving as gcc *.f it produces an a.exe file and on executing
> > it, the error comes as
> >
> > $ ./a.exe
> > open: illegal unit number
> > apparent state:internal I/O
> > lately writing direct unformatted external IO
> > Aborted (coredumped)
> >
> > Any suggestion is very much appreciated.
> >
> > Thank you,
> >
> > With best regards,
> >
> > Ajitha
> >
> > Research Associate,
> > SSCU,
> > Indian Institute Of Science, Bangalore 560 012,INDIA
> >
> >
> > --
> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ: http://cygwin.com/faq/
> >
> >
>
-------------- next part --------------
C Program Check
implicit double precision(a-h,o-z)
implicit integer*4 (i-n)
parameter (nparam=100,max_nn=24,max_type=4,max_orb=9,
& max_sh=30,max_atom=10,npexact=13)
common/in/li,lj,loi,loj
common/gd/kshells
common/upart/U(10,10,max_type),indatom(2*npexact),correl(4)
dimension tab(10,10,10,10),tabJ(5,5),tabK(5,5),ltb(5)
dimension dircos(3),coord(nparam,3)
dimension itype(nparam),nn(nparam,max_nn),noofnn(max_type)
complex*16 HF(2*npexact,2*npexact),H0(2*npexact,2*npexact),
& wk(400000),HU( 2*npexact)
double precision Xn(2*npexact),Xnnew(2*npexact)
& ,Xnold(2*npexact)
& ,Xn2old(2*npexact,2*npexact)
& ,Xn2(2*npexact,2*npexact)
& ,Xn2new(2*npexact,2*npexact)
C-Open Files
c open (unit=500,file='diaU.out',status='unknown')
open (unit=1253,form='formatted',access='sequential',
& status='unknown')
open (unit=1254,form='formatted',access='sequential',
& status='unknown')
open (unit=1255,form='formatted',access='sequential',
& status='unknown')
open (unit=1256,form='formatted',access='sequential',
& status='unknown')
open (unit=4020,form='formatted',access='sequential',
& status='unknown')
open (unit=4021,form='formatted',access='sequential',
& status='unknown')
open (unit=4025,form='formatted',access='sequential',
& status='unknown')
stop
end
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20021107/2815c391/attachment.txt>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list