Math functions in COMIS routines


PAW version:2.09/18
Description
On HPUX 10.20 machines only. Compiled fortran code using math functions produce a crash:


      subroutine aaa()
      print*,tan(1.279)
      end

PAW > call aaa.f77

*** Break *** Bus error
( 0) 0x00254348   signal_handler + 0x1a0  [/cern/97a/bin/pawX11]
( 1) 0xc08562e0   _sigreturn  [/usr/lib/libc.1]
( 2) 0xc1174d88   aaa_ + 0x70  [/tmp/aaa_4517.sl]
( 3) 0x00161e54   cscali_ + 0x64  [/cern/97a/bin/pawX11]
( 4) 0x00159a34   cskcal_ + 0x2f4  [/cern/97a/bin/pawX11]
Fixed in: COMIS 1.21/00
Workaround
Change the compiler options by executing the following macro:

appl comis quit
!setopt 'f77 -c +Z +ppu' f77
quit


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch