← 返回命令列表

Linux command

pvm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start the PVM console

pvm

Start the console and add hosts

pvm [path/to/hostfile]

Show the current virtual machine

pvm> conf

Add a host

pvm> add [hostname]

Remove a host

pvm> delete [hostname]

Spawn a task

pvm> spawn -[count] [a.out]

List all running PVM tasks

pvm> ps -a

Shut down all PVM daemons

pvm> halt

说明

pvm is the interactive console for the Parallel Virtual Machine (PVM) system. It is itself a PVM task that lets the user start, query, and modify a distributed virtual machine made from a heterogeneous collection of Unix (and Windows) hosts connected by a network. Starting pvm contacts an already-running pvmd3 daemon on the local host, or launches one if none is running. Passing a _hostfile_ additionally adds the listed machines to the virtual machine at startup. Once connected, the console displays a pvm> prompt and accepts interactive commands to manage hosts, tasks, and PVM environment. PVM provides a single logical parallel computer from networked workstations, making it possible to run message-passing parallel programs across them. The console itself does not run parallel code; it is the administration front end.

FAQ

What is the pvm command used for?

pvm is the interactive console for the Parallel Virtual Machine (PVM) system. It is itself a PVM task that lets the user start, query, and modify a distributed virtual machine made from a heterogeneous collection of Unix (and Windows) hosts connected by a network. Starting pvm contacts an already-running pvmd3 daemon on the local host, or launches one if none is running. Passing a _hostfile_ additionally adds the listed machines to the virtual machine at startup. Once connected, the console displays a pvm> prompt and accepts interactive commands to manage hosts, tasks, and PVM environment. PVM provides a single logical parallel computer from networked workstations, making it possible to run message-passing parallel programs across them. The console itself does not run parallel code; it is the administration front end.

How do I run a basic pvm example?

Run `pvm` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more pvm examples?

This page includes 8 examples for pvm, plus related commands for nearby Linux tasks.