This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gfortran does not compile dynamo (and others)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]