air:~ languasc$ cd /Users/languasc/Documents/LANGUASCO/matematica/lavori/\[55\]Euler-kronecker-constants/programmi-finali/main_and_precomputations/compiled-mac 
air:compiled-mac languasc$ ./EKmain.exe 
Give me an odd prime = 6766811
Computing the primitive root for q = 6766811 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 = 6766809
Precomputation psi-values for q = 6766811 and saving on file
Precomputation time (I/O included): 4 min, 11 sec, 637 millisec
air:compiled-mac languasc$ ./m_preclngamma.exe 
x = 0
y = 6766809
Precomputation lngamma-values for q = 6766811 and saving on file
Precomputation time (I/O included): 7 min, 35 sec, 882 millisec

languasc@OptiPlex-3050:~/Desktop/EK/6766811$ ./lancia.sh ./m_precS.exe 0 6766809 1000000
PRG=./m_precS.exe, BEGIN=0, END=6766809, STEP=1000000
x = y = Precomputation S-values for q = 6766811 and saving on file
Precomputation time (I/O included): 133 min, 8 sec, 483 millisec
x = y = Precomputation S-values for q = 6766811 and saving on file
Precomputation time (I/O included): 134 min, 13 sec, 238 millisec
x = y = Precomputation S-values for q = 6766811 and saving on file
Precomputation time (I/O included): 133 min, 6 sec, 48 millisec
x = y = Precomputation S-values for q = 6766811 and saving on file
Precomputation time (I/O included): 132 min, 58 sec, 843 millisec
x = y = Precomputation S-values for q = 6766811 and saving on file




languasc@OptiPlex-3050:~/Desktop/EK/6766811$  ./lancia.sh ./m_precT.exe 0 6766809 1000000
PRG=./m_precT.exe, BEGIN=0, END=6766809, STEP=1000000
x = y = Precomputation T-values for q = 6766811 and saving on file
Precomputation time (I/O included): 111 min, 6 sec, 718 millisec
x = y = Precomputation T-values for q = 6766811 and saving on file
Precomputation time (I/O included): 110 min, 48 sec, 777 millisec
x = y = Precomputation T-values for q = 6766811 and saving on file
Precomputation time (I/O included): 110 min, 52 sec, 104 millisec
x = y = Precomputation T-values for q = 6766811 and saving on file
Precomputation time (I/O included): 111 min, 27 sec, 165 millisec
x = y = Precomputation T-values for q = 6766811 and saving on file
Precomputation time (I/O included): 112 min, 1 sec, 736 millisec
x = y = Precomputation T-values for q = 6766811 and saving on file

********** A. LANGUASCO  *********** 
Computation of the Euler-Kronecker constant with the T function. [DOUBLE PRECISION]
Acquiring q from file: q = 6766811
Acquiring precomputed values for T(a/q). Done
Acquiring precomputed values for psi(a/q). Done

EK(6766811) = 1.604053

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

EK(6766811) = 1.604045

FFT - computation time (I/O excluded): 
0.000000 min. 2.000000 sec. 575.687000 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 = 6766811
Acquiring precomputed values for T(a/q). Done
Acquiring precomputed values for psi(a/q). Done

EK(6766811) = +1.60404528344211167169                       

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

EK(6766811)^+ = 10.961044

Building the sequence g^k%q. Done

EK(6766811) = 1.604045

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

EK(6766811)^+ = 10.961044

Building the sequence g^k%q. Done

EK(6766811) = 1.604045

FFT - computation time (I/O excluded): 
0.000000 min. 3.000000 sec. 851.186000 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 = 6766811
Acquiring precomputed values for S(a/q). Done
Acquiring precomputed values for log(gamma(a/q)). Done

EK(6766811)^+ = +10.96104444733032878796                      


Building the sequence g^k%q. Done

EK(6766811) = +1.60404528321177759204                       

FFT - computation time (I/O excluded): 
1.000000 min. 35.000000 sec. 621.036000 millisec. 
********** END PROGRAM  *********** 


-------- with binary files

********** A. LANGUASCO and L. RIGHI *********** 
Computation of the Euler-Kronecker constant with the T function. [DOUBLE PRECISION - GURU64]
Acquiring q from file: q = 6766811
*** Using a particular wisdom FFTW_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 93.740000 millisec. 

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

EK(6766811) = 1.604053

FFT - computation time (I/O and plan excluded): 
0.000000 min. 0.000000 sec. 608.686000 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 = 6766811
*** Using a particular wisdom FFTWL_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 215.149000 millisec. 

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

EK(6766811) = 1.604045

FFT - computation time (I/O excluded): 
0.000000 min. 2.000000 sec. 571.208000 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 = 6766811
*** Using a particular wisdom FFTW_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 91.421000 millisec. 

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

EK(6766811)^+ = 10.961044

Building the sequence g^k%q. Done

EK(6766811) = 1.604045

FFT - computation time (I/O and plan excluded): 
0.000000 min. 0.000000 sec. 904.925000 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 = 6766811
*** Using a particular wisdom FFTWL_ESTIMATE file 
*** Plan and wisdom preparation time: 
0.000000 min. 0.000000 sec. 215.341000 millisec. 

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

EK(6766811)^+ = 10.961044

Building the sequence g^k%q. Done

EK(6766811) = 1.604045

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