Home > Help Files > Software Applications > PVM

PVM


Description

PVM (Parallel Virtual Machine), is a software package that allows a programmer to create and access a concurrent computing system made from networks of loosely coupled processing elements.

Version

3.4

Installed on

  • linux cluster
  • Executables

    /usr/local/pvm
    /usr/bin/pvm

    Using PVM on Linux Clusters

    If you have large jobs to run, please run them on the reindeer or archipelagos clusters. Otherwise, please run your jobs outside of peak usage times in 1111 and 1171.

    Setting up keys

    To run parallel jobs, use the following steps:
    1. ssh to kepler.berkeley.edu
    2. cd ~/.ssh2
    3. ssh-keygen kepler
      You will be prompted for a passphrase. Choose you passphrase carefully! Do not re-use your password. It defeats the purpose. Two files will be created:
         ~/.ssh2/kepler      Your private key.
         ~/.ssh2/kepler.pub  Your public key.  Can be shared.  
    4. pico ~/.ssh2/identification and put in the following
      IdKey kepler
    5. pico ~/.ssh2/authorization and put in the following
      Key kepler.pub
    6. Start ssh-agent by issuing: ssh-agent /bin/tcsh
    7. Add your key to the agent: ssh-add
      You'll be prompted for your passphrase.
    8. ssh machinename.decf.berkeley.edu
      You SHOULD NOT be prompted for a passphrase.
    9. Log out of client

    Starting PVM

    1. pvm
    2. add hostname
    3. Your application must reside in ~HOME/pvm3/bin/LINUX/

    Common Commands

    pvm> help
    help
    help        Print helpful information about a command
    Syntax:  help [ command ]
    Commands are:
      add         Add hosts to virtual machine
      alias       Define/list command aliases
      conf        List virtual machine configuration
      delete      Delete hosts from virtual machine
      echo        Echo arguments
      export      Add environment variables to spawn export list
      getopt      Display PVM options for the console task
      halt        Stop pvmds
      help        Print helpful information about a command
      id          Print console task id
      jobs        Display list of running jobs
      kill        Terminate tasks
      mstat       Show status of hosts
      names       List message mailbox names
      ps          List tasks
      pstat       Show status of tasks
      put         Add entry to message mailbox
      quit        Exit console
      reset       Kill all tasks, delete leftover mboxes
      setenv      Display or set environment variables
      setopt      Set PVM options - for the console task *only*!
      sig         Send signal to task
      spawn       Spawn task
      trace       Set/display trace event mask
      unalias     Undefine command alias
      unexport    Remove environment variables from spawn export list
      version     Show libpvm version
    

    Documentation

    PVM 3.4.3
    Sample Tutorial
    Sample PVM program

     


    Comments to consult@newton.berkeley.edu
    © 1998-2009 UC Regents