What Causes Segmentation Violation in NAG Fortran Compiler Release 5.2(721)?

  • Thread starter cepheid_lu
  • Start date
  • Tags
    Error
In summary: In the meantime, you can try using different compile options to see if that helps to avoid the error.
  • #1
cepheid_lu
1
0
the error message is:

nagfor -kind=byte -C=all -C=undefined -g -mtrace -w=all -nan -info
-gline -IMODCOM -IPIO -ICGNS -IMATH -ILIB -IGEO -IINC -IRMM
-IHmatrix -IIFREQ -IOBSERV -IMAIN -ITest -c CGNS/PATRANMOD.f90 -o
CGNS/PATRANMOD.o
NAG Fortran Compiler Release 5.2(721)
Evaluation trial version of NAG Fortran Compiler Release 5.2(721)
Info: CGNS/PATRANMOD.f90: Increasing pool of scalar temporaries from 100 to 200
Info: CGNS/PATRANMOD.f90: Increasing pool of pointer temporaries from 50 to 100
Info: CGNS/PATRANMOD.f90: Increasing pool of scalar temporaries from 200 to 300
Info: CGNS/PATRANMOD.f90: Increasing pool of pointer temporaries from 100 to 150
Segmentation violation
Internal error - please report this bug


Try other compile options:

nagfor -kind=byte -IMODCOM -IPIO -ICGNS -IMATH -ILIB -IGEO -IINC
-IRMM -IHmatrix -IIFREQ -IOBSERV -IMAIN -ITest -c CGNS/PATRANMOD.f90
-o CGNS/PATRANMOD.o
NAG Fortran Compiler Release 5.2(721)
Evaluation trial version of NAG Fortran Compiler Release 5.2(721)
Segmentation violation
Internal error - please report this bug




nagfor -kind=byte -C=all -C=undefined -mtrace -w=all -nan -info
-gline -IMODCOM -IPIO -ICGNS -IMATH -ILIB -IGEO -IINC -IRMM -IHmatrix
-IIFREQ -IOBSERV -IMAIN -ITest -c CGNS/PATRANMOD.f90 -o
CGNS/PATRANMOD.o
NAG Fortran Compiler Release 5.2(721)
Evaluation trial version of NAG Fortran Compiler Release 5.2(721)
Info: CGNS/PATRANMOD.f90: Increasing pool of scalar temporaries from 100 to 200
Info: CGNS/PATRANMOD.f90: Increasing pool of pointer temporaries from 50 to 100
Info: CGNS/PATRANMOD.f90: Increasing pool of scalar temporaries from 200 to 300
Info: CGNS/PATRANMOD.f90: Increasing pool of pointer temporaries from 100 to 150
Segmentation violation
Internal error - please report this bug
make: *** [CGNS/PATRANMOD.o] Error 4


Any one please give any clue.
 
Technology news on Phys.org
  • #2
Thanks in advance.This error message indicates that there is a bug in the NAG Fortran Compiler which is causing the segmentation violation. You should contact the NAG support team for assistance in resolving this issue.
 

FAQ: What Causes Segmentation Violation in NAG Fortran Compiler Release 5.2(721)?

What is a nagfor compile error?

A nagfor compile error is an error that occurs during the process of compiling code using the Nag Fortran compiler. It indicates that there is an issue with the code that is preventing it from being compiled successfully.

Why am I getting a nagfor compile error?

There are many reasons why you may be getting a nagfor compile error. It could be due to syntax errors in your code, missing or incorrect libraries, or incompatible compiler options. It is important to carefully review the error message to determine the specific cause.

How do I fix a nagfor compile error?

The best way to fix a nagfor compile error is to carefully review the error message and identify the specific issue. You may need to make changes to your code, update libraries, or adjust compiler options. It can also be helpful to consult the Nag Fortran compiler documentation or seek assistance from other programmers.

Can I prevent nagfor compile errors?

While it is not possible to completely prevent nagfor compile errors, there are steps you can take to reduce the likelihood of encountering them. This includes writing clean and well-structured code, regularly testing and debugging your code, and staying updated on any changes or updates to the Nag Fortran compiler.

Is there an alternative to using the nagfor compiler?

Yes, there are several alternative compilers for Fortran, such as gfortran, ifort, and pgfortran. Each compiler may have its own set of features and limitations, so it is important to research and choose the one that best suits your needs. You may also find that using a different compiler can help to avoid nagfor compile errors.

Similar threads

Replies
1
Views
2K
Back
Top