Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stenssok

    Eror when reading list, Fortran 77

    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/...
  2. stenssok

    Eror when reading list, Fortran 77

    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...
  3. stenssok

    Eror when reading list, Fortran 77

    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
  4. stenssok

    Eror when reading list, Fortran 77

    NABURMAX = 16 NLMAX = 4
  5. stenssok

    Eror when reading list, Fortran 77

    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...
  6. stenssok

    Eror when reading list, Fortran 77

    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...

Part and Inventory Search

Back
Top