# Parameter definitions for thorn SimpleWorm # $Header$ shares: Cactus USES REAL cctk_final_time USES REAL cctk_initial_time USES INT cctk_itlast shares: IO USES STRING checkpoint_file restricted: SimpleWorm KEYWORD mf_method "What methods decides on next machine" STEERABLE=ALWAYS { "cycle" :: "Cycle though all known machines as set by the machine parameters" "manual" :: "Set the next machine manually" } "cycle" KEYWORD mf_test "Test the machine finder" STEERABLE=ALWAYS { "yes":: "Perform lookup and ouput the profile" "no" :: "No test" } "no" INT mf_testproc "Run parallel mf test with n procs" STEERABLE=ALWAYS { 1:10 :: "Range of processors" } 1 INT worm_machines "How many machines to use for cycle-method" STEERABLE=ALWAYS { 1:* :: "Not more than available parameters!" } 1 private: BOOLEAN master "Is this the master worm server ?" { } "no" BOOLEAN use_map "Display EGrid map" { } "no" STRING map_file "Location of map" { ".*" :: "Path to map" } " " INT map_refresh_every "How often to refresh the EGrid map" STEERABLE = ALWAYS { 0:* :: "refresh time in seconds" } 10 STRING server "What is the name of the server ?" { ".+" :: Any machine } "localhost:5555" STRING ais "What is the name of the ais ?" { ".+" :: Any machine } "localhost:5555" INT contact_every "How often to contact the master" { 0:* :: "Contact every n iteration, zero for no contact" } 0 STRING ssh_command "How to login to a remote machine" { ".+" :: "Remote login command" } "ssh" STRING scp_command "How to copy files from/to a remote machine" { ".+" :: "Remote copy command" } "scp" KEYWORD wtransfer "How to transfer the worm" { "copy" :: "Copy checkpoint files to next host" "stream":: "Stream checkpoint to next host" } "copy" INT stream_port "On what port to stream checkpoint file" { 0:* :: "port number; default set to 8005" } 8005 STRING nextmachine_name "What is the name of the next machine ?" STEERABLE=ALWAYS { ".+" :: Any machine } "origin.aei.mpg.de" INT nextmachine_idx "What is the parameter number of the next machine ?" STEERABLE=ALWAYS { 0:* :: "Number of the machine parameter, starting at 1; 0 skips" } 0 INT nextiterations "How many iterations on next machine - this will increment itlast" { 0:* :: Positive number } 0 INT wormisdead "How many minutes to wait before declaring a worm dead" { 0:* :: Positive number } 60 # # Machine info # BOOLEAN worm_log "Will the worm keep a log at the visited sites ?" { } "no" # # Machine profiles # STRING worm_machine1 "Machine name1" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile1 "Machine profile1" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile1 "Exefile on machine1" { ".*" :: "runcommand" } "" STRING worm_runcmd1 "runcmd on machine1" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location1 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine2 "Machine name2" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile2 "Machine profile2" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile2 "Exefile on machine2" { ".*" :: "runcommand" } "" STRING worm_runcmd2 "runcmd on machine2" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location2 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine3 "Machine name3" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile3 "Machine profile3" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile3 "Exefile on machine3" { ".*" :: "runcommand" } "" STRING worm_runcmd3 "runcmd on machine3" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location3 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine4 "Machine name4" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile4 "Machine profile4" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile4 "Exefile on machine4" { ".*" :: "runcommand" } "" STRING worm_runcmd4 "runcmd on machine4" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location4 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine5 "Machine name5" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile5 "Machine profile5" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile5 "Exefile on machine5" { ".*" :: "runcommand" } "" STRING worm_runcmd5 "runcmd on machine5" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location5 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine6 "Machine name6" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile6 "Machine profile6" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile6 "Exefile on machine6" { ".*" :: "runcommand" } "" STRING worm_runcmd6 "runcmd on machine6" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location6 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine7 "Machine name7" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile7 "Machine profile7" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile7 "Exefile on machine7" { ".*" :: "runcommand" } "" STRING worm_runcmd7 "runcmd on machine7" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location7 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine8 "Machine name8" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile8 "Machine profile8" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile8 "Exefile on machine8" { ".*" :: "runcommand" } "" STRING worm_runcmd8 "runcmd on machine8" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location8 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine9 "Machine name9" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile9 "Machine profile9" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile9 "Exefile on machine9" { ".*" :: "runcommand" } "" STRING worm_runcmd9 "runcmd on machine9" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location9 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } "" STRING worm_machine10 "Machine name10" STEERABLE=ALWAYS { ".*" :: "fully qualified host name" } "" STRING worm_profile10 "Machine profile10" STEERABLE=ALWAYS { ".*" :: "login name working directory" } "" STRING worm_exefile10 "Exefile on machine10" { ".*" :: "runcommand" } "" STRING worm_runcmd10 "runcmd on machine10" STEERABLE=ALWAYS { ".*" :: "runcommand" } "" STRING worm_location10 "Geographic location of machine" { ".*" :: "Longitute / Latidude" } ""