Recent content by RissaR

  1. R

    Fortran Why am I getting a Segmentation fault: 11 when running my Fortran code?

    I had already put STOP in several places over and over and had identified that as a break point in the past. I thought that it was still breaking in the same spot, but wasn't (brain fart perhaps). All is fixed now, forgot to allocate space for the head and tail vectors after that specific IF block.
  2. R

    Fortran Why am I getting a Segmentation fault: 11 when running my Fortran code?

    I put in the PRINT statement just to test whether the statement inside the IF block was evaluating correctly. It was *not* there when the seg fault first occurred and commenting it out (or removing it all together) does nothing. The PRINT statement was only put into check what the problem could be.
  3. R

    Fortran Why am I getting a Segmentation fault: 11 when running my Fortran code?

    I'm getting a "Segmentation fault: 11" when running at line 72: IF (h_temp == blayer) THEN However, the line above it: PRINT *,h_temp==blayer runs just fine. Needless to say, I'm clueless. Here's my entire code. PROGRAM bunkers IMPLICIT NONE REAL, DIMENSION(5) ...
  4. R

    Fortran Why is my Gfortran Code Not Compiling?

    I have successfully fixed most of the other errors, but this was the biggest problem I was running in to. Thanks so much! :)
  5. R

    Fortran Why is my Gfortran Code Not Compiling?

    I'm new to programming in Fortran, but have programmed for quite a while in C, Matlab, and Python. This is my code. It's incomplete at the moment (the subroutines are unreferenced), though it should still compile, but won't. PROGRAM bunkers IMPLICIT NONE SUBROUTINE...
Back
Top