OnWorks favicon

dgmap - Online in the Cloud

Run dgmap in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dgmap that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dgmap, dgpart - compute static mappings and partitions in parallel


dgmap [options] [gfile] [tfile] [mfile] [lfile]

dgpart [options] [nparts/pwght] [gfile] [mfile] [lfile]


The dgmap program computes, in a parallel way, a static mapping of a source graph onto a
target graph.

The dgpart program is a simplified interface to dgmap, which performs graph partitioning
instead of static mapping. Consequently, the desired number of parts has to be provided,
in lieu of the target architecture. When using the program for graph clustering, the
number of parts turns into maximum cluster weight.

The -b and -c options allow the user to set preferences on the behavior of the mapping
strategy which is used by default. The -m option allows the user to define a custom
mapping strategy.

The -q option turns the programs into graph clustering programs. In this case, dgmap only
accepts variable-sized target architectures.

Source graph file gfile is either a centralized graph file, or a set of files representing
fragments of a distributed graph. For dgmap, the target architecture file tfile describes
either algorithmically-coded topologies such as meshes and hypercubes, or decomposition-
defined architectures created by means of the amk_grf(1) program. See gmap(1) for a
description of target architectures. The resulting mapping is stored in file mfile.
Eventual logging information (such as the one produced by option -v) is sent to file
lfile. When file names are not specified, data is read from standard input and written to
standard output. Standard streams can also be explicitely represented by a dash '-'.

When the proper libraries have been included at compile time, dgmap and dgpart can
directly handle compressed graphs, both as input and output. A stream is treated as
compressed whenever its name is postfixed with a compressed file extension, such as in
'brol.grf.bz2' or '-.gz'. The compression formats which can be supported are the bzip2
format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma', on input only).

dgmap and dgpart base on implementations of the MPI interface to spread work across the
processing elements. They are therefore not likely to be run directly, but instead through
some launcher command such as mpirun.


-bval Set maximum load imbalance ratio for graph partitioning or static mapping. When
programs are used as clustering tools, this parameter sets the maximum load
imbalance ratio for recursive bipartitions. Exclusive with the -m option.

-copt Choose default mapping strategy according to one or several options among:

b enforce load balance as much as possible.

q privilege quality over speed (default).

s privilege speed over quality.

t enforce safety.

x enforce scalability.

It is exclusive with the -m option.

-h Display some help.

Use parallel mapping strategy strat (see PT-Scotch user's manual for more

-q (for dgpart)

(for dgmap) Use the programs as graph clustering tools instead of static
mapping or graph partitioning tools. For dgpart, the number of parts will
become the maximum cluster weight. For dgmap, this number pwght has to be
passed after the option.

-rpnum Set root process for centralized files (default is 0).

-V Display program version and copyright.

-vverb Set verbose mode to verb. It is a set of one of more characters which can

m mapping information.

s strategy information.

t timing information.


At the time being (version 5.1), dgmap cannot compute full static mappings as gmap(1)
does, but only partitions (that is, mappings onto unweighted or weighted complete graphs).
Target architectures other than the 'cmplt' and 'wcmplt' ones will lead to an error


Run dgpart on 5 processing elements to compute a partition into 7 parts of graph brol.grf
and save the resulting ordering to file brol.map.

$ mpirun -np 5 dgpart 7 brol.grf brol.map

Run dgpart on 5 processing elements to partition into 7 parts the distributed graph stored
on graph fragment files brol5-0.dgr to brol5-4.dgr, and save the resulting mapping to file
brol.map (see dgscat(1) for an explanation of the '%p' and '%r' sequences in names of
distributed graph fragments).

$ mpirun -np 5 dgpart 7 brol%p-%r.dgr brol.map

Use dgmap online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 5
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    Run acl_gran
  • 2
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    Run acl_grant
  • 3
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »