Cluster:
1. qsub -IV -l walltime=24:00:00 -l nodes=1:ppn=8
2. module load R-4.0.0
3. module load matlab-r2020a
4. watch -n 1 'qstat -u username| grep abcd'
5. qpeek -t 1450124
6. Rscript asd.r
7. watch -n 1 pdsh -w mualhpcp39.mpi top -b -n 1 -u [username]
8. watch -n 1 pdsh -w mualhpcp39.mpi nvidia-smi
9. qstat -f 87859 ---> req_information.hostlist. ....
10. ssh -t username@mualhpcp39 'top'
Note to self:
1. Always load gcc-9.2.0 across all client note in .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
module load gcc-9.2.0 R-4.0.0
2. Running R across nodes: request multiple nodes (make sure gcc and R are preloaded AND the correct pair of keys are present)
1. qsub -IV -l walltime=24:00:00 -l nodes=1:ppn=8
2. module load R-4.0.0
3. module load matlab-r2020a
4. watch -n 1 'qstat -u username| grep abcd'
5. qpeek -t 1450124
6. Rscript asd.r
7. watch -n 1 pdsh -w mualhpcp39.mpi top -b -n 1 -u [username]
8. watch -n 1 pdsh -w mualhpcp39.mpi nvidia-smi
9. qstat -f 87859 ---> req_information.hostlist. ....
10. ssh -t username@mualhpcp39 'top'
Note to self:
1. Always load gcc-9.2.0 across all client note in .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
module load gcc-9.2.0 R-4.0.0
2. Running R across nodes: request multiple nodes (make sure gcc and R are preloaded AND the correct pair of keys are present)