[Users] Question: odd compilation failure

Erik Schnetter schnetter at cct.lsu.edu
Fri Oct 15 13:00:07 CDT 2010


On Fri, Oct 15, 2010 at 11:45 AM, Richard O'Shaughnessy
<oshaughn at gravity.phys.uwm.edu> wrote:
> Hello Erik,
> On this cluster, I get to use gcc 4.1.2.    The optionlist file I've hacked
> together is below; please ignore the comments, as they are relics of the
> progenitor file.

gcc 4.1 doesn't have a good gfortran; I suggest to use at least gcc
4.2 if you have Fortran code. I'm using gcc 4.5 myself.

For gcc 4.5, I use the option -std=gnu99 for C and -std=gnu++0x for
C++. These may do the trick.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/


More information about the Users mailing list