Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why are precompiled versions faster than those built from source code?

Maybe I am missing an environment variable or make target but my builds are always slower.

For example

%time _ = bernoulli(3*10^5)

finishes in about 2 min. 30 sec. using a precompiled version but 31 min. 41 sec. built from source (7.6) and 47 min. from source (8.0)

and

time a = N(pi, digits=5000000)

finishes in 13 min. 42 sec. from source (7.6) and 20 min. 21 sec. from source (8.0)

I use SAGE64=yes and SAGE_INSTALL_GCC=no Is it PARI/GP tuning or MPIR vs. GMP or some other thread related problem?

Why are precompiled versions faster than those built from source code?

Maybe I am missing an environment variable or make target but my builds are always slower.

For example

%time _ = bernoulli(3*10^5)

bernoulli(3*10^5)

finishes in about 2 min. 30 sec. using a precompiled version but 31 min. 41 sec. built from source (7.6) and 47 min. from source (8.0)

(8.0) and

time a = N(pi, digits=5000000)

digits=5000000)

finishes in 13 min. 42 sec. from source (7.6) and 20 min. 21 sec. from source (8.0)

I use SAGE64=yes and SAGE_INSTALL_GCC=no Is it PARI/GP tuning or MPIR vs. GMP or some other thread related problem?