Re: question on build warning
American Citizen <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <[email protected]> |
On page 3 of the install instructions https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.18.1/INSTALL.pdf We read > pthread: use POSIX threads. This is well-suited for multi-core > systems. Setting this option > also set --enable-tls, see below. This option requires the pthread > library. For benchmarking, it > is often useful to set --time=ftime so that GP report wall-clock > instead of the sum of the time > spent by each thread. I configured GP Pari for multiple cores. > GP/PARI CALCULATOR Version 2.18.1 (development > git-5d3c5ac62a) > amd64 running linux (x86-64/GMP-6.3.0 kernel) 64-bit > version > compiled: Apr 1 2025, gcc version 13.3.0 (SUSE Linux) > threading engine: pthread, nbthreads = 6 > (readline v7.0 enabled, extended help enabled) Could someone please update the instructions then? Thank you. Randall On 4/1/25 13:21, Bill Allombert wrote: > On Tue, Apr 01, 2025 at 12:58:51PM -0700, American Citizen wrote: >> Is this warning something to be concerned about? >> >> I built using the --time=ftime option on the Configure line in the root >> folder /home/owner/math/pari-2.18.0-251-g5d3c5ac62a/ >> >> % ./Configure --tune --mt=pthread --time=ftime --with-gmp --with-readline > I suggest you do not set --time=ftime and use getwalltime() in GP instead. > > Cheers, > Bill >