floating overflow with Periml

From: Jemma Wu <jemma.wu_at_nyahnyahspammersnyahnyah>
Date: Sun Mar 20 2011 - 17:44:09 MDT

Hi all,

I have built and installed ncarg.v5.2.1 under OpenSUSE 11 with Intel
compilers. Now I have a problem with calling Periml (Gridal package) in my
fortran program. The program can be compiled and run (appears correctly) if
I don't add the float point exception flag (fpe0). However, if I add the
fpe0 flag and compile and run it, then it will stop with a floating
overflow. I debugged it and found it is with the Periml call.

I then found an example (tgrida) in ncarg with Periml and tested it with
adding the fpe0 option, and it also have the float overflow problem. My
compilation options are as follows.

ifort fpe0 -traceback -O0 -o tgrida tgrida.f -L/usr/local/ncarg_build/lib
-lncarg -lncarg_gks -lncarg_c -lX11 -lXext,

and the running results are

~/model/ncl_ncarg-5.2.1> ./tgrida
forrtl: error (72): floating overflow
Image PC Routine Line Source

tgrida 00000000004FCDFB Unknown Unknown Unknown
tgrida 000000000040688E Unknown Unknown Unknown
tgrida 0000000000406330 Unknown Unknown Unknown
tgrida 00000000004054FC grida_ 85 tgrida.f
tgrida 0000000000405339 MAIN__ 22 tgrida.f
tgrida 000000000040529C Unknown Unknown Unknown
libc.so.6 00007F539004AB7D Unknown Unknown Unknown
tgrida 0000000000405199 Unknown Unknown Unknown

Does anyone know what's wrong?

Any comments would be appreciated.


ncl-install mailing list
List instructions, subscriber options, unsubscribe:
Received on Sun Mar 20 17:44:16 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 05 2011 - 09:03:04 MDT