Monday 18 May 2015

swmmout study

swmmout

swmmtoolbox catalog sydney_sps.out

get all the variables in the outfile

swmmtoolbox extract sydney_sps.out link,link597,1 >> link597.txt
swmmtoolbox extract sydney_sps.out link,link597,1 link,link597,2 link,link597,3 link,link597,4 >link597




0--flow rate
1--height
2--flow
3-- froud number
4--capacity


in dropdown,

listdetail
 getdata        DEPRECATED: Use 'extract' instead.







swmmtoolbox listdetail sydney_sps.out node





swmmtoolbox extract sydney_sps.out node,nodeSPS0067,1 >nodeSPS0067_1

0. depth_above_invert
1. hydraulic head
2. volume_storeded_ponded
3.lateral inflow
4. total inflow
5. flow lost_flooding

swmmtoolbox extract sydney_sps.out node,nodeSPS0067,2 node,nodeSPS0067,3 node,nodeSPS0067,4 node,nodeSPS0067,5  >nodeSPS0067_2

Tuesday 5 May 2015

slurm study

/usr/share/doc/slurm-llnl-doc/

slurm-llnl-doc install

the location is at /usr/share/doc/slurm-llnl-doc/html


http://sphaleron.blogspot.com.au/2011/08/really-super-quick-start-guide-to.html

Really Super Quick Start Guide to Setting Up SLURM
SLURM is the awesomely-named Simple Linux Utility for Resource Management written by the good people at LLNL. It's basically a smart task queuing system for clusters. My cluster has always run Sun Grid Engine, but it looks like SGE is more or less dead in the post-Oracle Sun software apocalypse. In light of this and since SGE recently looked at me the wrong way, I'm hoping to ditch it for SLURM. I like pop culture references and software that works.

The "Super Quick Start Guide" for LLNL SLURM has a lot of words, at least one of which is "make." If you're lazy like me, just do this:

0. Be using Ubuntu
1. Install: # apt-get install slurm-llnl
2. Create key for MUNGE authentication: /usr/sbin/create-munge-key
3a. Make config file: https://computing.llnl.gov/linux/slurm/configurator.html
3b. Put config file in: /etc/slurm-llnl/slurm.conf
4. Start master: # slurmctld
5. Start node: # slurmd
6. Test that fool: $ srun -N1 /bin/hostname

service slurm-llnl restart


 cat slurmctld.log 
[2015-05-06T13:36:48] Job accounting information stored, but details not gathered
[2015-05-06T13:36:48] error: open /var/log/slurm_jobacct.log: Permission denied
[2015-05-06T13:36:48] error: Couldn't load specified plugin name for accounting_storage/filetxt: Plugin init() callback failed
[2015-05-06T13:36:48] error: cannot resolve acct_storage plugin operations
[2015-05-06T13:36:48] slurmctld version 2.3.2 started on cluster cluster
[2015-05-06T13:36:48] error: open /var/log/slurm_jobacct.log: Permission denied
[2015-05-06T13:36:48] error: Couldn't load specified plugin name for accounting_storage/filetxt: Plugin init() callback failed
[2015-05-06T13:36:48] error: cannot resolve acct_storage plugin operations
[2015-05-06T13:36:48] fatal: failed to initialize accounting_storage plugin



https://paolobertasi.wordpress.com/2011/05/24/how-to-install-slurm-on-debian/

  • /etc/init.d/slurm-llnl start