Recent content by Peptid

  1. P

    Fortran Fortran: specification statement cannot appear in the executable section

    dear gsal, I have made several changes according to your advice. here is the final result; C SINGLET POTENTIAL OF H2 C by spline interpolation of Kolos-Woniewicz data C C Before calling SNGPOT we have to C INITIALIZE FOR SPLINE INTERPOLATION (THIS IS USED C...
  2. P

    Fortran Fortran: specification statement cannot appear in the executable section

    Hi guys, I am working on a Fortran code for a while. Might seem ridiculous but to better trace it, I split code into three separate parts and trying to compile both using the command 'ifort ss.f singpot.f SNGPOT.f -o ss'. With this command I receive the error singpot.f(22): error #6236: A...
  3. P

    Fortran Type mismatch problem FORTRAN 77

    Adding the line REAL*8 CMOD solved the problem and this time I didn't get any error message. I thank you very much for the advice AlephZero. gsal, the file is about 1500 lines long and worse is that I didn't write the code. This is a part of my project and I am trying to make it run first...
  4. P

    Fortran Type mismatch problem FORTRAN 77

    Hi all, I am trying to run a long FORTRAN 77 code in my laptop. Document contains a makefile and it is instructed to use 'make pgi' command to compile. Beside many warnings, each time I enter that command, it returns me ' Return type mismatch of function 'cmod' at (1) (REAL(4)/REAL(8))...
Back
Top