diff --git a/#README# b/#README# deleted file mode 100644 index 8a96db9..0000000 --- a/#README# +++ /dev/null @@ -1,58 +0,0 @@ -Installation -============ -To install BatchQ type: - -$ easy_install batchq - -Documentation -============= -The documentation can be found at http://batchq.rtfd.org - - -For version 0.3 -=============== -x = Brutus() -jobs = [] -with x: - using_lfs() - jobs += submit("command") - end_lfs() - -We have following objects -========================== -Connection type: -Terminal: -Submission system: - - -### Following would be easy to implement: -machine = Brutus() - -LSF(machine) \ - working_directory( ) - input_directory ( ) - jobs += run_job( " " ) - - -with FileCommander( ): - lcd( ) - rcd( ) - send_files( ) - sync( ) - -with Terminal([start options]): - cd(working_directory) - - use( Subshell () ) ## LSF(), default = Shell() - - for i in range(0,10): - jobs += submit( command ) # Submit returns a collection object - - enduse() - - -### -connection = Brutus() - -connection.send_files(["file1","file2"]) -connection.call("xx") diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index f18de64..0000000 --- a/MANIFEST +++ /dev/null @@ -1,94 +0,0 @@ -# file GENERATED by distutils, do NOT edit -AUTHORS -LICENSE -README -setup.py -batchq/__init__.py -batchq/bin/q -batchq/contrib/__init__.py -batchq/contrib/alps/__init__.py -batchq/contrib/alps/test.py -batchq/contrib/alps/tools.py -batchq/contrib/alps/examples/example1_dict.py -batchq/contrib/alps/examples/example1_dict.py~ -batchq/contrib/alps/examples/example2_configuration.py -batchq/contrib/alps/examples/example3_class.py -batchq/contrib/alps/examples/example3_class.py~ -batchq/contrib/alps/examples/original.py -batchq/contrib/examples/00_basics.py -batchq/contrib/examples/00f_wildcards.py -batchq/contrib/examples/01_create_file.py -batchq/contrib/examples/core_basepipe.output -batchq/contrib/examples/core_basepipe.py -batchq/contrib/examples/core_process.output -batchq/contrib/examples/core_process.py -batchq/contrib/examples/hello.txt -batchq/contrib/examples/replacement.py -batchq/contrib/examples/test.py -batchq/contrib/examples/tutorial2_basestructure.py -batchq/contrib/examples/tutorial2_call.py -batchq/contrib/examples/tutorial2_create_file2.py -batchq/contrib/examples/tutorial2_create_file3.py -batchq/contrib/examples/tutorial2_create_file4.py -batchq/contrib/examples/tutorial2_error1.py -batchq/contrib/examples/tutorial2_error2.py -batchq/contrib/examples/tutorial2_hello_param.output -batchq/contrib/examples/tutorial2_hello_param.py -batchq/contrib/examples/tutorial2_hello_world.output -batchq/contrib/examples/tutorial2_hello_world.py -batchq/contrib/examples/tutorial2_inherit.py -batchq/contrib/examples/tutorial2_python_implementation.py -batchq/contrib/examples/tutorial2_python_implementation_SSH.py -batchq/contrib/examples/tutorial2_replacement.output -batchq/contrib/examples/tutorial2_replacement.py -batchq/contrib/examples/tutorial3_nohup1.py -batchq/contrib/examples/tutorial3_nohup2.py -batchq/contrib/examples2/nohup/__init__.py -batchq/contrib/examples2/nohup/nohup.py -batchq/core/__init__.py -batchq/core/batch.py -batchq/core/communication.py -batchq/core/errors.py -batchq/core/library.py -batchq/core/memory.py -batchq/core/process.py -batchq/core/terminal.py -batchq/core/utils.py -batchq/core/terminal/__init__.py -batchq/core/terminal/base.py -batchq/core/terminal/patternregister.py -batchq/core/terminal/vt100.py -batchq/core/terminal/xterm.py -batchq/pipelines/__init__.py -batchq/pipelines/interpreters/__init__.py -batchq/pipelines/interpreters/python.py -batchq/pipelines/math/__init__.py -batchq/pipelines/math/maple.py -batchq/pipelines/shell/__init__.py -batchq/pipelines/shell/bash.py -batchq/pipelines/shell/sftp.py -batchq/pipelines/shell/ssh.py -batchq/pipelines/shell/utils.py -batchq/queues/__init__.py -batchq/queues/functions.py -batchq/queues/lsf.py -batchq/queues/nohup.py -batchq/shortcuts/__init__.py -batchq/shortcuts/queue.py -batchq/shortcuts/shell.py -batchq/templates/__init__.py -docs/api.rst -docs/index.rst -docs/introduction.rst -docs/tutorial.rst -docs/tutorial_bsub.rst -docs/tutorial_nhup.rst -docs/vistrails.rst -docs/webinterface.rst -docs/api/batch.rst -docs/api/math_terminals.rst -docs/api/shell_terminals.rst -docs/api/terminal.rst -docs/contrib/django_webserver.rst -docs/contrib/kivy_terminal.rst -docs/user/intro.rst diff --git a/batchq/__init__.py b/batchq/__init__.py index 4118f1c..033b584 100644 --- a/batchq/__init__.py +++ b/batchq/__init__.py @@ -1,2 +1,2 @@ def get_version(): - return "0.1-3-pre-alpha" + return "0.1-4-pre-alpha" diff --git a/batchq/bin/q b/batchq/bin/q new file mode 100755 index 0000000..0ba7777 --- /dev/null +++ b/batchq/bin/q @@ -0,0 +1,213 @@ +#! /opt/local/bin/python +from batchq.queues import * +from batchq.core.batch import load_settings +import sys +import inspect +import json +import copy + +class Main(object): + """ + The command line tool can be used for queuing and templating. The + general syntax: + + $ q name [task] [arg1] [arg2] ... [argN] [-u] [-t] [-i] [--parameter1=value1] [--parameter2=value2] ... [--parameterM=valueM] + + $ q name [arg1] [arg2] ... [argN] [-t] [--parameter1=value1] [--parameter2=value2] ... [--parameterM=valueM] + + Example: + $ q nohup-ssh submitjob --host=localhost --username=tfr --indir=. --outdir=/Users/tfr/Downloads/ + + + If the name is both a queue name and a template name, the queue will be + executed as default. For queues the parameters are set in an instance of + the object, where as for templates these are passed on as context + variables. If the flag -t is on, the name is looked up as a template. + + """ + + def __call__(self, name,task=None, *args, **kwargs): + """ + + """ + from batchq.core.library import Library + which = -1 + u,t,i,q,f = False,False,False,False,True + + if not task is None and "@" in task: + task, conffile = task.split("@") + + newargs, newkwargs, switches = load_settings(conffile) + u,t,i,q,f = switches + if len(args)< len(newargs): + for n in range(0,len(args)): + newargs[n] = args[n] + args = tuple(newargs) + + newkwargs.update(kwargs) + kwargs = newkwargs + + + + if 'u' in kwargs: + u = kwargs['u'] + del kwargs['u'] + self.update() + if 'i' in kwargs: + i = kwargs['i'] + del kwargs['i'] + if 't' in kwargs: + t = kwargs['t'] + del kwargs['t'] + if 'q' in kwargs: + q = kwargs['q'] + del kwargs['q'] + if t: + raise BaseException("Either of -t or -q must be set, not both.") + if t or q: + f = False + + if t and name in Library.templates.dict: + which = 2 + elif q and name in Library.queues.dict: + which = 1 + elif name in Library.functions.dict: + which = 0 + elif name in Library.queues.dict: + which = 1 + elif name in Library.templates.dict: + which = 2 + + + if which == -1: + print inspect.getdoc(self.update) + print + print "Available functions:", ", ".join([a for a in Library.functions.dict.iterkeys()]) + print "Available queues:", ", ".join([a for a in Library.queues.dict.iterkeys()]) + print "Available templates:", ", ".join([a for a in Library.templates.dict.iterkeys()]) + print + return -1 + + + switches = (u,t,i,q,f) + if which == 0: + fnc = Library.functions.dict[name] + fnc(task, args, kwargs, switches) + + if which == 1: + + + cls = Library.queues.dict[name] + try: + if i: + kwargs[u'q_interact'] = True + instance = cls(*args,**kwargs) + except: + print + print "Class: ", cls + print "Arguments: ", args + print "Keyword arguments: ", kwargs + print "Error:", sys.exc_info()[0] + print + + if inspect.getdoc(cls): + print inspect.getdoc(cls) + print + + raise + + + if hasattr(instance, task): + + fnc = getattr(instance,task) + r = fnc() + ret = r.val() + if type(ret) is not int: + print ret + try: + ret = int(ret) + except: + ret = 0 + return ret + else: + if inspect.getdoc(cls): + print inspect.getdoc(cls) + print + raise BaseException("Task '%s' is not defined for %s." %(task,name)) + return 0 + + if which == 2: + outfile = args[0] + + f = open(task, "r+") + input = f.read() + f.close() + eng = Library.templates.dict[name] + + ins = eng(input) + ins.set_filename(task) + output = ins.render({}) + + f = open(outfile, "w") + f.write(output) + f.close() + + + return 0 + + + def update(self): + """ + If a listed module is not available, call q with the update + option -u: + + $ q.py name [task] -u [-i] [--parameter1=value1] [--parameter2=value2] ... [--parameterN=valueN] + + This will update the cache and locate new modules. NOTE: At the + moment no cache is installed so you really don't need to worry + about this. + """ + pass + +if __name__ == "__main__": + from batchq import get_version + main = Main() + ret = -1 +# try: + lst = sys.argv + + indices = [i for i in range(0, len(lst)) if len(lst[i])==0 or lst[i][0] !="-"] + indices.reverse() + noparam = [lst.pop(i) for i in indices] + noparam.reverse() + + try: + file, name, task = noparam[0:3] + args = noparam[3:] + except: + try: + task = None + file, name = noparam[0:2] + args = () + except: + print "BatchQ ", get_version() + print + print "Type 'q help' for help." + print "Type 'q list' for a list of available commands." + sys.exit(0) + + ext = lambda x: x if len(x) == 2 else x+[True] + fnc = lambda x: ext(x[2:].split("=",)) if len(x) > 2 and x[0:2] == "--" else (x[1:], True) + kwargs = dict([fnc(val) for val in lst ]) + + ret = main(name,task,*args, **kwargs) +# except: +# print "BatchQ" +# print "by Troels F. Roennow, 2011-2012 ETH Zurich" +# print +# print inspect.getdoc(main) +# print + sys.exit(ret) + + + diff --git a/batchq/contrib/alps/examples/example1_dict.py~ b/batchq/contrib/alps/examples/example1_dict.py~ deleted file mode 100644 index 65fa96e..0000000 --- a/batchq/contrib/alps/examples/example1_dict.py~ +++ /dev/null @@ -1,58 +0,0 @@ -from batchq.contrib.alps import runApplicationBackground, NoHUPSSH, LSFBSub, load_queue,DescriptorQ -import pyalps -import matplotlib.pyplot as plt -import pyalps.plot -import sys - -parms = [] -for t in [1.5,2,2.5]: - parms.append( - { - 'LATTICE' : "square lattice", - 'T' : t, - 'J' : 1 , - 'THERMALIZATION' : 1000, - 'SWEEPS' : 100000, - 'UPDATE' : "cluster", - 'MODEL' : "Ising", - 'L' : 8 - } - ) - -input_file = pyalps.writeInputFiles('parm1',parms) - -settings = {'command': ".", 'username':"tfr", 'server':"satis.ethz.ch", 'port':22, 'working_directory':"/Users/tfr/RemoteJobs/Submission", 'input_directory':"/Users/tfr/RemoteJobs/TestInDir", 'output_directory':"/Users/tfr/RemoteJobs/TestOutDir2", 'q_interact':True, "options": "", "prior":"", "post":""} -q = load_queue(NoHUPSSH, settings) -desc = runApplicationBackground('spinmc',input_file,Tmin=5,writexml=True, queue = q, force_resubmit = False ) - -if not desc.finished(): - print "Your simulations has not yet ended, please run this command again later." -else: - if desc.failed(): - print "Your submission has failed" - sys.exit(-1) - result_files = pyalps.getResultFiles(prefix='parm1') - print result_files - print pyalps.loadObservableList(result_files) - data = pyalps.loadMeasurements(result_files,['|Magnetization|','Magnetization^2']) - print data - plotdata = pyalps.collectXY(data,'T','|Magnetization|') - plt.figure() - pyalps.plot.plot(plotdata) - plt.xlim(0,3) - plt.ylim(0,1) - plt.title('Ising model') - plt.show() - print pyalps.plot.convertToText(plotdata) - print pyalps.plot.makeGracePlot(plotdata) - print pyalps.plot.makeGnuplotPlot(plotdata) - binder = pyalps.DataSet() - binder.props = pyalps.dict_intersect([d[0].props for d in data]) - binder.x = [d[0].props['T'] for d in data] - binder.y = [d[1].y[0]/(d[0].y[0]*d[0].y[0]) for d in data] - print binder - plt.figure() - pyalps.plot.plot(binder) - plt.xlabel('T') - plt.ylabel('Binder cumulant') - plt.show() diff --git a/batchq/contrib/alps/examples/example3_class.py~ b/batchq/contrib/alps/examples/example3_class.py~ deleted file mode 100644 index e0ed392..0000000 --- a/batchq/contrib/alps/examples/example3_class.py~ +++ /dev/null @@ -1,67 +0,0 @@ -from batchq.contrib.alps import runApplicationBackground, NoHUPSSH, LSFBSub, load_queue,DescriptorQ -import pyalps -import matplotlib.pyplot as plt -import pyalps.plot -import sys - -parms = [] -for t in [1.5,2,2.5]: - parms.append( - { - 'LATTICE' : "square lattice", - 'T' : t, - 'J' : 1 , - 'THERMALIZATION' : 1000, - 'SWEEPS' : 100000, - 'UPDATE' : "cluster", - 'MODEL' : "Ising", - 'L' : 8 - } - ) - -input_file = pyalps.writeInputFiles('parm1',parms) - -class Brutus(DescriptorQ): - queue = LSFBSub - username = "tronnow" - server="brutus.ethz.ch" - port=22 - options = "" - prior = "module load open_mpi goto2 python hdf5 cmake mkl\nexport PATH=$PATH:$HOME/opt/alps/bin" - post = "" - working_directory = "Submission" - -desc = runApplicationBackground('spinmc',input_file,Tmin=5,writexml=True, descriptor = Brutus(), force_resubmit = False ) - - -if not desc.finished(): - print "Your simulations has not yet ended, please run this command again later." -else: - if desc.failed(): - print "Your submission has failed" - sys.exit(-1) - result_files = pyalps.getResultFiles(prefix='parm1') - print result_files - print pyalps.loadObservableList(result_files) - data = pyalps.loadMeasurements(result_files,['|Magnetization|','Magnetization^2']) - print data - plotdata = pyalps.collectXY(data,'T','|Magnetization|') - plt.figure() - pyalps.plot.plot(plotdata) - plt.xlim(0,3) - plt.ylim(0,1) - plt.title('Ising model') - plt.show() - print pyalps.plot.convertToText(plotdata) - print pyalps.plot.makeGracePlot(plotdata) - print pyalps.plot.makeGnuplotPlot(plotdata) - binder = pyalps.DataSet() - binder.props = pyalps.dict_intersect([d[0].props for d in data]) - binder.x = [d[0].props['T'] for d in data] - binder.y = [d[1].y[0]/(d[0].y[0]*d[0].y[0]) for d in data] - print binder - plt.figure() - pyalps.plot.plot(binder) - plt.xlabel('T') - plt.ylabel('Binder cumulant') - plt.show() diff --git a/batchq/core/index.html b/batchq/core/index.html deleted file mode 100644 index fca785c..0000000 --- a/batchq/core/index.html +++ /dev/null @@ -1,547 +0,0 @@ - - - -
- - - - - - - - -We made use of Machine1 in the following section - see Appendix: Machine1 details.
The source code (referred to as sub2) that form the basis the simulation can be downloaded here.
Next the code (sub2) was executed by submitting following command(s):
./script
-The raw data from the simulation can be downloaded here.
We applied the following procedure:
#!/usr/bin/env python
-
-if __name__ == "__main__":
- print "Hello script"
-to get:
Hello script
-We made use of Machine1 in the following section - see Appendix: Machine1 details.
Using the raw data from earlier (sub2 in Naive method) we proceeded:
We applied the following procedure:
def plot_figure(self,directory):
- print "Treating data"
- return "Treated by function"
-to get:
Treated by function
-We made use of Machine1 in the following section - see Appendix: Machine1 details.
Using the raw data from earlier (sub2 in Naive method) we proceeded:
We applied the following procedure:
def plot_figure(self,directory):
- print "Treating data"
- return "Treated by function"
-to get:
Treated by function
-==================== CPU ====================processor : 0
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 1
-siblings : 4
-core id : 0
-cpu cores : 4
-apicid : 4
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.20
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 1
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 1
-siblings : 4
-core id : 1
-cpu cores : 4
-apicid : 5
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.27
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 2
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 1
-siblings : 4
-core id : 2
-cpu cores : 4
-apicid : 6
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.31
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 3
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 1
-siblings : 4
-core id : 3
-cpu cores : 4
-apicid : 7
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.32
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 4
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 2
-siblings : 4
-core id : 0
-cpu cores : 4
-apicid : 8
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5002.05
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 5
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 2
-siblings : 4
-core id : 1
-cpu cores : 4
-apicid : 9
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.92
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 6
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 2
-siblings : 4
-core id : 2
-cpu cores : 4
-apicid : 10
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5001.62
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 7
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 2
-siblings : 4
-core id : 3
-cpu cores : 4
-apicid : 11
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5001.75
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 8
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 3
-siblings : 4
-core id : 0
-cpu cores : 4
-apicid : 12
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5004.06
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 9
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 3
-siblings : 4
-core id : 1
-cpu cores : 4
-apicid : 13
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5002.52
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 10
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 3
-siblings : 4
-core id : 2
-cpu cores : 4
-apicid : 14
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 4999.71
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 11
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 3
-siblings : 4
-core id : 3
-cpu cores : 4
-apicid : 15
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.34
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 12
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 4
-siblings : 4
-core id : 0
-cpu cores : 4
-apicid : 16
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5002.05
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 13
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 4
-siblings : 4
-core id : 1
-cpu cores : 4
-apicid : 17
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.77
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 14
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 4
-siblings : 4
-core id : 2
-cpu cores : 4
-apicid : 18
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.84
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-processor : 15
-vendor_id : AuthenticAMD
-cpu family : 16
-model : 4
-model name : Quad-Core AMD Opteron(tm) Processor 8380
-stepping : 2
-cpu MHz : 2500.104
-cache size : 512 KB
-physical id : 4
-siblings : 4
-core id : 3
-cpu cores : 4
-apicid : 19
-fpu : yes
-fpu_exception : yes
-cpuid level : 5
-wp : yes
-flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
-bogomips : 5000.36
-TLB size : 1024 4K pages
-clflush size : 64
-cache_alignment : 64
-address sizes : 48 bits physical, 48 bits virtual
-power management: ts ttp tm stc 100mhzsteps hwpstate [8]
-
-
-==================== MEM ====================MemTotal: 66006512 kB
-MemFree: 6554688 kB
-Buffers: 82128 kB
-Cached: 45534236 kB
-SwapCached: 18168 kB
-Active: 10948144 kB
-Inactive: 45197176 kB
-HighTotal: 0 kB
-HighFree: 0 kB
-LowTotal: 66006512 kB
-LowFree: 6554688 kB
-SwapTotal: 67111528 kB
-SwapFree: 64682268 kB
-Dirty: 244 kB
-Writeback: 0 kB
-AnonPages: 10525092 kB
-Mapped: 84140 kB
-Slab: 2906788 kB
-PageTables: 91172 kB
-NFS_Unstable: 12 kB
-Bounce: 0 kB
-CommitLimit: 100114784 kB
-Committed_AS: 14159436 kB
-VmallocTotal: 34359738367 kB
-VmallocUsed: 322908 kB
-VmallocChunk: 34359391351 kB
-HugePages_Total: 0
-HugePages_Free: 0
-HugePages_Rsvd: 0
-Hugepagesize: 2048 kB
-