Skip to content

Latest commit

 

History

History

FORTRAN

		FORTRAN INTERFACE

This directory contains the Fortran example interface to use the
C routines in SuperLU.

When using the Makefiles without CMake, type to compile the examples:
	% make

When using CMake, type:
	% make examples

To run the examples, type (with CMake you need to add one additional ../ to
the path):
	% ./dfexm < ../EXAMPLE/g20.rua		-- double precision example
	% ./zfexm < ../EXAMPLE/cg20.cua   	-- double complex example
	% ./test_omp < ../EXAMPLE/g20.rua		-- solve multiple systems with different threads

Useful environment variables for running OpenMP example:
setenv OMP_STACKSIZE 8192M; limit stacksize unlimited; setenv OMP_NUM_THREADS 2