Compiling with g77
thank you very much...but I solved compile with g77
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi!
I have fedora core4 and I wnat to compile my fortran program with g77 but after giving the comand : ./namefile.x the computer tell me :
write start: can't write file
apparent state: unit 84 named Energy
last format: (I6,5(1X,G13.6))
lately writing sequential formatted external IO
Aborted
Why does it happen? I made the same procedures with fedora core3 and it's work well.
how can I solve my problem?...can you help me?
thank you very much
hi there,
something is wrong with the code...
did you get a sucessfull compilation message? how did you compile it?
if the code is not so big, could post it? if it is big, please post only the relevant part...
you are trying to write something that is not working...
regards
slackie1000
hi!
thank you very much...but I solved that problem, and now I have an other one! I compiled my file .f with g77 and all is ok but when I execute it ( command: ./file.x) I have this error:
PAUSE statement executed
To resume execution, type go. Other input will terminate the job.
Why?What I have to do?
thank you for your help
hi!
thank you very much...but I solved compile with g77
hi!
thank you very much...but I solved that problem, and now I have an other one! I compiled my file .f with g77 and all is ok but when I execute it ( command: ./file.x) I have this error:
PAUSE statement executed
To resume execution, type go. Other input will terminate the job.
Why?What I have to do?
thank you for your help
hi there,
do you know FORTRAN? the kind of messages are pretty clear. look for the PAUSE keyword in your code...somehow i feel that this code is not clear for you...
you need to post the code otherwise i can't find the error.
regards
slackie1000
I think that the error depends from the following subroutine for generating random numbers:
c*****************RANDOM NUMBER GENERATOR ***********************
c This function has been taken from "Numerical recipes"
c*****************************************************************
FUNCTION RAN1(IDUM)
DIMENSION R(97)
PARAMETER (M1=259200,IA1=7141,IC1=54773,RM1=3.8580247E-6)
PARAMETER (M2=134456,IA2=8121,IC2=28411,RM2=7.4373773E-6)
PARAMETER (M3=243000,IA3=4561,IC3=51349)
DATA IFF /0/
SAVE
IF (IDUM.LT.0.OR.IFF.EQ.0) THEN
IFF=1
IX2=MOD(IA2*IX2+IC2,M2)
IX3=MOD(IA3*IX3+IC3,M3)
J=1+(97*IX3)/M3
IF(J.GT.97.OR.J.LT.1)PAUSE
RAN1=R(J)
R(J)=(FLOAT(IX1)+FLOAT(IX2)*RM2)*RM1
RETURN
END
but I didn't understand because it gives same problems, I have already used it many times!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.