This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
working_groups:ukurbangroup [2022/09/19 09:46] acriado |
working_groups:ukurbangroup [2022/09/23 09:07] acriado |
||
---|---|---|---|
Line 19: | Line 19: | ||
===== Visualization ===== | ===== Visualization ===== | ||
- | At this point, it is recommended to follow the tutorial using the Rstudio program to visualize the different scripts. | + | It is recommended to follow the tutorial using the Rstudio program |
+ | |||
+ | To configure the Rstudio app and open it through your workstation, | ||
+ | |||
+ | * Create the file init_rstudio.sh and save it : | ||
+ | < | ||
+ | module load RStudio/ | ||
+ | module load R/ | ||
+ | rstudio & | ||
+ | </ | ||
+ | * Open the Rstudio application: | ||
+ | <code bash> | ||
+ | bash init_rstudio.sh | ||
+ | </ | ||
+ | |||
+ | To launch it in the workstation, | ||
+ | |||
+ | * Open your bashrc: | ||
+ | <code bash> | ||
+ | vi ~/.bashrc | ||
+ | </ | ||
+ | |||
+ | * Save the modules: | ||
+ | <code bash> | ||
+ | module load RStudio/ | ||
+ | module load R/ | ||
+ | </ | ||
+ | |||
+ | * Save your bashrc: | ||
+ | <code bash> | ||
+ | source ~/.bashrc | ||
+ | </ | ||
+ | * Launch the script: | ||
+ | <code bash> | ||
+ | Rscript [script] | ||
+ | </ | ||
===== First Steps : understanding the scripts ===== | ===== First Steps : understanding the scripts ===== | ||
Line 45: | 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 116: | Line 154: | ||
* //#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, |