&GLOBAL
  PRINT_LEVEL LOW
  PROJECT argon
  RUN_TYPE CELL_OPT
&END GLOBAL

&MOTION
  &CELL_OPT
    EXTERNAL_PRESSURE 0.0
    MAX_DR 0.003
    MAX_FORCE 0.00045
    MAX_ITER 2
    OPTIMIZER CG
    RMS_DR 0.0015
    RMS_FORCE 0.0003
    &CG
      &LINE_SEARCH
        TYPE 2PNT
        &2PNT
        &END 2PNT
      &END LINE_SEARCH
    &END CG
  &END CELL_OPT
&END MOTION

&FORCE_EVAL
  METHOD QS
  STRESS_TENSOR ANALYTICAL
  &DFT
    BASIS_SET_FILE_NAME BASIS_MOLOPT
    POTENTIAL_FILE_NAME POTENTIAL
    &MGRID
      CUTOFF 180
    &END MGRID
    &QS
      METHOD GPW
    &END QS
    &SCF
      EPS_SCF 1.0e-4
      IGNORE_CONVERGENCE_FAILURE
      MAX_SCF 2
      SCF_GUESS ATOMIC
    &END SCF
    @XCTYPE vdW-DF1
  &END DFT
  &PRINT
    &STRESS_TENSOR
      ADD_LAST NUMERIC
      COMPONENTS
      &EACH
        CELL_OPT 1
      &END EACH
    &END STRESS_TENSOR
  &END PRINT
  &SUBSYS
    &CELL
      ABC 5.31 5.31 5.31
      ALPHA_BETA_GAMMA 90 90 90
    &END CELL
    &COORD
      SCALED .TRUE.
      Ar 0.0 0.0 0.0
      Ar 0.5 0.5 0.0
      Ar 0.5 0.0 0.5
      Ar 0.0 0.5 0.5
    &END COORD
    &KIND Ar
      BASIS_SET DZVP-MOLOPT-SR-GTH-q8
      POTENTIAL GTH-PADE-q8
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
