frank@hpuxa.ircc.ohio-state.edu (Frank G. Fiamingo) (11/14/89)
I'm able to compile a FORTRAN program on an 840 without errors (HP-UX3.01). This same program will not compile on a 350 (HP-UX6.5). The error I get is f77: signal 11 (segmentation violation) while compiling feff.f Both machines are running with 16 Meg of memory. Any ideas why I can't compile on the 350? Thanks for your help, Frank Fiamingo frank@hpuxa.ircc.ohio-state.edu
cunniff@hpfcso.HP.COM (Ross Cunniff) (11/14/89)
> I'm able to compile a FORTRAN program on an 840 without > errors (HP-UX3.01). This same program will not compile > on a 350 (HP-UX6.5). The error I get is > f77: signal 11 (segmentation violation) while compiling feff.f > Both machines are running with 16 Meg of memory. > > Any ideas why I can't compile on the 350? I can't tell for certain, but this sounds like a known defect in the 6.5 S300 FORTRAN compiler. There is a patch that you can obtain from your SE for this problem (if it is the one I think it is). The problem occurs with statements like: write (99) (charvar(i),i=1,20) where charvar is a character variable. Try modifying the loop to read: write (99) (charvar(i+1),i=0,19) You can verify approximately which line is causing the compiler to choke by compiling with the -L (listing) flag turned on. > Thanks for your help, > Frank Fiamingo > frank@hpuxa.ircc.ohio-state.edu Ross Cunniff Hewlett-Packard Colorado Language Lab ...{ucbvax,hplabs}!hpfcla!cunniff cunniff%hpfcrt@hplabs.HP.COM