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 11:28] acriado |
working_groups:ukurbangroup [2022/09/19 11:34] 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 149: | Line 151: | ||
* //#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, |