12.07.2015 Views

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

BLAS and LAPACK Libraries (PRO Version only)BLAS and LAPACK Libraries (PRO Version only)Multithreaded versions of the BLAS and LAPACK libraries are provided. These librariesprovide a standardized set of procedures for solving linear algebra and matrix algebra problems.For more information concerning the BLAS and LAPACK libraries or specificprocedures, see the BLAS/LAPACK PDF document in the manuals directory of your LF64distribution.Porting Code Between Windows and <strong>Linux</strong>Standard conforming codeIf your code is F77, F90, or F95 standard conforming, it will likely port to <strong>Linux</strong> simply byrecompiling. Problems may occur if code contains Windows specific path information. Seethe section “Source code changes” on page 47Winteracter and Gino GUI programsIf you are using the Winteracter or Gino GUI libraries, you can recompile your code and linkwith the <strong>Linux</strong> version of these libraries without having to make any other changes.AutomakeIf you are using Automake, the basic structure of the automake.fig configuration file willremain the same. A symbolic link is provided that equates lf95 with lfc, so existing compilecommands will not require any changes. When changes are made to add new compilecommands that do not exist in lf95, it is recommended that the <strong>LF95</strong> keyword and lf95compile command be changed to LF64 and lfc respectively.Source code changesIf any code or data contains path information, you will have to change the Windows directoryseparator "\" to the Unix separator "/", and make sure that pertinent files are in the indicateddirectories. If code contains environment variables, you will need to convert from Windowsstyle "%var%" to Unix style "$var".Service routines and extensionsMany non standard extensions are supported under both the Windows and <strong>Linux</strong> environments.If an extension is not supported, it will most likely cause an "undefined symbol" errorwhen linking. If your code uses the SYSTEM subroutine, you should consult your Languagereference. Although the basic form of the SYSTEM command is supported under both systems,optional arguments are not supported on the <strong>Linux</strong> side.Recommended Option SettingsIf an lfc.fig file exists in the current directory, examine its contents to insure that it containsthe desired options.<strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong> 47

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

Saved successfully!

Ooh no, something went wrong!