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

    Outputing an allocatable array from a subroutine

    Thanks for the repply!. My current program looks uggggggly, as I had to put a huge piece of code in an otherwise smoot main program, . . . nevertheless, I tried to compile with absoft f95, and no good luck either :( , . . . I am curious about what compiler are you using... fishy
  2. fishytiger

    Outputing an allocatable array from a subroutine

    I get this compiler error. I have been trying to implement a simmilar problem with no good prospects, any other hint?. Regards fishy cf90-425 f90fe: ERROR READPOT, File = SRC/jedi.f90, Line = 27, Column = 33 Attributes INTENT and ALLOCATABLE must not appear in the same attribute list.
  3. fishytiger

    Help with random numbers

    Hey!, I just learned the built in fortran random subroutine is pseudorandom, thanks for the help tough!, The best approach is to build onew own random generator! fishy
  4. fishytiger

    Help with random numbers

    I am trying to produce random numbers by using the FORTRAN commands: call RANDOM_SEED(DATE_TIME(8)) call RANDOM_NUMBER(HARVEST=X) but each time i run the program, I get the same set of numbers, any idea how to produce different set of numbers at every time? Fishyiger
  5. fishytiger

    passing TYPE variables to fortran subroutine

    Hey thanks for your Repply, both xwb and flav256!!,....I had decided to make a rondeavouz and code the program diferently....It seems that the problem I had, has to do with initialization of variables. character(len=2) :: symbol='' double precision, dimension(3) :: r=0.0d0 double precision...
  6. fishytiger

    Is it possible to use an equivalent of argv, argc in fortran?

    great!, I'll check that out! fishytiger
  7. fishytiger

    Is it possible to use an equivalent of argv, argc in fortran?

    I am using fortran 95, and was wondering if this is implemented . . . thanks fishytiger
  8. fishytiger

    passing TYPE variables to fortran subroutine

    I am writing an aplication where I have to pass a TYPE variable to a subroutine, but my code gives me a " More than one part reference of this data reference has a rank greater than zero." which sucks. Somehow I am able to use this in the main program but not in subroutines!, help! ...

Part and Inventory Search

Back
Top