24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

►►<br />

xlf90<br />

xlf90_r<br />

xlf90_r7<br />

xlf95<br />

xlf95_r<br />

xlf95_r7<br />

xlf<br />

xlf_r<br />

xlf_r7<br />

f77<br />

<strong>for</strong>t77<br />

f90<br />

f95<br />

▼<br />

cmd_line_opt<br />

input_file<br />

►◄<br />

These commands all accept essentially the same <strong>Fortran</strong> language. The main<br />

difference is that they use different default options (which you can see by reading<br />

the file /etc/xlf.cfg).<br />

The invocation command per<strong>for</strong>ms the necessary steps to compile the <strong>Fortran</strong><br />

source files, assemble any .s files, and link the object files and libraries into an<br />

executable program. In particular, the xlf_r, xlf_r7, xlf90_r, xlf90_r7, xlf95_r, and<br />

xlf95_r7 commands use the thread-safe components (libraries, crt0_r.o, and so on)<br />

to link and bind object files.<br />

The following table summarizes the invocation commands that you can use:<br />

Table 2. <strong>XL</strong> <strong>Fortran</strong> Invocation Commands<br />

Driver<br />

Invocation Path or Location Chief Functionality<br />

Linked<br />

Libraries<br />

xlf90 /usr/bin <strong>Fortran</strong> 90 libxlf90.a<br />

xlf90_r /usr/bin Threadsafe <strong>Fortran</strong> 90,<br />

operating system default<br />

POSIX pthreads API<br />

xlf90_r7 /usr/bin Threadsafe <strong>Fortran</strong> 90, Draft<br />

7 POSIX pthreads API<br />

libxlf90_r.a<br />

libxlf90_r.a<br />

xlf95 /usr/bin <strong>Fortran</strong> 95 libxlf90.a<br />

xlf95_r /usr/bin Threadsafe <strong>Fortran</strong> 95,<br />

operating system default<br />

POSIX pthreads API<br />

xlf95_r7 /usr/bin Threadsafe <strong>Fortran</strong> 95, Draft<br />

7 POSIX pthreads API<br />

libxlf90_r.a<br />

libxlf90_r.a<br />

xlf /usr/bin FORTRAN 77 libxlf90.a<br />

xlf_r /usr/bin Threadsafe FORTRAN 77,<br />

operating system default<br />

POSIX pthreads API<br />

xlf_r7 /usr/bin Threadsafe FORTRAN 77,<br />

Draft 7 POSIX pthreads API<br />

libxlf90_r.a<br />

libxlf90_r.a<br />

f77 or <strong>for</strong>t77 /usr/bin FORTRAN 77 libxlf90.a<br />

f90 /usr/bin <strong>Fortran</strong> 90 libxlf90.a<br />

f95 /usr/bin <strong>Fortran</strong> 95 libxlf90.a<br />

30 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!