mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Mlucas (https://www.mersenneforum.org/forumdisplay.php?f=118)
-   -   Mlucas version 17.1 (https://www.mersenneforum.org/showthread.php?t=2977)

ewmayer 2016-01-25 22:52

[QUOTE=Xyzzy;422420]All Ernst needs to do is (consistently) use relative links instead of absolute links.

[URL]http://www.mersenneforum.org/mayer/[/URL]

:mike:[/QUOTE]

Thanks, Mike - I will do the needful (RIP Mally) when next I get round to updating my readme.html file.

ET_ 2017-04-27 12:50

1 Attachment(s)
I successfully installed Gentoo 64bits on my Raspberry PI 3.

The system works like a charm with my code, and does not like threads on PERL

[code]
This Perl not built to support threads
Compilation failed in require at Pgap_seg.pl line 8.
BEGIN failed--compilation aborted at Pgap_seg.pl line 8.
[/code]

I downloaded the 3.4 MB tar.gz on Ernst page (the code worked fine on Raspbian 32bit) and [B]./configure[/B]d it.

But when I try to make, I get te following:

[code]
demouser@pi64 ~/luigi/mlucas-14.1 $ make
make all-am
make[1]: Entering directory '/home/demouser/luigi/mlucas-14.1'
CC $NORMAL_O $THREADS_O
make[1]: *** [Makefile:2986: NORMAL_O-THREADS_O.stamp] Error 1
make[1]: Leaving directory '/home/demouser/luigi/mlucas-14.1'
make: *** [Makefile:2084: all] Error 2
[/code]

uname -a gives the following:

[code]
Linux pi64 4.10.0-rc5-v8 #1 SMP PREEMPT Wed Jan 25 20:13:50 GMT 2017 aarch64 GNU/Linux
[/code]

The config files are attached.

Luigi

Mark Rose 2017-04-27 14:17

[QUOTE=ET_;457660]I successfully installed Gentoo 64bits on my Raspberry PI 3.[/QUOTE]

How many months of compiling did that take?

ET_ 2017-04-27 14:52

[QUOTE=Mark Rose;457673]How many months of compiling did that take?[/QUOTE]

Not much. The 64bit OS makes the PI run about 4-5 times slower than a normal PC. One core of a PC nearly equals 4 PI cores.
Consider that I have a Gentoo image installed in a matter of minutes on the micrcoSD.

ewmayer 2017-04-28 00:41

I see several errors in config.log:
[i]
configure:3324: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3324: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
[/i]
Not sure what those are about ... I need to ping config-script author Alex Vong what input the '>&5' are intended to feed to the above 2 gcc flags. Nonetheless the config script continues, here is the next batch of errors:
[i]
configure:4053: checking for library containing ceil, log, pow, sqrt, sincos, floor, lrint, atan
configure:4084: gcc -o conftest conftest.c >&5
conftest.c:18:6: warning: built-in function 'ceil' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:12: warning: built-in function 'log' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:17: warning: built-in function 'pow' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:22: warning: built-in function 'sqrt' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:28: warning: built-in function 'sincos' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:36: warning: built-in function 'floor' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:43: warning: built-in function 'lrint' declared as non-function
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
conftest.c:18:50: warning: conflicting types for built-in function 'atan'
char ceil, log, pow, sqrt, sincos, floor, lrint, atan ();
^
/tmp/ccSv91Yj.o: In function `main':
conftest.c:(.text+0x8): undefined reference to `atan'
collect2: error: ld returned 1 exit status
[/i]
That looks like something related to the math libs. Again, I'll ask Alex to have a look. At some point in the not-too-distant future I need to take ownership (or at least curatorship) of the config/make system, but now is not a good time for that effort.

ldesnogu 2017-04-28 09:27

Ernst, if you run configure on your x86 machine you'll get the same errors in your config.log file ;)

ET_ 2017-04-28 11:08

[QUOTE=ewmayer;457734]I see several errors in config.log:
[...]
That looks like something related to the math libs. Again, I'll ask Alex to have a look. At some point in the not-too-distant future I need to take ownership (or at least curatorship) of the config/make system, but now is not a good time for that effort.[/QUOTE]

I will be in New York and Boston for vacation and come back after May 7th.

My PI system is actually sieving for the DoubleMersennes project, and the Pico-Cluster is still in its box.

Take your time... :smile:

Luigi

ewmayer 2017-04-29 03:06

[QUOTE=ldesnogu;457756]Ernst, if you run configure on your x86 machine you'll get the same errors in your config.log file ;)[/QUOTE]

Indeed - before posting them to the ftp site I used the install scripts to install on my Intel Broadwell NUC, but since that install was successful I never looked at the resulting config.log until now. As you say, same errors, all the way down [there are around a dozen in total.]

ldesnogu 2017-04-29 08:31

My understanding is that it's the normal process: configure scripts test various ways to do things until they find one that works. So I guess there's nothing wrong to be found in these logs.

ewmayer 2017-04-29 21:50

[QUOTE=ldesnogu;457864]My understanding is that it's the normal process: configure scripts test various ways to do things until they find one that works. So I guess there's nothing wrong to be found in these logs.[/QUOTE]

Yes, that makes sense.

Luigi, could you try going directly into the src directory of the install tree and trying a manual build as per the README page?

ET_ 2017-05-02 21:54

[QUOTE=ewmayer;457920]Yes, that makes sense.

Luigi, could you try going directly into the src directory of the install tree and trying a manual build as per the README page?[/QUOTE]

Sure, as Soon as I get Back home next week.


All times are UTC. The time now is 04:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.