EnglishFrenchSpanish

OnWorks favicon

aimkPVM - Online in the Cloud

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

This is the command aimkPVM 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

PROGRAM:

NAME


aimk - Portable make wrapper script

SYNOPSIS


aimk [ -here ] [ make arguments ]

DESCRIPTION


aimk is a wrapper program for make, used to portably select options to build PVM and PVM
applications on various machines. Each port of PVM is assigned an architecture name. The
name is used both during compilation (to conditionally switch in code) and at runtime (to
select an executable or host).

aimk uses the value of environment variable $PVM_ARCH if it is set, otherwise it calls
$PVM_ROOT/pvmgetarch to determine the architecture name. pvmgetarch is a script that
sniffs at various parts of the system to determine the correct architecture name. It is
updated as new PVM ports are defined, and can be augmented locally.

aimk determines the machine architecture and execs make, passing it the architecture and a
configuration file along with arguments supplied to aimk. It runs make in a subdirectory
to prevent executables from becoming intermixed and to permit overlapping compiles. A
different makefile can be placed in each subdirectory or a single makefile, Makefile.aimk,
can be shared between architectures. Per-architecture definitions from the $PVM_ROOT/conf
directory are appended to the common makefile. aimk calls make is called in one of three
ways, depending on what makefiles are present:

i. If $PVM_ARCH/Makefile or $PVM_ARCH/makefile exists, change directory to $PVM_ARCH
and exec make there:

(cd $PVM_ARCH ; make PVM_ARCH=$PVM_ARCH < aimk args >)

ii. Else if Makefile.aimk exists, create $PVM_ARCH directory if it doesn't exist, then:

(cd $PVM_ARCH ; \
make -f $PVM_ROOT/conf/$PVM_ARCH.def \
-f ../Makefile.aimk PVM_ARCH=$PVM_ARCH < aimk args >)

iii. Else just exec make in current directory:

make PVM_ARCH=$PVM_ARCH < aimk args >

If aimk succeeds in calling make, the exit status is that of make, otherwise it is 1.

FLAGS


-here Forces aimk to run make in the current directory, e.g. converts case i. to case
iii.

EXAMPLES


The following Makefile.aimk file builds and installs hello, creating the PVM binary
directory if it doesn't exist. It can be run concurrently on machines of different types,
sharing the same source directory.

LDIR = -L$(PVM_ROOT)/lib/$(PVM_ARCH)
PVMLIB = -lpvm3
SDIR = ..
BDIR = $(HOME)/pvm3/bin
XDIR = $(BDIR)/$(PVM_ARCH)
CFLAGS = -g -I$(PVM_ROOT)/include
LIBS = $(LDIR) $(PVMLIB) $(ARCHLIB)

$(XDIR):
- mkdir $(BDIR) $(XDIR)

hello: $(SDIR)/hello.c $(XDIR)
$(CC) $(CFLAGS) -o $@ $(SDIR)/[email protected] $(LIBS)
mv $@ $(XDIR)

ENVIRONMENT


$PVM_ROOT Root path of PVM installation.
$PVM_ARCH PVM architecture name for machine.

Use aimkPVM online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad