This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
working_groups:ukurbangroup [2022/09/19 11:28] acriado |
working_groups:ukurbangroup [2022/09/23 09:10] (current) acriado |
||
|---|---|---|---|
| Line 27: | Line 27: | ||
| module load RStudio/ | module load RStudio/ | ||
| module load R/ | module load R/ | ||
| - | module load GDAL/ | ||
| - | module load PROJ/ | ||
| - | module load GEOS/ | ||
| - | module load HDF5/ | ||
| rstudio & | rstudio & | ||
| </ | </ | ||
| Line 40: | Line 36: | ||
| To launch it in the workstation, | To launch it in the workstation, | ||
| - | * <code bash> | + | * Open your bashrc: |
| + | <code bash> | ||
| vi ~/.bashrc | vi ~/.bashrc | ||
| - | </ | + | </ |
| - | Open the Rstudio application: | + | |
| + | * Save the modules: | ||
| <code bash> | <code bash> | ||
| - | * source ~/.bashrc | + | module load RStudio/1.1.463-foss-2015a |
| + | module load R/ | ||
| </ | </ | ||
| - | Open the Rstudio application: | + | |
| + | * Save your bashrc: | ||
| <code bash> | <code bash> | ||
| - | * Launch the script : | + | source ~/.bashrc |
| </ | </ | ||
| - | Rscript [script] | + | * Launch the script: |
| <code bash> | <code bash> | ||
| + | Rscript [script] | ||
| + | </ | ||
| ===== First Steps : understanding the scripts ===== | ===== First Steps : understanding the scripts ===== | ||
| Line 78: | Line 80: | ||
| Now we are going to see what is and the implication of each of the items that have to be filled in the configuration file: | Now we are going to see what is and the implication of each of the items that have to be filled in the configuration file: | ||
| - | * **//UniversalKriging_path//** : (a folder path) \\ this will be the main folder, the one that is created after copying | + | * **//repository_path//** : (a folder path) \\ this would be the folder |
| - | * **// | + | |
| + | * **// | ||
| + | |||
| * **// | * **// | ||
| * **// | * **// | ||
| - | | + | |
| + | * **// | ||
| + | | ||
| * **// | * **// | ||
| Line 92: | Line 96: | ||
| * **// | * **// | ||
| * **// | * **// | ||
| - | | + | |
| - | * //cross//: If we want to apply the Leave-One-Out Cross-Validation, | + | - //cross//: If we want to apply the Leave-One-Out Cross-Validation, |
| - | * //UK_max// and // | + | - //UK_max// and // |
| - | * // | + | - // |
| - | * // | + | - // |
| Line 104: | Line 108: | ||
| As a resume, notice that the user only has to do the following about the configuration file: | As a resume, notice that the user only has to do the following about the configuration file: | ||
| - | * Choosing you own **//UniversalKriging_path//** and referring to it the path **//general//**. | + | * Choosing you own **//repository_path//** and **//UniversalKriging_path//**. |
| * Choosing one of the **// | * Choosing one of the **// | ||
| * Choosing the Universal Kriging mode in terms of the covariates, the application, | * Choosing the Universal Kriging mode in terms of the covariates, the application, | ||
| Line 149: | Line 153: | ||
| * //#SBATCH --time=48: | * //#SBATCH --time=48: | ||
| * //#SBATCH --time=01: | * //#SBATCH --time=01: | ||
| + | |||
| + | The user has to charge the model in the //bashrc// (referred to the machine): | ||
| + | * Open your bashrc: | ||
| + | <code bash> | ||
| + | vi ~/.bashrc | ||
| + | </ | ||
| + | |||
| + | * Save the modules: | ||
| + | <code bash> | ||
| + | module load R | ||
| + | </ | ||
| + | |||
| + | * Save your bashrc: | ||
| + | <code bash> | ||
| + | source ~/.bashrc | ||
| + | </ | ||
| + | |||
| To submit the job regarding this methodology, | To submit the job regarding this methodology, | ||