From: Héctor MR <hec...@pi...> - 2017-03-29 03:26:36
|
Dear all, How can I include a module (let's say mymodule.f) within the subroutine for an extra_hook? I mean something like (e.g.) module mymodule use star_def use const_def [...] end module mymodule and then subroutine other_neu(id, ierr) *! include my code here* end subroutine other_neu Should I change the makefile somehow to generate the mymodule.o file along with MESA's compilation (and then "use mymodule" within the hook)? Thanks! -- H. |