Skip to content
Snippets Groups Projects
Commit 29250000 authored by Francesco Sabatini's avatar Francesco Sabatini
Browse files

Updated submit functions in HPC

parent 9e52e068
No related branches found
No related tags found
No related merge requests found
...@@ -23,12 +23,12 @@ module load R/3.6.2 ...@@ -23,12 +23,12 @@ module load R/3.6.2
filename="$1" filename="$1"
shift shift
output=/data/splot/_data_splot3/output_pred/$(basename $filename .shp)-$SGE_TASK_ID.csv output=/data/splot/_data_splot3/output_pred/$(basename $filename .tif)-$SGE_TASK_ID.csv
Rscript \ Rscript \
cli_A98.r \ cli_A98.r \
--cores ${NSLOTS:-1} \ --cores ${NSLOTS:-1} \
--typp "shp" \ --typp "raster" \
--chunk.i "$SGE_TASK_ID" \ --chunk.i "$SGE_TASK_ID" \
--chunkn 99 \ --chunkn 99 \
/data/splot/_data_splot3/header.shp.shp \ /data/splot/_data_splot3/header.shp.shp \
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#$ -S /bin/bash #$ -S /bin/bash
#$ -N PredictorExtract #$ -N PredictorExtract
#$ -o /work/$USER/$JOB_NAME-$JOB_ID_sd.log #$ -o /work/$USER/$JOB_NAME-$JOB_ID.log
#$ -j y #$ -j y
#$ -l h_rt=00:30:00:00 #$ -l h_rt=00:30:00:00
...@@ -12,21 +12,22 @@ ...@@ -12,21 +12,22 @@
#$ -pe smp 12-32 #$ -pe smp 12-32
#$ -cwd #$ -cwd
module load GCC/8.3.0
module load R module load OpenMPI/3.1.4
module load R/3.6.2
filename="$1" filename="$1"
shift shift
output=/data/splot/_data_splot3/output_pred/$(basename $filename .tif)_sd.csv output=/data/splot/_data_splot3/output_pred/$(basename "$filename" .tif).csv
Rscript \ Rscript \
cli_A98.r \ cli_A98.r \
--cores ${NSLOTS:-1} \ --cores "${NSLOTS:-1}" \
--typp "shp" \ --typp "raster" \
--chunk.i 1 \ --chunk.i 1 \
--chunkn 1 \ --chunkn 1 \
/data/splot/_data_splot3/header.shp.shp \ /data/splot/_data_splot3/header.shp.shp \
"NA" \ "robust.mean" \
"$output" \ "$output" \
"$filename" "$filename"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment