[Pw_forum] allocate_radial_grid error: mesh>ndmx

Paolo Giannozzi giannozz at democritos.it
Wed Jul 27 19:53:41 CEST 2011


On Jul 27, 2011, at 18:57 , Ian Kirker wrote:

>      from allocate_radial_grid : error #         1
>      mesh>ndmx

$ grep "mesh>ndmx" */*f90
Modules/radial_grids.f90:      if(mesh>ndmx) &
Modules/radial_grids.f90:         call errore('allocate_radial_grid',  
'mesh>ndmx',1)

$ grep ndmx Modules/radial_grids.f90
   ! - ndmx     : parameter definition max grid dimension
        ndmx=3500     ! the maximum mesh size
   PUBLIC :: ndmx, radial_grid_type, &
       if(mesh>ndmx) &
          call errore('allocate_radial_grid', 'mesh>ndmx',1)
       if(mesh+1 > ndmx) call errore('do_mesh','ndmx is too small',1)

Just increase it and recompile. Moving to dynamical allocation was  
not worth
the effort.

P.
---
Paolo Giannozzi, Dept of Chemistry&Physics&Environment,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222







More information about the users mailing list