Lines Matching refs:mypath
35 mypath = os.path.dirname(os.path.realpath(__file__))
48 (migshell,migkit) = os.path.split(mypath)
55 ownpath = mypath
56 migshell = mypath+"/migrateshell.app"
60 (migshell,migkit) = os.path.split(mypath)
62 ownpath = mypath
84 if os.path.exists(mypath+"/migrate-n"):
85 os.system( "sudo rsync -a "+mypath+"/migrate-n /usr/local/migrate/bin/")
86 if os.path.exists(mypath+"/migrate-n-mpi"):
87 os.system("sudo rsync -a "+mypath+"/migrate-n-mpi /usr/local/migrate/bin/")
88 if os.path.exists(mypath+"/findcores"):
89 os.system("sudo rsync -a "+mypath+"/findcores /usr/local/migrate/bin/")
91 if os.path.exists(mypath+"/fastmigrate-n"):
92 os.system("sudo rsync -a "+mypath+"/fastmigrate-n /usr/local/migrate/bin/")
135 if os.path.exists(mypath+"/migrate-n"):
136 os.system( "rsync -a "+mypath+"/migrate-n "+homedir+"/opt/migrate/bin/")
137 if os.path.exists(mypath+"/migrate-n-mpi"):
138 os.system("rsync -a "+mypath+"/migrate-n-mpi "+homedir+"/opt/migrate/bin/")
139 if os.path.exists(mypath+"/findcores"):
140 os.system("sudo rsync -a "+mypath+"/findcores /opt/migrate/bin/")
142 if os.path.exists(mypath+"/fastmigrate-n"):
143 os.system("sudo rsync -a "+mypath+"/fastmigrate-n /opt/migrate/bin/")