Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
environment_variables [2019/05/28 17:03]
francisco [Linux]
environment_variables [2020/11/18 18:19]
francisco [Environment Variables]
Line 3: Line 3:
 Dinamica EGO 5 has the option to configure some environment variables in order to provide some configuration customization. Below, it is provided the environment names with their respectively meaning: Dinamica EGO 5 has the option to configure some environment variables in order to provide some configuration customization. Below, it is provided the environment names with their respectively meaning:
  
-  * DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_RConfigure an alternative pathway to the R executable RScript. +^ Variable Name ^ Description ^ 
-  ​* ​DINAMICA_EGO_5_R_CRAN_MIRRORConfigure the server which is better for you get the R packages. +DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_R ​Configure an alternative pathway to the R executable RScript. ​| 
-  ​* ​DINAMICA_EGO_5_TEMP_DIRConfigure an alternative pathway that will store the temporary folder and files created into Dinamica'​s session. +DINAMICA_EGO_5_R_CRAN_MIRROR ​Configure the server which is better for you get the R packages. ​| 
-  ​* ​DINAMICA_EGO_5_GDAL_TOOLSConfigure an alternative pathway ​with the GDAL utilities ​requested by Dinamica, those are '​gdal_rasterize',​ '​gdal_translate'​ and '​gdalwarp'​. +| DINAMICA_EGO_5_PATH | Configure an alternative path for Dinamica uses on installing python packages those need external dependencies. | 
-  ​* ​DINAMICA_EGO_5_GDAL_TOOLS_DATAConfigure an alternative pathway ​with the Data requested by GDAL utilities.+DINAMICA_EGO_5_TEMP_DIR ​Configure an alternative pathway that will store the temporary folder and files created into Dinamica'​s session. ​| 
 +DINAMICA_EGO_5_GDAL_TOOLS ​Configure an alternative pathway ​to the GDAL utilities ​('​gdal_rasterize',​ '​gdal_translate'​ and '​gdalwarp'​) requested by DinamicaThe utilities are used by [[transform_map|Transform Map]] and [[rasterize_shape|Rasterize Shape]] functors | 
 +DINAMICA_EGO_5_GDAL_TOOLS_DATA ​Configure an alternative pathway ​to the Data requested by GDAL utilities. ​
 +| DINAMICA_EGO_5_GDAL_DATA | Configure an alternative pathway to the GDAL Data requested internally by Dinamica. | 
 +| DINAMICA_EGO_5_MEMORY_ALLOCATION_POLICY | Configure the behavior of Memory Allocation. |
  
-===== Access environment ​variable =====+There is 4 possible Memory Allocation Policy, which are: 
 + 
 +^ Memory Allocation Policy ^ Behavior value ^ 
 +| PREFER_MEMORY:​ Give allocation priority to memory (RAM) usage, without any control of quantity free memory available in the system. | 0 | 
 +| BALANCED: Try to keep a balanced level between memory usage allocation and the quantity free memory available in the system. | 1 | 
 +| PREFER_DISK:​ Give allocation priority to disk (HD) usage and try to keep as many as possible free memory in the system. | 2 | 
 +| MEMORY_ONLY:​ Use only memory to allocate the maps, and report an error if there is no sufficient available free memory in the system. | 3 | 
 + 
 +===== Environment ​variable ​Access ​=====
    
 ==== Windows 10 ==== ==== Windows 10 ====
Line 22: Line 34:
  
 ==== Linux ==== ==== Linux ====
-Linux has a different way to set environment variables. ​It is stored in settings files. the fully documentation about environment variables in ubuntu, that is similar to other distros, is here [[https://​help.ubuntu.com/​community/​EnvironmentVariables|External]].+Linux has a different way to set environment variables. ​You find [[https://​help.ubuntu.com/​community/​EnvironmentVariables|here]] the fully documentation about environment variables in ubuntu, that is similar in other Linux distributions.
 \\ \\
 \\ \\