To check useless USE MODI_...

To check if "USE MODI_..." are useless in the Surfex code:

  • compile the code
  • go into the directory src/dir_obj-LXgfortran-SURFEX-V7
  • copy in this directory:
  • if necessay, do chmod +x file for this file
  • do ./verify_use_modi2.sh
  • the file ./liste_pb2 contains the list of the useless "USE MODI_..." with the names of the Surfex files where they are missing
  • exception: this script is relevant only for subroutines and not for functions. It reports all the "USE MODI_..." for the calls of functions.