Displaying 1 result from an estimated 1 matches for "pbs_array_index".
2012 Mar 18
1
install R package on Unix cluster
...ed the following PBS file to send a job array:
#!/bin/bash -ue
#PBS -m ae
#PBS -M my email
#PBS -J 1-45
#PBS -A my username
#PBS -N job name
#PBS -l resources
#PBS -l walltime
cd $PBS_O_WORKDIR
module load R/2.14.1
R CMD INSTALL -l /path/to/library spatstat
R CMD BATCH /path/to/folder/Script_$PBS_ARRAY_INDEX.R
Obviosuly I failed to understand pag 19 of the R admin manual because I keep getting the following error message:
Warning: invalid package ‘spatstat’
Error: ERROR: no packages specified
I'd appreciate if you can point me in the right direction
Thanks
Lorenzo
[[alternative HTML version...