## A Month of Math Software – August 2011

Welcome to August’s ‘A Month of Math Software’ where I look at everything from blog posts about math libraries through to the latest releases. Click here for earlier articles in the series.

**Mathematical software packages
**

- Maxima, the venerable (it is based on a 1960s codebase called Macsyma) open source computer algebra package has been upgraded to version 5.25.1. See the change-log here. Download it from Sourceforge and check out a Maxima tutorial (how to plot direction fields for first order ODEs) right here at WalkingRandomly.
- SAGE is arguably the best general purpose mathematics package in the open source world and it saw an update to version 4.7.1 this month. See what got changed at http://www.sagemath.org/mirror/src/changelogs/sage-4.7.1.txt. I played with an old version a little while ago (see here and here) and am still offering a bounty for anyone who can add a certain piece of functionality to this product.
- Next up is a free (as in beer) package from Microsoft called Sho which saw an upgrade to version 2.0.5 this month. I’ll let Microsoft themselves tell you what it is:

*“Sho is an interactive environment for data analysis and scientific computing that lets you seamlessly connect scripts (in IronPython) with compiled code (in .NET) to enable fast and flexible prototyping.”*

It certainly looks very interesting with features such as direct integration with Azure (Microsoft’s cloud computing product), Optimization and loads more. Let me know what you think of it if you try it out.

- IBM’s SPSS Statistics is now at version 20. Take a look at what’s new in this commercial package at http://www-01.ibm.com/software/analytics/spss/statistics/resources/whats-new.html

**Mathematical Software Libraries**

- The AMD Core Math Library was upgraded to version 5.0 this month. I think the following is the complete change-log
- DGEMM and SGEMM have been tuned for AMD Family 15h processors. These take advantage of AVX and FMA-4 instructions to achieve high efficiency using either one or both threads of a compute unit.
- The Fortran code base for the library is compiled with AVX and FMA-4 flags to support the AMD Family 15h processors. This library will not run on processors that do not support AVX and FMA-4. The package includes legacy libraries with SSE/SSE2 instructions suitable for use on AMD Family 10h and AMD Family 0fh processors.
- New 2D and 3D real-to-complex FFT functions have been introduced. Included are samples demonstrating how to use the new functions.
- The L’Ecuyer, Whichmann-Hill, and Mersenne Twister random number generator have been updated to improve performance on all processor types.
- The vector math library dependency has been removed from the library, and libacml_mv has been removed from the build. These AMD math functions are available as a separate download from the AMD web page.

- While on the subject of the ACML, check out this interview about the library with Chip Freitag, one of its developers, that was recorded earlier this month.
- AMD have also released version 1.4 of the AMD Accelerated Parallel Processing Math Libraries (APPML). This is an OpenCL library aimed at GPUs. As far as I can tell, this is just a bug fix release and so there are no new routines available.
- Jack Dongarra et al have moved their linear algebra library for heterogeneous/hybrid architectures, MAGMA, from release candidate 5 to a full version 1.0 release. Roughly speaking, you can think of this project as LAPACK for CUDA GPUs (although this scope will probably widen in the future). I believe that it is used in products such as MATLAB’s parallel computing toolbox and Accelereyes’ Jacket (
**Correction:**I’ve since learned that Jacket uses CULA and not MAGMA) among others.

**Odds and Ends**

- Intel have come up with a new hardware-based random number generator. Read about it at http://spectrum.ieee.org/computing/hardware/behind-intels-new-randomnumber-generator/ I wonder if hardware based generators will ever replace pseudo random number generators for simulation work?
- Finally, William Hart released a new version of Coopr back in July but I didn’t learn about it in time to get it into July’s edition of Month of Math Software. So, I’m telling you about it now (more accurately, I’m quoting William).
*‘Coopr is a collection of Python software packages that supports a diverse set of optimization capabilities for formulating and analyzing optimization models’*

That’s it for this month. Thanks to everyone who contacted me with news items, this series would be a lot more difficult to compile without you. If you have found something interesting in the world of mathematical software then feel free to let me know and I’ll include it in a future edition.

Have you used Orange ( http://orange.biolab.si/features.html ). It’s a statistical and data mining software that uses visual programming like Labview.

R-Studio ( http://rstudio.org/ ) which is an excellent UI for R.

Red-R ( http://www.red-r.org/ ) another UI for R but one that is based on Orange 1.0 essentially R using visual programming.

Of the three you mention, I’ve used R-Studio a little. Never heard of the other two but I’ll take a look in the future.

Cheers,

Mike

loading your blog autostarts my Wolfram CDF Player. Some of your posts on the main page are using cdf widgets correct?

Do you know anyway seriously using Matlab for creating GUIs for engineering/math applications.

“loading your blog autostarts my Wolfram CDF Player. Some of your posts on the main page are using cdf widgets correct?” – Yes. At the moment it is http://www.walkingrandomly.com/?p=3715 I wrote a tutorial on how I did it at http://www.walkingrandomly.com/?p=3323

“Do you know anyway seriously using Matlab for creating GUIs for engineering/math applications.” – Was this a typo? Not sure what you mean.

I’m talking about this

http://www.mathworks.com/help/techdoc/creating_guis/bqz79mu.html

LibCL a new open source OpenCL library has been released. It’s pretty basic though

http://www.libcl.org/

Thanks for the tip. It is basic but you gotta start somewhere :)

Mike, a small correction. We do not use MAGMA, our upstream library comes from EMPhotonics’ CULA (http://www.culatools.com/)

Thanks Pavan, I’ve included the correction in the main text.

while researching libCL i came across this video title “Integrating libCL with OpenCL Studio”

Hmm OpenCL Studio, never heard of that before.

Btw Netbeans IDE now has a OpenCL Plugin http://michael-bien.com/mbien/entry/netbeans_opencl_pack