Previous Up Next

Chapter 3  The BSML Library

This chapter describes the functions provided by the BSML library modules. These modules are automatically linked with the user’s object code files by the bsmlc and bsmlopt scripts.

Most of the described modules are functors. To ease the use of the BSML Library, we provide the following modules :

Thus, for example to use the mkpar primitive of BSML, you should write Bsml.mkpar or you need to open the module Bsml before calling the function mkpar. To use the function replicate, one can write Stdlib.Base.replicate or one can first open the module Stdlib and its submodule Base.

There are in fact three different implementations of Bsml, one based on MPI, one on TCP/IP, and one sequential implementation). There are also three different implementations since there are three different Bsml modules. The different scripts (bsmlc or bsmlopt with suffix .mpi, .tcp or .seq) handle these different versions and you do not need to worry about them when you write BSML programs.

Pages produces by ocamldoc from the source code.


Previous Up Next