Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help me please 1

Status
Not open for further replies.

bastadoni

Programmer
Apr 12, 2015
12
DZ
Hey guys, i have this message in my screen while i execute the program, please tell what to do....
Thanks a lot for your help and your time
i love you

run-time error M6101: MATH
-floating-point error: invalid
 
do you even google before posting here?
do you do any minimal debugging on your own before posting?

Google "fortran runtime error M6101" and you will get quite a few hits...read them up and start getting an idea of what it is all about and THEN you will know where in your program this could happen.

Learn to add print statement around your program, learn to simply "stop" your program here and there to figure where the problem could be...worst case scenario, apply a little bisection by stopping your program in the middle...if the error no longer occurs...it is in the second half of the program...if it still does...it is in that half...move your stop statement to half of that half...and so on...bisection.





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top