Last login: Mon Apr 20 20:38:58 on ttys001 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. Yen-YisMacOffice:~ hoyen$ ssh -p222 hoyen@bolden.sc.edu hoyen@bolden.sc.edu's password: Duo two-factor login for hoyen Enter a passcode or select one of the following options: 1. Duo Push to XXX-XXX-3068 2. Phone call to XXX-XXX-3068 3. SMS passcodes to XXX-XXX-3068 Passcode or option (1-3): 1 Pushed a login request to your device... Success. Logging you in... [hoyen@bolden ~]$ [hoyen@bolden ~]$ [hoyen@bolden ~]$ [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test.rtf [hoyen@bolden ~]$ rm test.rtf [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs [hoyen@bolden ~]$ [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test test.R test.sh [hoyen@bolden ~]$ module avail --------------------------- /share/apps/modulefiles ---------------------------- MAPS/4.3 gamess/2019R1 python/3.8.1 R/3.6.2 imagej/1.52 python/anaconda3/2019.10 TheoDORE/2.0.2 impi/intel64-5.0.3.049 qchem/5.2 adf/2014.11 intel-compiler/2015 samtools/1.10 bowtie/1.2.3 mkl/intel64-2015 vmd/1.9.3 cmake/3.15.3 openbabel/3.0.0 dftbplus/19.1 openmpi/4.0.1 Use "module spider" to find all possible modules. Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys". [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test test.R test.sh [hoyen@bolden ~]$ rm test* [hoyen@bolden ~]$ more test.sh #!/bin/sh #SBATCH -p all #SBATCH --job-name="test" #SBATCH --output=test-%a.out #SBATCH --error=test-%a.err #SBATCH -n 1 #SBATCH -N 1 #SBATCH --ntasks=1 #SBATCH --array=1 pwd; hostname; date module load R/3.6.2 Rscript --no-save --no-restore --verbose test.R ${SLURM_ARRAY_TASK_ID} > test. Rout [hoyen@bolden ~]$ more test.R .libPaths("~/Rlibs") x<-runif(100) print(x) save(x, file="test.RData") [hoyen@bolden ~]$ [hoyen@bolden ~]$ sbatch test.sh Submitted batch job 5689 [hoyen@bolden ~]$ squeue -u hoyen JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) [hoyen@bolden ~]$ ls bin Rlibs test-1.out test.RData test.sh qchem_sample.sh test-1.err test.R test.Rout [hoyen@bolden ~]$ more test.Rout [1] 0.123820882 0.320347458 0.033440393 0.767418604 0.275505391 0.158931988 [7] 0.178421027 0.790571777 0.986733997 0.977393315 0.257950218 0.836322202 [13] 0.837018581 0.188996195 0.311769576 0.010059654 0.005689089 0.704255609 [19] 0.956120895 0.104379612 0.659266089 0.691974064 0.922453138 0.469416093 [25] 0.449648279 0.225998272 0.058716004 0.194602417 0.774391107 0.482533329 [31] 0.352359739 0.226566035 0.959445777 0.833609615 0.962603830 0.819800701 [37] 0.040838691 0.303920193 0.451144843 0.762310651 0.338502781 0.502678090 [43] 0.117670105 0.478048745 0.304863931 0.034263038 0.833457778 0.871918818 [49] 0.601084024 0.834497652 0.740829510 0.543380497 0.266897439 0.044741102 [55] 0.474128468 0.733463927 0.537322420 0.250665496 0.416338650 0.607079141 [61] 0.994815326 0.317052725 0.235558272 0.808877909 0.406929390 0.938566927 [67] 0.534557628 0.149012031 0.449859073 0.076250083 0.394969477 0.462290518 [73] 0.046639149 0.353484785 0.591959390 0.779558764 0.202632983 0.540250539 [79] 0.056077180 0.811885970 0.894045848 0.805965188 0.236831897 0.713010554 [85] 0.102813664 0.631050106 0.615912967 0.127861253 0.581656492 0.437224925 [91] 0.363908205 0.550094121 0.034601334 0.831249186 0.596805723 0.219988542 [97] 0.139547919 0.660806817 0.681494273 0.663403890 [hoyen@bolden ~]$ [hoyen@bolden ~]$ ls bin Rlibs test-1.out test.RData test.sh qchem_sample.sh test-1.err test.R test.Rout [hoyen@bolden ~]$ more test-1.err running '/share/apps/src/R-3.6.2/bin/R --slave --no-restore --no-save --no-restore --f ile=test.R --args 1' [hoyen@bolden ~]$ ls bin Rlibs test-1.out test.RData test.sh qchem_sample.sh test-1.err test.R test.Rout [hoyen@bolden ~]$ ls bin Rlibs test-1.out test.RData test.sh qchem_sample.sh test-1.err test.R test.Rout [hoyen@bolden ~]$ more test-1.out /home/hoyen chemist3 Wed Apr 22 14:26:07 EDT 2020 [hoyen@bolden ~]$ [hoyen@bolden ~]$ rm test-1.out [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test-1.err test.R test.RData test.Rout test.sh [hoyen@bolden ~]$ more test-1.err running '/share/apps/src/R-3.6.2/bin/R --slave --no-restore --no-save --no-restore --file=te st.R --args 1' [hoyen@bolden ~]$ rm test-1.err [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test.R test.RData test.Rout test.sh [hoyen@bolden ~]$ rm test.RData [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test.R test.Rout test.sh [hoyen@bolden ~]$ rm test.Rout [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test.R test.sh [hoyen@bolden ~]$ mkdir test [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test test.R test.sh [hoyen@bolden ~]$ mv test.* ./test/. [hoyen@bolden ~]$ ls bin qchem_sample.sh Rlibs test [hoyen@bolden ~]$ cd test [hoyen@bolden test]$ ls test.R test.sh [hoyen@bolden test]$ [hoyen@bolden test]$ [hoyen@bolden test]$ sbatch test.sh Submitted batch job 5690 [hoyen@bolden test]$ squeue JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 5429 all BTD_BrTP mdfaizul R 10-17:05:56 1 chemist4 5435 all BigBODIP dustinwg R 9-23:06:22 1 chemist15 5449 all sample bersenea R 9-17:04:06 1 chemist2 5531 all sample bersenea R 3-01:43:10 1 chemist6 5533 all sample bersenea R 2-05:51:41 1 chemist13 5571 all sample bersenea R 1-17:31:28 1 chemist12 5572 all sample bersenea R 1-17:31:22 1 chemist14 5574 all sample bersenea R 1-17:30:58 1 chemist9 5638 all sample bersenea R 22:53:44 1 chemist1 5640 all clbq mdfaizul R 17:51:05 1 chemist16 5646 all 1solutio dustinwg R 8:05:17 1 chemist20 5647 all 1solutio dustinwg R 6:41:36 1 chemist17 [hoyen@bolden test]$ ls test-1.err test-1.out test.R test.RData test.Rout test.sh [hoyen@bolden test]$ qhost bash: qhost: command not found... Similar command is: 'host' [hoyen@bolden test]$ sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST all* up infinite 2 down* chemist[5,10] all* up infinite 1 drain chemist7 all* up infinite 12 alloc chemist[1-2,4,6,9,12-17,20] all* up infinite 5 idle chemist[3,8,11,18-19] [hoyen@bolden test]$