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!

Search results for query: *

  1. amagrammer

    [b]How to debug with GDB???[/b]

    Hi, xwb, Changing 5.0D4 to 50000 doesn't change anything. But your suggestion about input arguments is good. I am checking all the arguments. Maybe there is a typo or an argument making no sense.
  2. amagrammer

    [b]How to debug with GDB???[/b]

    Hi, mikrom, I did a bit searching in web. And D03raf is the only routine I found for 3-dimensional time-dependent PDE solver. I would like to know some alternatives for my purpose.
  3. amagrammer

    [b]How to debug with GDB???[/b]

    Hello, mikrom, This maybe is the crux of the problem. NAG library is commercial. I searched in my installation folder and find no sources of any subroutines, only a few example programs. Users' Notes are not helpful in this,either. I wrote an email to NAG support asking this. Now I am waiting...
  4. amagrammer

    [b]How to debug with GDB???[/b]

    One problem solved. Another comes. This time, the compiler now gives other error messages: C:/msys/1.0/projects/carbonprice_sp.f90:215 undefined reference to '_x02ajf_' C:/msys/1.0/projects/carbonprice_sp.f90:148 undefined reference to '_d03raf_' Those are both subroutine or function in NAG...
  5. amagrammer

    How to trace run-time error M6201: MATH

    I followed down the stack. I came to two lines in my source file. The first line is CALL D03RAF(NPDE,TS,TOUT,DT,XMIN,XMAX,YMIN,YMAX,NX,NY,TOLS,& TOLT,PDEF1,BNDRY1,PDEIV1,MONIT1,OPTI,OPTR,RWK,& LENRWK,IWK,LENIWK,LWK,LENLWK,ITRACE,IND,IFAIL) which calls a NAG subroutine. And the other is...
  6. amagrammer

    [b]How to debug with GDB???[/b]

    Thank you. This is it! Actually as you can see, I already chopped the line into two. But it seems still to be too long. Yes, thanks!
  7. amagrammer

    How to trace run-time error M6201: MATH

    Hi, xwb, thanks for getting back to me. What happens here is the following. As it hits breakpoint it says Compaq Visual Fortran !User breakpoint called from code at 0x77b18b2e OK? I have no choice but to confirm "OK". Then the line 77B18B2E int 3 is pointed. I wasn't offered to choose a...
  8. amagrammer

    [b]How to debug with GDB???[/b]

    HI, mikrom, now I installed everything. And I can start compiling carbonprice_sp.f90 using g95 under MSYS. But the compilation was not successful. g95 found some error in the file: warning<115>:Line 267 of carbonprice_sp.f90 is being truncated warning<115>:Line 348 of carbonprice_sp.f90 is...
  9. amagrammer

    How to trace run-time error M6201: MATH

    hi, xwb, You are right. CVF seems to be unstable on Vista. Sometimes when I start Developer Studio, a Microsoft Visual C++ runtime error occurs right away. So, I guess my CVF is integrated into Visual Studio. I build programs in an IDE and don't use makefiles.
  10. amagrammer

    [b]How to debug with GDB???[/b]

    hello, mikrom, Sorry for so many questions. But I feel to be on the right track. I am referring to your post at 8 Dec 09 10:03. After installing MinGW and unpacking insight-6.6-mingw under my directory c:\MinGW\. I tried to follow compilation and debugging steps. My question is: where shall I...
  11. amagrammer

    [b]How to debug with GDB???[/b]

    Hi, mikrom, I would like to try this insight. How do I install it on my Windows? I don't see any .exe file on the download page: ftp://sourceware.org/pub/insight/releases/
  12. amagrammer

    How to trace run-time error M6201: MATH

    Hi, xwb, thank you for the reply. I use Compaq Fortran Compiler 6.6 on the Windows Vista system. I am not sure what IDEs/debugger I use. How can I check this?
  13. amagrammer

    How to trace run-time error M6201: MATH

    hi, Folks, I am trying to debug a program. When I run my executable, the console window will keep telling me that run-time error M6201:MATH - sqrt:DOMAIN error line source unknown unknown At the same time. A breakpoint will be shown: =>77038B2E int 3 I don't know what...
  14. amagrammer

    [b]How to debug with GDB???[/b]

    Hi,mikrom, thank you for looking into this. D03RAF is a NAGroutine and X02AJF is the machine precision defined in NAG. I don't have the problem with them. I added some more content in this program and the problem just disappeared. I don't know how. But the problem is gone. Still don't know how...
  15. amagrammer

    [b]How to debug with GDB???[/b]

    thank you, xwb, for the quick suggestion, I tried the proposal. It doesn't seem to be the problem. I got the same error messages and stack information. But, thanks.
  16. amagrammer

    [b]How to debug with GDB???[/b]

    HI, Volks, I am a beginner in Fortran programming. I use Compaq Fortran Compiler 6.6 on Windows Vista. I wrote a program to calculate a PDE with NAG Fortran Library. But it goes awry as it debugging. Command window shows: forrtl:severe <157>: program exception - access violation routine...

Part and Inventory Search

Back
Top