Saturday, December 11, 2021

auto cointegration Johasen test on ECS323GPUStation and macbook pro


20211211Sat: 

22:04, executed (error occured). 

hqin@ECS323GPUStation:~/COVID19_transmission_MS$ 

hqin@ECS323GPUStation:~/COVID19_transmission_MS$ cat commands_cajo.txt 

nohup  R -f auto_county_cajo.R --args 1 800  & 

nohup  R -f auto_county_cajo.R --args 801 1600  & 

nohup  R -f auto_county_cajo.R --args 1601 2400  & 

nohup  R -f auto_county_cajo.R --args 2401 3151 & 

Back at MacPro

22:40. I modified the code to take debug as input, and ran on macpro. Many jobs get done quickly, but something take very long time. 

22:55, move to ECS323GPUStation: 

hqin@ECS323GPUStation:~/COVID19_transmission_MS$ cat commands_cajo.txt 

nohup  R -f auto_county_cajo.R --args 1 800  1 & 

nohup  R -f auto_county_cajo.R --args 801 1600  1 & 

nohup  R -f auto_county_cajo.R --args 1601 2400 1  & 

nohup  R -f auto_county_cajo.R --args 2401 3151 1 &


hqin@ECS323GPUStation:~/COVID19_transmission_MS$ ps -ef | grep county

hqin      156203       1 99 22:03 pts/0    00:51:08 /usr/lib/R/bin/exec/R -f auto_county_cajo.R --args 801 1600

hqin      591653   13303  0 22:54 pts/0    00:00:00 grep county

hqin     3595313       1 99 22:54 pts/0    00:00:38 /usr/lib/R/bin/exec/R -f auto_county_cajo.R --args 1 800 1

hqin     3595314       1 99 22:54 pts/0    00:00:38 /usr/lib/R/bin/exec/R -f auto_county_cajo.R --args 801 1600 1

hqin     3595315       1 99 22:54 pts/0    00:00:38 /usr/lib/R/bin/exec/R -f auto_county_cajo.R --args 1601 2400 1

hqin     3595316       1 99 22:54 pts/0    00:00:38 /usr/lib/R/bin/exec/R -f auto_county_cajo.R --args 2401 3151 1

The job 801-1600 took almost 55 minutes on ECS313GPUStation and is the longest job. 

Re-run commands_cajo.txt and all jobs are done quickly. So, co.ja() run have stochastic elements.  

(base) hqin@CS313BQin COVID19_transmission_MS % ls -tlh *csv

-rw-r--r--  1 hqin  staff   266K Dec 11 23:15 _autocajo_801-1600.csv

-rw-r--r--  1 hqin  staff   257K Dec 11 23:15 _autocajo_2401-3151.csv

-rw-r--r--  1 hqin  staff   266K Dec 11 23:15 _autocajo_1601-2400.csv

-rw-r--r--  1 hqin  staff   523K Dec 11 23:15 _autocajo_1-3151.csv

TODO: merge these four temporary files. 

Alternatively, run the whole process in workstation. 






No comments:

Post a Comment