Re: best software environment for numerical analysis

From: Paul Thomas (paulthomas2_at_wanadoo.fr)
Date: 09/17/04


Date: Fri, 17 Sep 2004 11:36:48 +0000 (UTC)

On 16 Sep 2004 13:26:35 -0500, beliavsky@aol.com wrote:
>
>>There is a free Fortran 95 compiler for Linux, called G95, at <a
href="http://www.g95.org">http://www.g95.org>

GNU gcc-4.0 will include gfortran instead of g77. This is available,
as a beta release, either from the gcc snapshots or as Linux/Cygwin
binaries at
http://f77.linksysnet.com.

G95 and gfortran forked nearly two years ago - don't ask me why
because I wasn't there! It does seem like a waste of scarce effort,
though.

>
>Unless speed is very important, I think Python is fine, especially in
conjunction
>with the Numeric or Numarray modules and SciPy. There are many math
libraries
>callable from Python, and it is possible to call C and Fortran
libraries.
>

This choice is highly subjective and dependent on what you are trying
to do.

(i) For high performance computing and large codes, fortran or C are
the way to go. Both have extensive libraries, automatic vectorizers
etc., etc..

(ii) For day to day, medium scale calculations/simulations, the
various interpreted languages, mentioned in this thread, are ideal.

(iii) For syntactic simplicity in numerical calculations, with
rasonable performance, matlab/octave/Scilab/FreeMat/... are ideal.

(iv) Python with SciPy, R and all the rest were designed for other
things and, in their present manifestations, can only be described
(IMO) as being clumsy for numerical work - particularly if you are
coming from a fortran world.

(v) Frankly, matlab is the best; both in terms of performance and
libraries. However, you have to have a VERY, VERY deep pocket.

(vi) For compatibility and performance, octave is next best and is
FREE. It does lack the fancy graphics and the GUI but, as has already
been said on this thread, that can be dealt with by other means and
will change in the future. Above all octave has good libraries and
code written for Matlab runs on octave, pretty much as it comes. I
use Matlab at work and octave at home. Code transfers between the two
with no problem.

(vii) Scilab is also good, particularly in version 3, but has diverged
substantially from matlab. As David Bateman said, the license has a
commercial restriction: ".... Any commercial use or circulation of the
DERIVED( or COMPOSITE) SOFTWARE shall have been previously authorized
by INRIA and ENPC..... ".

Paul T



Relevant Pages

  • Re: Writing MatLab Matrix File through C++
    ... I guess I'd have to get hold of the full version of Matlab. ... as no-one uses Matlab just for .mat files. ... I think that you could have a look at Octave www.octave.org - either ... take the libraries, or you can embed Octave in your application. ...
    (comp.soft-sys.matlab)
  • Re: Writing MatLab Matrix File through C++
    ... I guess I'd have to get hold of the full version of Matlab. ... as no-one uses Matlab just for .mat files. ... I think that you could have a look at Octave www.octave.org - either ... take the libraries, or you can embed Octave in your application. ...
    (comp.soft-sys.matlab)
  • Re: Matlab Vectorisation Speed - How is it done in c++?
    ... Beating the performance of vectorized Matlab code is very ... Matlab makes calls to optimized C and Fortran libraries ... Use optimization level 3 on numerical code and level 2 on non- ...
    (comp.soft-sys.matlab)
  • Re: Allocatable arrays and shared libraries: help needed
    ... linux you have to name the library as libLIBRARYNAME.a whereas in Win ... if you said you understood anything about building libraries ... and linking with gfortran it would have been evidence that you were ... make the decoration in a limited number of cases, ...
    (comp.lang.fortran)
  • Re: debug MEX file
    ... but when i complier it in VS2005, ... You'll have to find your location of the matlab mex.h file in the ... Then you must add this folder to the ... you must also specify which libraries you are going to ...
    (comp.soft-sys.matlab)