air:compiled-mac languasc$ ./EKmain.exe 
Give me an odd prime = 4178771
Computing the primitive root for q = 4178771 and saving on file
Primitive root generation time: 0 min, 0 sec, 0 millisec
******************************************
Now you can call the precomputation programs
******************************************
air:compiled-mac languasc$ ./m_precpsi.exe 
x = 0
y = 4178769
Precomputation psi-values for q = 4178771 and saving on file
Precomputation time (I/O included): 2 min, 49 sec, 644 millisec

air:compiled-mac languasc$ ./m_preclngamma.exe 
x = 0
y = 4178769
Precomputation lngamma-values for q = 4178771 and saving on file
Precomputation time (I/O included): 4 min, 52 sec, 567 millisec
 


languasc@OptiPlex-3050:~/Desktop/EK/4178771$ ./lancia.sh ./m_precT.exe 0 4178769 100000
PRG=./m_precT.exe, BEGIN=0, END=4178769, STEP=100000
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 10 min, 55 sec, 350 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
...
Precomputation time (I/O included): 11 min, 5 sec, 831 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 8 sec, 203 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 7 sec, 932 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 5 sec, 422 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 5 sec, 605 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 10 sec, 912 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 4 sec, 907 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 9 sec, 657 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 8 sec, 56 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 3 sec, 781 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 3 sec, 966 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 9 sec, 562 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 4 sec, 700 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 11 min, 4 sec, 415 millisec
x = y = Precomputation T-values for q = 4178771 and saving on file
Precomputation time (I/O included): 8 min, 43 sec, 869 millisec


....

languasc@OptiPlex-3050:~/Desktop/EK/4178771$ ./lancia.sh ./m_precS.exe 0 4178769 100000
PRG=./m_precT.exe, BEGIN=0, END=4178769, STEP=100000

Precomputation time (I/O included): 13 min, 18 sec, 950 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 13 min, 19 sec, 832 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 13 min, 20 sec, 931 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 13 min, 19 sec, 897 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 12 min, 58 sec, 877 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 12 min, 57 sec, 870 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file
Precomputation time (I/O included): 12 min, 58 sec, 332 millisec
x = y = Precomputation S-values for q = 4178771 and saving on file

languasc@OptiPlex-3050:~/Desktop/EK/4178771$ ./finale-fft.sh 
********** A. LANGUASCO  *********** 
Computation of the Euler-Kronecker constant with the T function. [DOUBLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for T(a/q). Done
Acquiring precomputed values for psi(a/q). Done

EK(4178771) = 0.922854

FFT - computation time (I/O excluded): 
0.000000 min. 0.000000 sec. 342.748000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO  *********** 
Computation of the Euler-Kronecker constant with the T function. [LONG DOUBLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for T(a/q). Done
Acquiring precomputed values for psi(a/q). Done

EK(4178771) = 0.922855

FFT - computation time (I/O excluded): 
0.000000 min. 1.000000 sec. 331.169000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the T function. [QUADRUPLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for T(a/q). Done
Acquiring precomputed values for psi(a/q). Done

EK(4178771) = +0.92285541571623993572                       

FFT - computation time (I/O excluded): 
0.000000 min. 35.000000 sec. 571.567000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO  *********** 
Computation of the Euler-Kronecker constant with the S function. [DOUBLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for S(a/q). Done
Acquiring precomputed values for log(gamma(a/q)). Done

EK(4178771)^+ = 8.909168

Building the sequence g^k%q. Done

EK(4178771) = 0.922856

FFT - computation time (I/O excluded): 
0.000000 min. 0.000000 sec. 511.134000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO  *********** 
Computation of the Euler-Kronecker constant with the S function. [LONG DOUBLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for S(a/q). Done
Acquiring precomputed values for log(gamma(a/q)). Done

EK(4178771)^+ = 8.909168

Building the sequence g^k%q. Done

EK(4178771) = 0.922855

FFT - computation time (I/O excluded): 
0.000000 min. 1.000000 sec. 999.809000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the S function. [QUADRUPLE PRECISION]
Acquiring q from file: q = 4178771
Acquiring precomputed values for S(a/q). Done
Acquiring precomputed values for log(gamma(a/q)). Done

EK(4178771)^+ = +8.90916769078840289216                       


Building the sequence g^k%q. Done

EK(4178771) = +0.92285541557399964022                       

FFT - computation time (I/O excluded): 
0.000000 min. 54.000000 sec. 773.133000 millisec. 
********** END PROGRAM  *********** 


--- with binary files

languasc@OptiPlex-3050:~/Desktop/EK/4178771$ ./finale-fft-binary-guru64.sh 
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the T function. [DOUBLE PRECISION - GURU64]
Acquiring q from file: q = 4178771
*** Using a particular wisdom FFTW_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 61.397000 millisec. 

Acquiring precomputed values for T(a/q)
Read 4178770 doubles
Acquiring precomputed values for psi(a/q)
Read 4178770 doubles

EK(4178771) = 0.922854

FFT - computation time (I/O and plan excluded): 
0.000000 min. 0.000000 sec. 341.230000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the T function. [LONG DOUBLE PRECISION - GURU64]
Acquiring q from file: q = 4178771
*** Using a particular wisdom FFTWL_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 134.235000 millisec. 

Acquiring precomputed values for T(a/q)
Read 4178770 doubles
Acquiring precomputed values for psi(a/q)
Read 4178770 doubles

EK(4178771) = 0.922855

FFT - computation time (I/O excluded): 
0.000000 min. 1.000000 sec. 332.373000 millisec. 
********** END PROGRAM  *********** 
./finale-fft-binary-guru64.sh: line 5: ./EK-T-fftwq-binary-guru64.exe: No such file or directory
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the S function. [DOUBLE PRECISION - GURU64]
Acquiring q from file: q = 4178771
*** Using a particular wisdom FFTW_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 58.535000 millisec. 

Acquiring precomputed values for S(a/q)
Read 4178770 doubles
Acquiring precomputed values for log(gamma(a/q))
Read 4178770 doubles

EK(4178771)^+ = 8.909168

Building the sequence g^k%q. Done

EK(4178771) = 0.922856

FFT - computation time (I/O and plan excluded): 
0.000000 min. 0.000000 sec. 511.462000 millisec. 
********** END PROGRAM  *********** 
********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the S function. [LONG DOUBLE PRECISION - GURU64]
Acquiring q from file: q = 4178771
*** Using a particular wisdom FFTWL_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 134.029000 millisec. 

Acquiring precomputed values for S(a/q)
Read 4178770 doubles
Acquiring precomputed values for log(gamma(a/q))
Read 4178770 doubles

EK(4178771)^+ = 8.909168

Building the sequence g^k%q. Done

EK(4178771) = 0.922855

FFT - computation time (I/O excluded): 
0.000000 min. 1.000000 sec. 995.290000 millisec. 
********** END PROGRAM  *********** 
./finale-fft-binary-guru64.sh: line 8: ./EK-S-fftwq-binary-guru64.exe: No such file or directory
