I've written out the 6 lines before this one and they're all correct (that's how I found in what statement the error occured).
Actually I think I might have found the problem. The XPOS, YPOS variables are not declared in the same way in the 2 different files:
COMMON /COMFIG/...
Yea, I think it's because everything is in different files and it uses these common blocks that seem a bit tricky. Here's the piece of code where the error occures:
C ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUBROUTINE COMBIN(NAME)
SUBROUTINE COMBIN(NAME)
CHARACTER*10 NAME...
No sorry, I looked up what common blocks are and I found the variables:
REAL APC,XPOS,YPOS,DUNIT,XUNIT,YUNIT,ZPOS,XATOM0,YATOM0,UZ,DUZ
So yes they are declared as real.
Katarina
This is where they are declared (I think):
COMMON /COMFIG/ NL,NLS,NIND,NA,MODX,MODY,MODZ,APC(NLMAX),
+ NABUR(NLMAX),LATTICE,XPOS(NABURMAX,NLMAX),YPOS(NABURMAX,NLMAX),
+ DUNIT, XUNIT, YUNIT, ZPOS(NLMAX)
I never programmed in Fortran, all I've learnt is from searching for errors...
Hello,
I'm trying to run a simulation program, written in Fortran 77 for the g77 compiler ( I use gcc version 3.4.6). I get the following error message when running the program:
invalid number: incomprehensible list input
apparent state: unit 3 named combin.fig
last format: list io
lately...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.