Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Using remote MathLink libraries

Jean-Marie Thomas

2004 Wolfram Technology Conference
Conference location

Champaign IL

This presentation focuses on accessing MathLink-enabled libraries on a remote basis using the Secure Shell.

Building MathLink librairies can be a good solution when re-using reliable and robust legacy code or when accessing functionalities unavailable natively in Mathematica.

Remote libraries allow two features:
- sharing libraries within a community of users
- running code on dedicated machines.

Part one: using ssh to access MathLink libraries

This part describes the Secure Shell [ssh] and, through an example, shows how to wrap a remote library so that the application behaves like an ordinary add-on.

Part two: fast random number distributions from the GNU Scientific library

The GNU Scientific library provides fast and reliable C Code. This part will show in detail a few statistical distributions used to deliver sequences of random numbers.

Part three: Mathematica and the Computational Geometry Algorithms Library (CGAL)

This library offers a wide range of algorithms, for two, three and a dimensions: convex hull, Delaunay triangulation, Voronoļ diagrams, and others.

CGAL is written in C++ and requires programming skills that are often beyond ordinary user capabilities. Using a Mathematica front end to CGAL can greatly simplify prototyping.

Computational geometry often needs wide resources; using a remote library on a dedicated machine frees the local workstation.

*Wolfram Technology > Linking Technology > MathLink

src.zip (1.9 MB) - ZIP archive