Hi,
I have been working on the development of a code in Fortran to model the trajectory of a rocket. It consists of a for loop that time steps through the trajectory with conditional statements that adapt certain parameters of the rocket. After the loop, there is a section that prints the final results to the prompt window and also writes each time step to a matrix in an output file. The code will run, and I can see the print screen output, but when the code tries to write to the output file it has the error "Segmentation fault." Does anyone have an idea of what might be causing this error?
In debug mode I get this notification:
t@1 (l@1) signal SEGV (no mapping at the fault address) in _malloc_unlocked at 0xfe 65446c
0xfe65446c: _malloc_unlocked+0x022c: ld [%o1 + 8], %o3
I've been using F90, and am not sure of the compiler because it is
through a unix server connection. Thanks in advance.
Paul
I have been working on the development of a code in Fortran to model the trajectory of a rocket. It consists of a for loop that time steps through the trajectory with conditional statements that adapt certain parameters of the rocket. After the loop, there is a section that prints the final results to the prompt window and also writes each time step to a matrix in an output file. The code will run, and I can see the print screen output, but when the code tries to write to the output file it has the error "Segmentation fault." Does anyone have an idea of what might be causing this error?
In debug mode I get this notification:
t@1 (l@1) signal SEGV (no mapping at the fault address) in _malloc_unlocked at 0xfe 65446c
0xfe65446c: _malloc_unlocked+0x022c: ld [%o1 + 8], %o3
I've been using F90, and am not sure of the compiler because it is
through a unix server connection. Thanks in advance.
Paul