Fortran: Pointers in Common Blocks
I’m unexperienced in Fortran. I’m trying to declare a memory pointer in a file named ‘common’, then allocate memory for that pointer in a file named "main.f", then call a subroutine from another file named "PrintArray.f". The whole thing seg faults in "PrintArray.f". How can I correct this? This is the file named ‘common’: REAL,… Read More Fortran: Pointers in Common Blocks