Fortran How to Fix Overflow Error in FORTRAN Matrix Program?

AI Thread Summary
An overflow error occurs in a FORTRAN program designed to perform functions and summations on matrix elements, followed by multiplication and determinant calculation, specifically when the matrix dimension exceeds 7. The issue may stem from insufficient data type capacity or improper handling of large numbers in calculations. Providing the specific code that triggers the error could facilitate better diagnosis and solutions from others in the discussion.
shasa
Messages
7
Reaction score
0
hi

i have over flow error in FORTRAN for a program that do some function and summation on matrix elements , then multiply them and at last find its determinant, the dimension is SET by input

when it is more than 7 i have this error

what should i do?
 
Technology news on Phys.org
shasa said:
hi

i have over flow error in FORTRAN for a program that do some function and summation on matrix elements , then multiply them and at last find its determinant, the dimension is SET by input

when it is more than 7 i have this error

what should i do?

IMO, your description is too vague for anyone to be able to diagnose the problem. If you show the code that is generating the error, maybe we can help.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
5
Views
5K
Replies
9
Views
2K
Replies
6
Views
3K
Replies
4
Views
2K
Replies
3
Views
8K
Replies
5
Views
2K
Back
Top