GENIE:Development problems

Passing variables between modules

 * PROBLEM: I wanted access to a variable from genie-main/genie_global in another module. However, when putting "use genie_global" in my module, I could only get a compilation to pass if I first compiled, then added the "use" statement, and then compiled again (without first doing a "make cleanall"). This was probably because genie_global.mod is not made by the time the module calling it is.


 * SOLUTION: add the variable to the wrapper subroutine for the subroutine you want to use it in (wrapper subroutines are contained in genie-main/genie_*_wrappers.f90) and add a corresponding dummy variable to the subroutine itself.