def _PrepareBinaries(headnode_vm: linux_vm.BaseLinuxVirtualMachine, vm: linux_vm.BaseLinuxVirtualMachine) -> None: """Prepares the binaries on the vm.""" vm.Install('fortran') headnode_vm.MoveFile(vm, 'hpcc', 'hpcc') headnode_vm.MoveFile(vm, '/usr/bin/orted', 'orted') vm.RemoteCommand('sudo mv orted /usr/bin/orted') if FLAGS.hpcc_math_library == hpcc.HPCC_MATH_LIBRARY_MKL: intel_repo.CopyIntelFiles(headnode_vm, vm)
def PrepareHpcc(vm: linux_vm.BaseLinuxVirtualMachine) -> None: """Builds HPCC on a single vm.""" logging.info('Building HPCC on %s', vm) vm.Install('hpcc') if FLAGS.hpcc_numa_binding: vm.Install('numactl')