12.07.2015 Views

PGI User's Guide

PGI User's Guide

PGI User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using LIB3FStep 3: Run the exe to ensure that the module was imported from the DLL properly.% usemod12Using LIB3FThe <strong>PGI</strong> Fortran compilers include complete support for the de facto standard LIB3F library routines on bothLinux and Windows operating systems. See the <strong>PGI</strong> Fortran Language Reference manual for a complete list ofavailable routines in the <strong>PGI</strong> implementation of LIB3F.LAPACK, BLAS and FFTsPre-compiled versions of the public domain LAPACK and BLAS libraries are included with the <strong>PGI</strong> compilers.The LAPACK library is called liblapack.a or on Windows, liblapack.lib. The BLAS library is calledlibblas.a or on Windows, libblas.lib. These libraries are installed to $<strong>PGI</strong>//lib, where is replaced with the appropriate target name (linux86, linux86-64, osx86, osx86-64, win32, win64,sfu32, sua32, or sua64).To use these libraries, simply link them in using the –l option when linking your main program:% pgfortran myprog.f -llapack -lblasHighly optimized assembly-coded versions of BLAS and certain FFT routines may be available for yourplatform. In some cases, these are shipped with the <strong>PGI</strong> compilers. See the current release notes for the <strong>PGI</strong>compilers you are using to determine if these optimized libraries exist, where they can be downloaded (ifnecessary), and how to incorporate them into your installation as the default.The C++ Standard Template LibraryThe PGC++ compiler includes a bundled copy of the STLPort Standard C++ Library. See the online Standard C++ Library tutorial and reference manual at www.stlport.com for further details and licensing.130

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!