Using Sun Performance Library Fast Fourier Transform Routines HomeContentsPreviousNextIndex


Preface

This book describes how to use the Sun Performance LibraryTM fast Fourier transform (FFT) routines that are supported by the Sun WorkShopTM 6 update 1 FORTRAN 77, Fortran 95, and C compilers. Sun Performance Library FFT routines are based on the FFTPACK and VFFTPACK libraries, which are available from Netlib (http://www.netlib.org).

This book does not describe the mathematics of the FFT or details of how the FFT algorithm is implemented. For information on these topics, see the sources listed in References.

Who Should Use This Book

This book is intended for programmers who want to use the Sun Performance Library FFT routines in their code. Users should have a working knowledge of the Fortran or C language and some understanding of the base FFTPACK and VFFTPACK libraries available from Netlib.

Access to Sun WorkShop Development Tools

Because Sun WorkShop product components and man pages do not install into the standard /usr/bin/ and /usr/share/man directories, you must change your PATH and MANPATH environment variables to enable access to Sun WorkShop compilers and tools.

To determine if you need to set your PATH environment variable:

1. Display the current value of the PATH variable by typing:

% echo $PATH

2. Review the output for a string of paths containing /opt/SUNWspro/bin/.

If you find the paths, your PATH variable is already set to access Sun WorkShop development tools. If you do not find the paths, set your PATH environment variable by following the instructions in this section.

To determine if you need to set your MANPATH environment variable:

1. Request the workshop man page by typing:

% man workshop

2. Review the output, if any.

If the workshop(1) man page cannot be found or if the man page displayed is not for the current version of the software installed, follow the instructions in this section for setting your MANPATH environment variable.


Note – The information in this section assumes that your Sun WorkShop products are installed in the /opt directory. If your Sun WorkShop products are not installed in the /opt directory, contact your system administrator for the equivalent path on your system.

The PATH and MANPATH variables should be set in your home .cshrc file if you are using the C shell or in your home .profile file if you are using the Bourne or Korn shells:

For more information about the PATH variable, see the csh(1), sh(1), and ksh(1) man pages. For more information about the MANPATH variable, see the man(1) man page. For more information about setting your PATH and MANPATH variables to access this release, see the Sun WorkShop 6 Installation Guide or your system administrator.

Typographic Conventions

TABLE P-1 shows the typographic conventions that are used in Sun WorkShop documentation.

TABLE P-1   Typographic Conventions
Typeface Meaning Examples
AaBbCc123 The names of commands, files, and directories; on-screen computer output Edit your .login file. Use ls -a to list all files. % You have mail.
AaBbCc123 What you type, when contrasted with on-screen computer output % su Password:
AaBbCc123 Book titles, new words or terms, words to be emphasized Read Chapter 6 in the User's Guide. These are called class options. You must be superuser to do this.
AaBbCc123 Command-line placeholder text; replace with a real name or value To delete a file, type rm filename.


Related Documentation

For more information about this product, see the following sources. (The names of our development tools has changed from Sun WorkShopTM to ForteTM Developer products; you might see both product names used.)


Note – If your Sun WorkShop 6 update 1 software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system.


Sun Microsystems, Inc.
Copyright information. All rights reserved.
Feedback
Library   |   Contents   |   Previous   |   Next   |   Index