26.11.2012 Views

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

32035 Rev. 3.22 November 2007<br />

<str<strong>on</strong>g>Compiler</str<strong>on</strong>g> <str<strong>on</strong>g>Usage</str<strong>on</strong>g> <str<strong>on</strong>g>Guidelines</str<strong>on</strong>g> <str<strong>on</strong>g>for</str<strong>on</strong>g> AMD<str<strong>on</strong>g>64</str<strong>on</strong>g> Plat<str<strong>on</strong>g>for</str<strong>on</strong>g>ms<br />

Table 10. Best-Known Peak Switches <str<strong>on</strong>g>for</str<strong>on</strong>g> the <str<strong>on</strong>g>64</str<strong>on</strong>g>-<str<strong>on</strong>g>Bit</str<strong>on</strong>g> PGI <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux ®<br />

Applicati<strong>on</strong> Area Benchmark Language Best Known Peak Switches<br />

Computati<strong>on</strong>al<br />

Electromagnetics<br />

Quantum<br />

Chemistry<br />

459.GemsFDTD Fortran 90<br />

465.t<strong>on</strong>to Fortran 95<br />

5.2 PGI Release 7.1 <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32- and <str<strong>on</strong>g>64</str<strong>on</strong>g>-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g><br />

Microsoft® Windows®<br />

5.2.1 Invoking the <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s<br />

To translate and link SPECcpu2006 benchmarks with PGI Fortran, C, or C++ compilers the following<br />

commands are used:<br />

pgcc -w invokes the PGI C compiler<br />

pgcpp -w invokes the PGI C++ compiler<br />

pgf95 -w invokes the PGI Fortran 90/95 compiler<br />

5.2.2 Base Command-line Opti<strong>on</strong>s<br />

pgf95 -w -fast -O4 -Mdse -Mipa=fast,inline<br />

-Mfprelaxed -Msmartalloc=huge:448 -tp barcel<strong>on</strong>a-<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

-DSPEC_CPU_LP<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

pgf95 w -fast -O4 -Mfprelaxed -Msmartalloc=huge:448<br />

-Mipa=fast,inline -Mvect=noaltcode tp barcel<strong>on</strong>a <str<strong>on</strong>g>64</str<strong>on</strong>g><br />

DSPEC_CPU_LP<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

Fluid Dynamics 470.lbm ANSI C Use base binaries and/or base results <str<strong>on</strong>g>for</str<strong>on</strong>g> peak.<br />

Weather 481.wrf<br />

Speech<br />

recogniti<strong>on</strong><br />

C<br />

Fortran 90<br />

pgcc -w -fast -Mfprelaxed -Msmartalloc=huge:448<br />

-Mvect=noaltcode -tp barcel<strong>on</strong>a-<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

-DSPEC_CPU_LP<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

pgf95 -w -fast -Mfprelaxed -Msmartalloc=huge:448<br />

-Mvect=noaltcode -tp barcel<strong>on</strong>a-<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

-DSPEC_CPU_LP<str<strong>on</strong>g>64</str<strong>on</strong>g><br />

482.sphinx3 C Use base binaries and/or base results <str<strong>on</strong>g>for</str<strong>on</strong>g> peak.<br />

Notes:<br />

1. Mathematical library (libm) required<br />

2. Boost Library required<br />

3. Smartheap libraries utilized. If the Smartheap libraries are not loaded, xalancbmk per<str<strong>on</strong>g>for</str<strong>on</strong>g>ms better with the<br />

-Msmartalloc=huge:160 opti<strong>on</strong>.<br />

The best-known base switches <str<strong>on</strong>g>for</str<strong>on</strong>g> various benchmarks in SPECcpu2006 suite <str<strong>on</strong>g>for</str<strong>on</strong>g> <str<strong>on</strong>g>64</str<strong>on</strong>g>-bit PGI Release<br />

7.1 compilers <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux <strong>on</strong> AMD Athl<strong>on</strong> <str<strong>on</strong>g>64</str<strong>on</strong>g> , AMD Opter<strong>on</strong> and AMD Family 10h processorbased<br />

plat<str<strong>on</strong>g>for</str<strong>on</strong>g>ms. The following command-line opti<strong>on</strong>s are used <str<strong>on</strong>g>for</str<strong>on</strong>g> base integer comp<strong>on</strong>ent of<br />

SPECcpu2006 (CINT2006).<br />

Chapter 5 Peak Opti<strong>on</strong>s <str<strong>on</strong>g>for</str<strong>on</strong>g> SPEC ® -CPU Benchmark Programs 59

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

Saved successfully!

Ooh no, something went wrong!