fortran compiler seg fault
Bud Davis
bdavis9659@sbcglobal.net
Thu Apr 5 11:25:00 GMT 2007
--- Jon Erik Ween <jween@klaru-baycrest.on.ca> wrote:
> HI!
>
> I'm trying to compile packages for the R stats
> system (on a vanilla
> FC6 with the full development environment installed)
> but keep getting
> seg faults for various compilations that seem to
> have to do with
> Fortran. Not being very well versed with Fortran and
> not finding
> anything on the R lists I was wondering if the gcc
> crowd had any
> ideas? Here's the output, not much, but all there
> is:
>
> [root@luther Desktop]# R CMD INSTALL ./mvtnorm
> * Installing *source* package 'mvtnorm' ...
> ** libs
> gfortran -fpic -O2 -g -c mvt.f -o mvt.o
> mvt.f: In function 'mvkrsv':
> mvt.f:1480: internal compiler error: Segmentation
> fault
>
> This also happens if I try to compile "mvtnorm"
> outside the R
> environment.
>
> Thanks!
>
> Jon
>
>
let's check the easiest thing first. The program you
are compiling may need a lot of stack space, and by
default shell's do not allocate very much.
if you are using tcsh the command is:
"limit stacksize unlimited"
bash and the other shells have similar commands.
give this a try, and if the problem still exists then
we may have a problem in gfortran.
HTH,
bud davis
More information about the Gcc-help
mailing list