[GRASS-git] [OSGeo/grass] f12f14: parser: Add NPROCS GIS env var to set default for ...

Aaron Saw Min Sern noreply at github.com
Wed Jul 28 18:55:04 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: f12f14579009a47d1aba483ccef1738b613261f2
      https://github.com/OSGeo/grass/commit/f12f14579009a47d1aba483ccef1738b613261f2
  Author: Aaron Saw Min Sern <58265908+aaronsms at users.noreply.github.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M lib/gis/parser_standard_options.c
    M lib/init/variables.html

  Log Message:
  -----------
  parser: Add NPROCS GIS env var to set default for nprocs (#1734)

* This adds an NPROCS GIS environment variable.
* This change allows to globally override the default value (1) with a user defined value for the nprocs option using g.gisenv.
* This follows the existing implementation for memory with MEMORYMB variable (PR #922).
* nprocs option already exists, so this adds only the variable NPROCS and its documentation.




More information about the grass-commit mailing list