--- Jon Erik Ween <jween@xxxxxxxxxxxxxxxxxxxx> 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