This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Reversion when compiling Molcas
- From: Ignacio Fernández Galván <jellby at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Wed, 19 Sep 2007 17:09:21 +0100 (BST)
- Subject: Re: Reversion when compiling Molcas
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=erQW2M9ddVXuUgR8ZqctsK+5R3lyx+ngE7I1pF/PB2+mA7GVStz0RGvhdaRSlSmJvBLGfH+sg+kqbWU4Zx6QuCair8e1541jq5NtMwq2NsfWiy2HN1l1Y91GQ4st1ARv1uc6dhOxu4OmQA590+YZszlQAWxLvg/2f4jUjNxx0hE=;
--- Craig Powers <enigma@hal-pc.org> wrote:
> I have no idea whether this is related to the non-bounds-checked
> crash,
> but... the error combined with the code (which I've cut out) looks
> like
> something that was brought up on comp.lang.fortran in the last couple
> of
> days, where a C malloc is used as a pre-F90 way of doing allocated
> memory, and this memory is then accessed as an offset from a single
> "work" array of dimension 1 that only serves as a dummy to provide a
> reference location for subsequent allocations.
It makes sense. Molcas is using GA (global arrays,
http://www.emsl.pnl.gov/docs/global/), which is bundled with the source
(version 3.3, it seems). Maybe the "problem" is there.
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html