I did some changes in the code, but this time a different error occurred:
error: "Segmentation fault (core dumped)"
The code is:
----------------------------
subroutine dyad(A, B, C)
real, intent(in) :: A(:)
real, intent(in) :: B(:)
real, dimension(size(A),size(B)), intent(out) :: C
integer ...
Hi all,
I am new to Fortran programming. My work is concentrated on arrays.
After writing a subroutine for simple multiplication of 2 arrays (1 dimensional), when I used it, the compiler gave an error:
" Fortran runtime error: Integer overflow when calculating the amount of memory to allocate "...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.