Module: ServerScripts
- Defined in:
- lib/server_scripts.rb,
lib/server_scripts/version.rb,
lib/server_scripts/batch_job.rb,
lib/server_scripts/node_type.rb,
lib/server_scripts/experiment.rb,
lib/server_scripts/parser/itac.rb,
lib/server_scripts/computer/abci.rb,
lib/server_scripts/computer/base.rb,
lib/server_scripts/executor/base.rb,
lib/server_scripts/memory_monitor.rb,
lib/server_scripts/computer/tsubame.rb,
lib/server_scripts/executor/vanilla.rb,
lib/server_scripts/executor/valgrind.rb,
lib/server_scripts/computer/sameer_pc.rb,
lib/server_scripts/executor/mpi_program.rb,
lib/server_scripts/parser/starpu_profile.rb,
lib/server_scripts/parser/vtune/hotspots/base.rb,
lib/server_scripts/parser/vtune/hotspots/threads.rb,
lib/server_scripts/parser/vtune/hotspots/threads/slate.rb,
lib/server_scripts/parser/vtune/hotspots/threads/starpu.rb
Defined Under Namespace
Modules: Computer, Executor, NodeType, Parser
Classes: BatchJob, Experiment, MemoryMonitor
Constant Summary
collapse
- VERSION =
"0.1.2"
- @@verbose =
false
Class Method Summary
collapse
Class Method Details
.group_name ⇒ Object
32
33
34
|
# File 'lib/server_scripts.rb', line 32
def group_name
ENV["GROUP_NAME"]
end
|
.system ⇒ Object
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/server_scripts.rb', line 18
def system
sys = ENV["SYSTEM_NAME"]
if sys == "SAMEER-PC"
ServerScripts::Computer::SameerPC
elsif sys == "TSUBAME"
ServerScripts::Computer::TSUBAME
elsif sys == "ABCI"
ServerScripts::Computer::ABCI
elsif sys == "REEDBUSH"
ServerScripts::Computer::REEDBUSH
end
end
|
.verbose ⇒ Object
36
37
38
|
# File 'lib/server_scripts.rb', line 36
def verbose
@@verbose
end
|
.verbose=(v) ⇒ Object
40
41
42
|
# File 'lib/server_scripts.rb', line 40
def verbose= v
@@verbose = v
end
|