Fortran
CallGraph::Lang::Fortran is a Perl module with a Fortran 77 parser for creating call graphs. SYNOPSIS use CallGraph::Lang::Fortran; my $graph = CallGraph::Lang::Fortran->new(files => [glob(*.f)]); print $graph->dump; This module is a subclass of CallGraph which implements parsing Fortran...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (152): CallGraph::Lang::Fortran Download |
Fortran::Format is a Perl module to read and write data according to a standard Fortran 77 FORMAT. SYNOPSYS use Fortran::Format; my $f = Fortran::Format->new("2(N: ,I4,2X)"); print $f->write(1 .. 10); # prints the following: # N: 1 N: 2 # N: 3 N: 4 # N: 5 N: 6 # N: 7 N: 8 # N: 9 N:...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (167): Fortran::Format Download |
Fortran::Namelist is a Perl extension for Fortran namelists. SYNOPSIS use Fortran::Namelist; my $nml_file = /home/user/my_namelist.nml; my $nml=Fortran::Namelist->new( file => $nml_file ); my %new_group = ( group_name => { grp_var1 => some_string, grp_var2 => [ 1 , 2 , 3 ], } );...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (105): Fortran::Namelist Download |
This heavily commented Fortran program serves as a simple example on how a MATLAB .m file can be called from Fortran. Suitable if this is your first time trying this.The basic mechanism is to pack the C-compiled .m into a .dll and link to it from Fortran. Argument and result xfer mechanism is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Call .m from Fortran Download |
FORTRAN Unit Test Framework, written in FORTRAN 95. So that all FORTRAN features can be tested. FRUIT has assertion, fixture, setup, teardown, report, spec, driver generation. Rake used as build tool. Tutorials at http://fortranxunit.wiki.sourceforge.net
The core testing part is in FORTRAN, this...
Platforms: Windows, Mac, Linux
License: Freeware | Size: 33.48 KB | Download (58): FORTRAN Unit Test Framework (FRUIT) Download |
The Open Fortran Project (OFP) provides a Fortran 2008 compliant parser and associated tools. These tools provide a Java and C API for actions called when parser rules are completed. It also provides Fortran interfaces to the OpenCL runtime (new).
Platforms: Windows, Mac, Linux
License: Freeware | Size: 1.05 MB | Download (53): Open Fortran Project Download |
The MATLAB Compiler (v4, R14 onwards) can package MATLAB code into an executable or C/C++ shared library. Calling a C shared library from Fortran, however, can be difficult. The mixed-language issue is C vs. Fortran calling conventions. This is an example of how to call a MATLAB...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (53): From Fortran, call MATLAB Compiler C shared library Download |
SYNTAX: B = fulltosparse(A)A = full 2-dimensional double matrixB = sparse 2-dimensional double matrix version of AThis example demonstrates how to populate a sparse matrix. For the purpose of this example, you must pass in a non-sparse 2-dimensional argument of type double. fulltosparse.for is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): fulltosparse (Fortran version) Download |
Here are some configuration files to allow the mex -setup being withi) Intel Fortran 8.1 with MS Visual Studio 2003ii) Intel Fortran 10.1 with MS Visual Studio 2005
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): mex -setup with Intel Fortran and MS VS.Net Download |
There is not yet any official support for use of the latest Intel 9.1 fortran compiler with MEX. The official support is for 9.0 and requires Visual Studio/C++ 2003 for the linker.This MEX options file works for the latest 9.1 fortran compiler and Visual Studio 2005.The path for the compiler and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Intel91 fortran with MEX Download |
g95 projects goal is to create a free, open source Fortran 95 compiler. The code has been donated to the Free Software Foundation for inclusion in GCC, the Gnu Compiler Collection. G95 is still in a beta state. G95 can compile most fortran 90/95 programs just fine on a wide variety of...
Platforms: *nix
License: Freeware | Size: 3.2 MB | Download (118): g95 Download |
LinAl was designed to bring together C++ and FORTRAN. At the same time LinAl is supposed to be easy to use, fast, and reasonably safe. LinAl library is based on STL techniques and uses the STL containers for the storage of matrix data and STL algorithms where feasible. Low level, algebraic...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (90): LinAl Download |
CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO simplifies the task of writing software that deals with FITS files by providing an easy to use set of high-level routines that insulate the...
Platforms: *nix
License: Freeware | Size: 2.06 MB | Download (106): CFITSIO Download |
UPS is a source level C, C++ and Fortran debugger with an X windowsinterface. It's a very light debugger, but is quite efficient and workswell. An ANSI compliant C interpreter is included.
Platforms: *nix
License: Freeware | Size: 2.48 MB | Download (45): UPS debugger Download |
This script is a translation of the Fortran subroutine RANKSB.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Choose a random k-subset of {1,2, ..., n} Download |
L-BFGS-B is a collection of Fortran 77 routines for solving nonlinear optimization problems with bound constraints on the variables. One of the key features of the nonlinear solver is that the Hessian is not needed. I've designed an interface to the L-BFGS-B solver so that it can be called like...
Platforms: Matlab
License: Freeware | Size: 61.44 KB | Download (46): MATLAB interface for L-BFGS-B Download |
MATLAB implementation of IGRF11 fortran code as function for calculating Earth mean magnetic field. Implementation has been modified to default to GPS reference coordinates with output B components North, East, and Vertical. Spherical harmonic coefficients are derived from downloaded Excel...
Platforms: Matlab
License: Freeware | Size: 1.01 MB | Download (60): IGRF Magnetic Field Download |
FORTRAN code provided in Xingguo Pan's 2002 dissertation entitled "Coherent Rayleigh-Brillouin Scattering" was converted to .m and is provided here. Both s6 and s7 models are provided. The code is validated
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Coherent+Spontaneous Rayleigh-Brillouin Scattering Spectra Download |
Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB. This article is a guide to getting started and performing practical tasks as well as a reference.Contents:* Introduction* Getting Started* Inputs and Outputs* Creating an Uninitialized...
Platforms: Matlab
License: Freeware | Size: 245.76 KB | Download (42): Writing MATLAB C/MEX Code Download |
Have you ever wanted to call the engCallMATLAB function, only to realize that it isn't available? Well, now it is! This Fortran routine mimics the functionality of the mexCallMATLAB function, but for engine applications. Has the same argument list as mexCallMATLAB with the addition of the Engine...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): engCallMATLAB (Fortran version) Download |