Nidhi: I just tried it again; the file compiles smoothly with ifort and with g77. (g77 complained, however, about unresolved reference to eos2 which was declared as external, but is not present. This declaration should be removed. This does not seem to be your case, though). Otherwise I don't know, sorry. Best regards
Andrei > I have run mur_fit.f this program on the bash shell using f77 complier. > It displays the following error > > "mur_fit.f: In program `mur_fit': > mur_fit.f:117: > call lmdif(murna,m,n,x,y,ftol,ftol,ftol,maxfev,epsfcn,diag,mode, > ^ > Invalid declaration of or reference to symbol `murna' at (^) [initially > seen at (^)] > mur_fit.f: In subroutine `lmdif': > mur_fit.f:117: warning: > call lmdif(murna,m,n,x,y,ftol,ftol,ftol,maxfev,epsfcn,diag,mode, > 1 > mur_fit.f:222: (continued): > subroutine lmdif(fcn,m,n,x,fvec,ftol,xtol,gtol,maxfev,epsfcn, > 2 > Argument #1 (named `fcn') of `lmdif' is a subroutine at (2) but is passed > by reference at (1) [info -f g77 M GLOBALS] > [EMAIL PROTECTED] Desktop]$ f77 mur_fit.f > mur_fit.f: In program `mur_fit': > mur_fit.f:117: > call lmdif(murna,m,n,x,y,ftol,ftol,ftol,maxfev,epsfcn,diag,mode, > ^ > Invalid declaration of or reference to symbol `murna' at (^) [initially > seen at (^)] > mur_fit.f: In subroutine `lmdif': > mur_fit.f:117: warning: > call lmdif(murna,m,n,x,y,ftol,ftol,ftol,maxfev,epsfcn,diag,mode, > 1 > mur_fit.f:222: (continued): > subroutine lmdif(fcn,m,n,x,fvec,ftol,xtol,gtol,maxfev,epsfcn, > 2 > Argument #1 (named `fcn') of `lmdif' is a subroutine at (2) but is passed > by reference at (1) [info -f g77 M GLOBALS]" > > Is error because of bash shell or compiler. If yes then which compiler > should I use ? > Please guide me. > > Regards, > Nidhi

