Author |
Message |
Topic: how to link nag library with a fortran code |
mali28
Replies: 6
Views: 7090
|
Forum: Support Posted: Wed May 03, 2017 4:50 pm Subject: how to link nag library with a fortran code |
My FORTRAN code uses nag library functions. I am not sure how to link the nag library with the FORTRAN code. I have the nag library installed on my PC. Do I have to set the path to nag library in the ... |
Topic: Floating point co-processor fault |
mali28
Replies: 8
Views: 9370
|
Forum: Support Posted: Tue May 02, 2017 2:51 pm Subject: |
Thank you for your input. It was a negative value used inside the square root causing the error. The error is gone, but now I am getting the following run time error:
Access Violation
The instru ... |
Topic: Floating point co-processor fault |
mali28
Replies: 8
Views: 9370
|
Forum: Support Posted: Tue May 02, 2017 11:27 am Subject: Floating point co-processor fault |
I am getting the following error:
Unknown floating point exception 90a1
Floating point co-processor fault at address 00418b50 in file.... at line number ...
This is the function I am using: ... |
Topic: Error reading data from a text file |
mali28
Replies: 8
Views: 8403
|
Forum: Support Posted: Fri Apr 28, 2017 8:59 am Subject: |
mecej4, I think you are right. The file is being read correctly, but for some reason, CALL ReadOptions(ReadSuccessFlag) is not working. I am not sure what is causing the error.
Is that a compiler v ... |
Topic: Error reading data from a text file |
mali28
Replies: 8
Views: 8403
|
Forum: Support Posted: Thu Apr 27, 2017 4:32 pm Subject: |
I think this is:
! READ OPTIONS
ReadSuccessFlag=.false.
!io_status = 0
!CALL ReadOptions(io_status)
CALL ReadOptions(ReadSuccessFlag)
! IF(.not.ReadSuccessFlag .ne. 0) &
IF(.not.R ... |
Topic: Error reading data from a text file |
mali28
Replies: 8
Views: 8403
|
Forum: Support Posted: Thu Apr 27, 2017 1:59 pm Subject: |
I am using windows compiler with 64 bit operating system. |
Topic: Error reading data from a text file |
mali28
Replies: 8
Views: 8403
|
Forum: Support Posted: Thu Apr 27, 2017 1:58 pm Subject: Error reading data from a text file |
I am having the following error while reading data from a text file:
nrerror: Error reading data from Options.txt
**** STOP: program terminated by nrerror
Part of the code that reads the data ... |
Topic: Access Violation error after running a compiled program |
mali28
Replies: 8
Views: 9399
|
Forum: Support Posted: Tue Apr 11, 2017 11:04 am Subject: |
Thank you for your reply. The code already has IMPLICIT NONE in each sub program. |
Topic: Access Violation error after running a compiled program |
mali28
Replies: 8
Views: 9399
|
Forum: Support Posted: Tue Apr 11, 2017 9:08 am Subject: |
Thank you for this information. I am now getting the following error upon running the compiled file:
Run-time Error
Attempt to call a routine with argument number one as a logical (kind=3) when ... |
Topic: Access Violation error after running a compiled program |
mali28
Replies: 8
Views: 9399
|
Forum: Support Posted: Mon Apr 10, 2017 5:39 pm Subject: |
Thank you for your reply. I am new to fortran and I am not sure how to compile it with /debug option. I have a makefile, which I use to compile the program on Windows 7 64 bit using FTN95 compiler.
... |
Topic: Access Violation error after running a compiled program |
mali28
Replies: 8
Views: 9399
|
Forum: Support Posted: Mon Apr 10, 2017 2:24 pm Subject: Access Violation error after running a compiled program |
Hello,
I am trying to compile a Fortran program on Windows 7 using FTN95 compiler. The program compiles while there is no error, it gives me some warnings. The compiled exe program when I try to ru ... |
|