[Octopus-devel] cvs commit: marques/octopus/src mesh_init.F90

cvsusers at tddft.org cvsusers at tddft.org
Fri Nov 18 10:38:45 WET 2005


acastro     2005/11/18 10:38:45 WET

  Modified files:
    octopus/src          mesh_init.F90 
  Log:
  The code was crashing in the marenostrum machine at unexpected points
  near the call to mesh_partition, when attempting to run systems with
  large meshes. The reason seemed to be a memory problem, probably the
  code was legal but the memory managemente was badly done by the
  compiler (mpxlf compiler from ibm). With the changes that I did, it
  seems to work fine now. I don't know, maybe in the way that it was
  done before, some odd copies were being made, filling the cache, or
  the stack, or whatever, maybe the ventilators, god knows.
  
  In general, it is probably not a good practice to pass a structure and
  components of that structure separately to a subroutine. Also, it is
  probably better to use allocate than using automatic arrays.
  
  Revision  Changes    Path
  1.6       +11 -14    marques/octopus/src/mesh_init.F90


More information about the Octopus-devel mailing list