Common blocks and parameter definitions are implemented through include directives using cpp. Many of these are required outside of main/. The include files have therefore been modified to be compatible with both fixed and free source formats by removing continuation lines and using ! to delimit comment lines. For commons extending over several lines
I have tried to develop a convenient style based on O-O concepts and abstracting from f90 code examples, and then described the result in module-coding-rules. These certainly require some discussion as alternatives such as using modules for data only (ie direct replacement for commons) and subroutines in their own files exist. Please look at some examples: tdc_mod.f90 and det_geom_mod.f90.Mofia 2.0 also compiles on linux using the Absoft compiler. The YBOS, BRU, CFM, aand GPLOT libraries have been modified to compile under f90 and link properly. Because of difficulties linking to the g77 CERNLIB version, I have created an Absoft f90 version of CERNLIB. This port has been accepted by the CERN support and will likely be incorporated into future versions of the library.
Bug in using interface modules (DEC)