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: variable definition context bug?


Dominique:

> You file test requires several modules to be compiled.
> I have tried to generate them from the Galacticus source,
> but the process is quite complex and fails for me in some
> Perl script (Can't locate Sort/Topological.pm ...).
> Could you provide at least the *.inc files needed to
> compile the files giving the needed modules?

Thanks for trying to build this - I realize it's a complicated process!

I've attached a tarball with the include files that should allow you to 
compile the required modules. What might be even easier (providing you using a 
version of the compiler with the same module format - I'm using r169141 of 
gfortran 4.6) is to use the *.mod files that I've attached in the 
moduleFile.tar.gz tarball. If you extract these into the same directory as 
test.F90 then:

gfortran -c test.F90 -o /dev/null -ffree-line-length-none

should reproduce the error.

Thanks.
Andrew.

-- 

* Andrew Benson: http://www.tapir.caltech.edu/~abenson/contact.html

* Galacticus: http://sites.google.com/site/galacticusmodel

Attachment: includeFile.tar.gz
Description: application/compressed-tar

Attachment: moduleFile.tar.gz
Description: application/compressed-tar


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