write(6,‘(g10.3)’) 999.9999
stop
end
compile with pgf77 (no compiler options),
execute
generates segmentation fault
not a problem with pgf90
write(6,‘(g10.3)’) 999.9999
stop
end
compile with pgf77 (no compiler options),
execute
generates segmentation fault
not a problem with pgf90
Hi jimami,
I’m unable to reproduce the segmentation violation here. I’ve tried with various OS and compiler version but all run correctly. Please post the compiler version your using, the OS, and if you’re compiling 32 or 64-bits.
Thanks,
Mat
pgf77 6.0-4 32-bit target on x86-64 Linux
32-bit executable generated on AMD Athlon 64
SUSE Linux 2.4.21
Hi jimami,
Please update your compiler to version 6.0-8 (found HERE). While I can’t reproduce the error, nor find a bug report with this specific error, I was able to compile and run your example with this version.
Thanks,
Mat