[ncl-install] floating overflow with Periml

Jemma Wu jemma.wu at mq.edu.au
Sun Mar 20 17:44:09 MDT 2011


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
Aborted


Does anyone know what's wrong?

Any comments would be appreciated.

-- 
Regards,
Jemma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20110321/f7269f3a/attachment.html 


More information about the ncl-install mailing list