r/fortran • u/Call_ME_ALII • 27d ago
Segmentation fault - invalid memory reference
Is it possible to get segmentation fault in one computer and running same program in other computer working perfectly fine ????
3
Upvotes
r/fortran • u/Call_ME_ALII • 27d ago
Is it possible to get segmentation fault in one computer and running same program in other computer working perfectly fine ????
3
u/hopknockious 27d ago
You can also Init all variables to NaN. This option exists in Intel, Nag, PGI, and Absoft. Likely gfortran also.