next up previous contents
Next: The MOD function Up: Fortran Routines Previous: Cactus Fortran Functions   Contents

Fortran 90 Modules

Fortran 90 modules should be included in a thorn's make.code.deps file (B3.5.1) to ensure they are compiled before the routines which use them. This is especially important for parallel building. For example, if a routine in MyRoutine.F uses a module in MyModule.F add the line:

$(SYS_OBJD)/MyRoutine.F.o:         $(SYS_OBJD)/MyModule.F.o