Monday, July 4, 2016

(todo) grid net2 gordon run (in progress)

Net2 is a 5-link grid network model.

#test on byte

Byte-4:1.grid.network.2015Oct hqin$ pwd

/Users/hqin/github/mactower-network-failure-simulation/1.grid.network.2015Oct

Rscript netwk_aging_sim.v0.1b.R -if1 net2/Degree5N1000_network.csv  -if2 net2/Degree5N1000_EssenLookupTb.csv -l1 0.02 -l2 0 -dt 0 -p 0.98 -n 50  -op net2 -od net2 -d 1 -iC 16 -h /Users/hqin/github/mactower-network-failure-simulation/1.grid.network.2015Oct

@gordon

[hongqin@gordon-ln1 1.grid.network.2015Oct]$ cat grid_net2_aging_loopgordon.pbs
#!/bin/bash
#PBS -l nodes=1:ppn=16
#PBS -l walltime=07:00:00:00

module load R

echo hostname
cd /oasis/scratch/hongqin/temp_project/mactower-network-failure-simulation/1.grid.network.2015Oct
pwd

for p in 1.0 0.99 0.98 0.97 0.96 0.95 0.94 0.93 0.92 0.91 0.9 0.89 0.88 0.87 0.86 0.85 0.84 0.82 0.81 0.8 
do
   for LOne in 0.002 0.0025 0.003 0.0035 0.004 0.0045 0.005 0.0055 0.006 0.0065 0.007 0.0075 0.008
   do
      echo "$p $LOne"
      #R --vanilla --slave -f 20151101-net-sim-ginppi.R --args $LOne 0.0002 5 $p 1000
      Rscript netwk_aging_sim.v0.1b.R -if1 net2/Degree5N1000_network.csv  -if2 net2/Degree5N1000_EssenLookupTb.csv -l1 $LOne -l2 0 -dt 0 -p $p -n 5000  -op net2 -od net2 -d 1 -iC 16 -h /oasis/scratch/hongqin/temp_project/mactower-network-failure-simulation/1.grid.network.2015Oct
   done

done

July 4, 11:26am
[hongqin@gordon-ln1 1.grid.network.2015Oct]$ qstat -u hongqin

gordon-fe2.local: 
                                                                                  Req'd    Req'd       Elap
Job ID                  Username    Queue    Jobname          SessID  NDS   TSK   Memory   Time    S   Time
----------------------- ----------- -------- ---------------- ------ ----- ------ ------ --------- - ---------
2620348.gordon-fe2.loc  hongqin     normal   grid_net2_aging_  47508     1     16    --  168:00:00 R  00:02:46      -     --


July 5: 0:52am: 
[hongqin@gordon-ln2 1.grid.network.2015Oct]$ qstat -u hongqin

gordon-fe2.local: 
                                                                                  Req'd    Req'd       Elap
Job ID                  Username    Queue    Jobname          SessID  NDS   TSK   Memory   Time    S   Time
----------------------- ----------- -------- ---------------- ------ ----- ------ ------ --------- - ---------

2620348.gordon-fe2.loc  hongqin     normal   grid_net2_aging_  47508     1     16    --  168:00:00 R  13:29:18

July 5, 2016. 12pm.  Loginto Gordon and found the job completed around 3am. 
Using Globus, I transferred the 'new and changed" files back to Byte's mactow-simulation github repository. 





No comments:

Post a Comment