Skip to main content

Table 1 Systematic runtime comparisons

From: Automatic Fortran to C++ conversion with FABLE

 

LAPACK 3.2.1 DSYEV double precision

Structure factors double precision

Structure factors single precision

 

Fortran

C++

Fortran

C++

Fortran

C++

Intel 12.1

1.00

2.51

1.00

0.99

1.00

0.97

 

1.82 s

4.56 s

2.09 s

2.07 s

1.55 s

1.51 s

Intel 11.1

1.03

2.30

1.01

1.01

1.09

1.06

 

1.88 s

4.18 s

2.12 s

2.11 s

1.69 s

1.65 s

Intel 10.1

not

1.43

not

1.06

not

1.05

 

installed

2.60 s

installed

2.21 s

installed

1.62 s

Intel 9.1

1.32

1.75

1.07

1.19

1.03

1.17

 

2.41 s

3.19 s

2.24 s

2.49 s

1.60 s

1.82 s

gcc 4.6.1

1.21

1.68

1.00

1.02

1.04

1.05

Intel math library

2.20 s

3.05 s

2.10 s

2.14 s

1.61 s

1.63 s

gcc 4.5.3

1.25

1.42

1.56

1.00

1.70

1.05

Intel math library

2.27 s

2.59 s

3.27 s

2.10 s

2.63 s

1.63 s

gcc 4.4.6

1.19

1.56

1.54

1.00

1.67

1.04

Intel math library

2.17 s

2.84 s

3.22 s

2.10 s

2.59 s

1.61 s

gcc 4.3.6

1.22

1.36

1.61

1.07

1.72

1.10

Intel math library

2.22 s

2.48 s

3.37 s

2.24 s

2.67 s

1.70 s

gcc 4.2.4

1.35

1.46

1.61

1.21

1.74

1.39

Intel math library

2.45 s

2.65 s

3.37 s

2.52 s

2.69 s

2.15 s

gcc 4.1.2

1.33

1.50

1.61

1.22

1.75

1.30

Intel math library

2.42 s

2.73 s

3.37 s

2.55 s

2.71 s

2.01 s

clang 3.1 r142719

not

1.37

not

1.09

not

1.27

Intel math library

applicable

2.49 s

applicable

2.27 s

applicable

1.97 s

clang 3.1 r142719

not

1.40

not

3.03

not

10.19

System math library

applicable

2.55 s

applicable

6.34 s

applicable

15.79 s

  1. Systematic runtime comparisons using various Intel® and GCC Fortran and C++ compilers, and a recent development version of CLANG++ (LLVM/CLANG SVN revision 142719). Runtimes relative to that of executables compiled with Intel® Fortran Version 12.1 are shown in bold. The corresponding absolute runtimes in seconds are shown below the bold numbers. See text for further details.