~siesta-maint/siesta/trunk

Viewing all changes in revision 751.

  • Committer: Alberto Garcia
  • Date: 2018-12-07 21:49:47 UTC
  • mfrom: (746.1.31 trunk-clean)
  • Revision ID: albertog@icmab.es-20181207214947-cybuwjlg6fyuvz01
Compliance of code to F2003 standard plus further cleaning

* Removal of non-f2003 constructs

   -- non-standard intrinsics: dcmplx, dconjg, dreal, etc
   -- non-standard extensions for POSIX calls (chdir, system, etc)
      These are now implemented using the 'iso_c_binding' module.
   -- non-standard variable declarations (real*8, etc)

* Avoid use of 'mpif.h' in MPI compilation. Replace by 'use mpi'

* Avoid compiler checks for reallocation on assignment: whole array
  assignments now use array-section syntax in the left-hand side.

* Fix of a number of potential interface problems

* Some dead code has been removed

* The code should now compile with only 'benign' warnings with the
  gfortran flags:

      FFLAGS= -std=f2003 -Wall -Wextra -Wrealloc-lhs-all

A sizable number of warnings refer to unused arguments and variables,
which have not been removed in this pass.


expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: