Please help me, I'm at the begining with learning of Fortran and couldn't solve a problem with my program by myself.
I need to use external subroutine from library NAG E01BAF for interpolation, but it doesn'n work because of problems with definition of WRK(LWRK):
WRK WORKSPACE ARRAY, OF LENGTH LWRK.
LWRK ACTUAL DECLARED DIMENSION OF WRK.
I used the allocate command in the sobrputine
allocate(WRK(LWRK))
after definition of LWRK, but the program stopped at this line and write an error:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
I don't see any mistake in programme, can somebody help me, please?
I need to use external subroutine from library NAG E01BAF for interpolation, but it doesn'n work because of problems with definition of WRK(LWRK):
WRK WORKSPACE ARRAY, OF LENGTH LWRK.
LWRK ACTUAL DECLARED DIMENSION OF WRK.
I used the allocate command in the sobrputine
allocate(WRK(LWRK))
after definition of LWRK, but the program stopped at this line and write an error:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
I don't see any mistake in programme, can somebody help me, please?