This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Gfortran does not compile dynamo (and others)
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: Ignacio Fern?ndez Galv?n <jellby at yahoo dot com>, fortran at gcc dot gnu dot org
- Date: Tue, 30 Jan 2007 19:07:13 -0800
- Subject: Re: Gfortran does not compile dynamo (and others)
- References: <481579.57968.qm@web33004.mail.mud.yahoo.com> <45BFE4A5.6070205@net-b.de>
On Wed, Jan 31, 2007 at 01:36:53AM +0100, Tobias Burnus wrote:
>
> Ignacio Fern?ndez Galv?n wrote:
> > By the way, I also could not compile the quantum chemistry programs
> > Gaussian 98 and Molcas 6.4, but since these are commercial programs, I
> > cannot provide the source. Has anyone been able to compile them?
> >
> > Actually, the compiliation seems to go fine (after some changes in code
> > and building scripts), but when running the program, Molcas stops with
> > "signal 11"
> I did some debugging and the reason is that Molcas sets by default the
> option
> -malign-double
> on i386 systems.
>
> And of cause this clashes with libgfortran. The crash occurs with an
> internal write statement.
I am very tempted to intercept -malign-double to disable this
option.
> - Additionally, one needs to add the "-fno-range-check" option
> for the file "src/util/pack.f", e.g. by editing "src/util/Makefile"
Well, they could fix the code. There should be no reason for this
option in properly written code.
--
Steve