[Solved] Fortran Program Crashes when running

I ran your code through the NAG Fortran Compiler (on Linux). The version you have posted doesn’t compile for me: > nagfor -mtrace=all -u -C=all -C=undefined valuefuncmat.f90 … Error: valuefuncmat.f90, line 100: Syntax error detected at )@, … That of course is easy to rectify (i.e., change line 100 to write(*,'(20G12.4)’) vOUT(i,:)). With that done, … Read more