[Users] Fortran module dependencies

David Rideout dprideout at gmail.com
Mon Oct 15 15:35:34 CDT 2007


Thanks, Erik.  FAQ 6 should be updated.

-David

On 10/12/07, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> On Oct 11, 2007, at 15:56:37, David Rideout wrote:
>
> > How does one 'properly' use a module which is defined in another
> > thorn?  I followed FAQ 6 but still get warnings:
> >
> > Warning: While tracing module dependencies: Source file for module
> > "lapack" not found
> >    Searched in thorn directory only.
>
> The thorn which contains the module needs to provide a capability,
> and the thorn which uses the module needs to require that
> capability.  You can use the module name as the name of the
> capability.  This is declared in the file configuration.ccl.  Cactus
> then automatically handles the thorn dependencies, i.e., it chooses a
> correct compilation and link order.
>
> The other suggested methods using the makefile fragments choose the
> correct link order, but they do not cause the dependent Fortran file
> to be recompiled if the module changes, since this dependency will be
> missed.
>
> -erik
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
>
> My email is as private as my paper mail.  I therefore support encrypting
> and signing email messages.  Get my PGP key from www.keyserver.net.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/users
>
>
>


More information about the Users mailing list