Distributed Projects Overview

To simplify the building process of large parallel programs mpC Workshop provides distributed project mechanism. You create a project and mpC Workshop takes care of building and execution of the targets defined in the project.

Target is a build unit that includes one or more builds. Each build defines settings required for building of a particular binary file and specifies the files, which are necessary for building the binary. Each binary file may be built for a specific platform. All binary files are built on "builder" computers or builders. Each computer within a VPM (see Virtual Parallel Machines overview) can be either node or builder. A node only runs one or more processes of a parallel program, while a builder both runs processes and builds executables. In general a parallel program may be executed on several platforms and, consequently, an executable must be built for each platform. That’s one of the reasons why a target may contain more than one builds. Another reason is that an executable may depend on a library and the settings required for building of this library can be defined in another build.

By default an mpC project contains two targets – "Debug" and "Release". You can add new targets to the project or change settings of the existing targets. There can be only one current target. You can add builds to the current target or remove them from it. Also you can add files to or remove files from any build of the current project.

Building process consists in building binary files for each build of the current target.

This chapter covers how to manage distributed projects by use of the following actions: