| Platform
and purpose |
command
line (replace gcc by g++ or g77) |
| C compiling for debugging and
profiling purposes |
gcc -static -g3 -pg
-O -Q |
| C compiling for speed on alphas |
gcc -O3 -mcpu=ev6 |
| C compiling for speed on Athlons |
gcc -O2
-fomit-frame-pointer -malign-double -mcpu=athlon-xp |
| C compiling for speed on Pentium
4 |
gcc -O2
-fomit-frame-pointer -malign-double -mcpu=pentium4 |
| Purpose
(all on Linux alpha platform) |
command
line |
| Fortran 90 for speed |
fort -fast -static |
| Fortran 77 for speed |
fort
-f77 -fast -static |
| Fortran for debugging |
fort -g3
-ladebug |
| C compiling for speed on Pentium
4 |
|
| Purpose
(all on Linux alpha platform) |
command
line |
| Fortran 90 |
ifc -O3 -xK -static |
| Fortran 77 for speed |
|
| Fortran for speed on Pentium 4
only |
|
| Fortran for debugging |
ifc -w
-static -pg -C -vec_report5 |
| Purpose |
command
line |
| MKL: general link order for
static linking on Intel architectures |
(...) -lmkl_lapack -lmkl_ia32 -lguide -lpthread |
| G77 compiling on Alpha Linux using ATLAS routines |
g77 -O3 -static code.f -o out -llapack -lf77blas -latlas |
| G77 compiling on Alpha Linux using CXML routines
(not a good idea) |
g77 -O3 -static code.f -o out -lcxml -lcpml -lots |
| G77 compiling on Intel Linux
using MKL routines |
|
| Fortran compiling on Intel Linux
with LAPACK etc. routines in MKL |
|
| Fortran compiling on Alpha Linux
with LAPACK etc. routines in CXML libs |
fort -fast
-static -lcxml |
| Purpose |
command
line |
| MKL: general link order for
static linking on Intel architectures |
(...) -lmkl_lapack -lmkl_ia32 -lguide -lpthread |
| |
|
| |
|
| |
|
| |
|
| |
|