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
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

  • 1
    a56
    a56
    A56 - Motorola DSP56001 assembler ...
    Run a56
  • 2
    a68g
    a68g
    a68g - Algol 68 Genie, an Algol 68
    compiler-interpreter ...
    Run a68g
  • 3
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 4
    copydatabase-1.3
    copydatabase-1.3
    copydatabase - Perform a
    document-by-document copy of one or more
    Xapian databases ...
    Run copydatabase-1.3
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad