mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Aliquot Sequences

Reply
 
Thread Tools
Old 2012-09-30, 19:05   #441
Ralf Recker
 
Ralf Recker's Avatar
 
Oct 2010

BF16 Posts
Default

Can you try

Code:
LD_RUN_PATH=/usr/local/lib make
If it builds type

Code:
ldd aliqueit
Without changing entries /etc/ld.so.conf or adding files in /etc/ld.so.conf.d the Makefile

Code:
#
# aliqueit Makefile for linux
#

# you'll need to change this if your gmp headers aren't installed globally:
GMP_DIR = /usr/local/include

CC = g++
CFLAGS = -O3 -I$(GMP_DIR)

# you'll need to change this if your gmp headers aren't installed globally:
LIBS = -L/usr/local/lib -lgmp

OBJ = aliqueit.o cfg.o misc.o


aliqueit: $(OBJ)
    $(CC) $(CFLAGS) $(LIBS) $(OBJ) -o aliqueit

%.o: %.cc
    $(CC) $(CFLAGS) -c -o $@ $<
links against distribution version of libgmp 5.0.5
Code:
ralf@quadriga:~/Quellen.tmp/aliqueit112/src/aliqueit$ ldd aliqueit
    linux-vdso.so.1 =>  (0x00007fff00167000)
    libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f444bb9a000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f444b893000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f444b610000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f444b3fa000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f444b073000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f444be1e000)
Without the distribution binaries linking would fail.

"make"ing with LD_RUN_PATH results in this:

Code:
ralf@quadriga:~/Quellen.tmp/aliqueit112/src/aliqueit$ ldd aliqueit
    linux-vdso.so.1 =>  (0x00007fff933ff000)
    libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x00007f87f72d8000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f87f6fbe000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f87f6d3b000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f87f6b25000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f87f679e000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f87f7546000)
Tip: Make sure to run

Code:
ldconfig
as root after modifying entries in the linker configuration files

Last fiddled with by Ralf Recker on 2012-09-30 at 19:20
Ralf Recker is offline   Reply With Quote
Old 2012-09-30, 22:06   #442
Mr. Odd
 
Mar 2010

5×11 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Like I've said more than once before, my binary is available here. That's Aliqueit compiled on Ubuntu 11.04, gcc 4.5.2, GMP 5.0.4.
My apologies, I must've missed it or misunderstood which archive to download - but this does the trick! Very pleased to have this, thanks a lot. The only question I've got is the submission to Syd's FactorDB goes through without errors but it doesn't seem to show up. Any suggestions?
Mr. Odd is offline   Reply With Quote
Old 2012-09-30, 22:17   #443
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
My apologies, I must've missed it or misunderstood which archive to download - but this does the trick! Very pleased to have this, thanks a lot. The only question I've got is the submission to Syd's FactorDB goes through without errors but it doesn't seem to show up. Any suggestions?
Like the sequence doesn't appear updated? I would note that sometimes for very large updates, wget takes a few minutes to complete the submission (meaning the FDB takes a few minutes to respond). If you mean you checked like 10 minutes after submission, then I couldn't tell you.
Dubslow is offline   Reply With Quote
Old 2012-10-01, 02:33   #444
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1101011101012 Posts
Default

Quote:
Originally Posted by Ralf Recker View Post
Can you try

Code:
LD_RUN_PATH=/usr/local/lib make
If it builds type

...
It didn't build.

I didn't change /etc/ld.so.conf or /etc/ld.so.conf.d, because they looked OK:

/etc/ld.so.conf:
Code:
include /etc/ld.so.conf.d/*.conf
Code:
math11@math11:/etc/ld.so.conf.d$ ls
i686-linux-gnu.conf  libc.conf~             x86_64-linux-gnu_GL.conf
libc.conf            x86_64-linux-gnu.conf  zz_i386-biarch-compat.conf
I tried a change to libc.conf, but put it back:
Code:
# libc default configuration
/usr/local/lib
Could this be the problem?
Code:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libgmp.so.10
libgmp.so: /usr/local/lib/libgmp.so.10 /usr/local/lib/libgmp.so
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libstdc++.so.6
libstdc++.so:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libmso.6
libmso:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libgcc_s.so.1
libgcc_s.so:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libc.so.6
libc.so:
I don't appear to have any of the other libraries you listed.

Off to look for these libraries...
EdH is offline   Reply With Quote
Old 2012-10-01, 13:44   #445
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

65658 Posts
Default

Quote:
Originally Posted by EdH View Post
...

Could this be the problem?
Code:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libgmp.so.10
libgmp.so: /usr/local/lib/libgmp.so.10 /usr/local/lib/libgmp.so
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libstdc++.so.6
libstdc++.so:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libmso.6
libmso:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libgcc_s.so.1
libgcc_s.so:
math11@math11:~/Math/Aliqueit/src/aliqueit$ whereis libc.so.6
libc.so:
I don't appear to have any of the other libraries you listed.

Off to look for these libraries...
I guess not. They're there, just not being displayed by "whereis."

But, that begs the question: Should the libgmp libraries not be displayed by "whereis?"
EdH is offline   Reply With Quote
Old 2012-10-01, 16:20   #446
Ralf Recker
 
Ralf Recker's Avatar
 
Oct 2010

191 Posts
Default

I've set up a Precise Pangolin VM and see the same error.

Last fiddled with by Ralf Recker on 2012-10-01 at 16:21
Ralf Recker is offline   Reply With Quote
Old 2012-10-01, 17:14   #447
Ralf Recker
 
Ralf Recker's Avatar
 
Oct 2010

2778 Posts
Default

I guess I've found it:

http://stackoverflow.com/questions/1...e-with-g-4-6-3

Change this entry in Makefile:

Code:
aliqueit: $(OBJ)
    $(CC) $(CFLAGS) $(LIBS) $(OBJ) -o aliqueit
to this:

Code:
aliqueit: $(OBJ)
    $(CC) $(CFLAGS) $(OBJ) -o aliqueit $(LIBS)
Upate: Swapping $(OBJ) and $(LIBS) is enough:

Code:
aliqueit: $(OBJ)
    $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o aliqueit

Last fiddled with by Ralf Recker on 2012-10-01 at 17:24
Ralf Recker is offline   Reply With Quote
Old 2012-10-02, 04:21   #448
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5·13·53 Posts
Default

Quote:
Originally Posted by Ralf Recker View Post
I guess I've found it:

http://stackoverflow.com/questions/1...e-with-g-4-6-3

...

Upate: Swapping $(OBJ) and $(LIBS) is enough:

Code:
aliqueit: $(OBJ)
    $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o aliqueit
Thank You Ralf Recker!! That worked great!

I (seem to**) have a fully working version of all the packages now and have rewritten my Steps page appropriately.

Thanks again to all who have assisted me in this "adventure."

**Only minimal testing has been done so far. I'll be testing more "vigorously" over the next few days/weeks/etc.
EdH is offline   Reply With Quote
Old 2013-02-24, 02:03   #449
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160358 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
My apologies, I must've missed it or misunderstood which archive to download - but this does the trick! Very pleased to have this, thanks a lot. The only question I've got is the submission to Syd's FactorDB goes through without errors but it doesn't seem to show up. Any suggestions?
Hmm... I've never had that problem... until now.

This is my first attempt to use aliqueit on a new Linux install, and now I'm seeing exactly this problem.
Code:
Sending 102 lines...
--2013-02-23 19:58:28--  http://factorization.ath.cx/search.php?report=true
Resolving factorization.ath.cx (factorization.ath.cx)... 176.9.39.214
Connecting to factorization.ath.cx (factorization.ath.cx)|176.9.39.214|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2015 (2.0K) [text/html]
Saving to: `aliqueit_tmp_wget_7920'

100%[===================================================================================>] 2,015       --.-K/s   in 0s

2013-02-23 19:58:30 (77.4 MB/s) - `aliqueit_tmp_wget_7920' saved [2015/2015]
Note how nothing is being sent.

Could it be a too-new version of wget or something? I haven't looked through the aliqueit source yet...
Dubslow is offline   Reply With Quote
Old 2013-04-28, 03:32   #450
mklasson
 
Feb 2004

1000000102 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Note how nothing is being sent.

Could it be a too-new version of wget or something? I haven't looked through the aliqueit source yet...
I don't know about linux, but the latest windows wget version (1.11.4) seems to work fine at least. Though that one's more than 4 years old...
mklasson is offline   Reply With Quote
Old 2013-04-28, 08:50   #451
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

22×23×31 Posts
Default

After a long time I used aliqueit.exe again doing a random 105-digit number which seems a member of an aliquot-sequence.
In the beginning of FactorDB every member of an aliqout-seq got the startingnumber as info.
My problem: if the number like above got a downdriver, aliqueit reports the number determined is smaller then the starting one and quits.
Can this be suppressed and aliqueit goes further the seq down?
kar_bon is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resuming aliqueit johnadam74 Aliquot Sequences 4 2016-03-28 12:32
Apparent aliqueit issue with specifying factors pakaran Aliquot Sequences 2 2015-09-12 23:10
Using Several Instances of Aliqueit for a large gnfs job EdH Aliquot Sequences 6 2011-12-13 18:58
Setting up aliqueit science_man_88 Aliquot Sequences 185 2011-11-08 12:18
Tried out aliqueit.exe: ggnfs failing Greebley Aliquot Sequences 35 2010-02-13 15:23

All times are UTC. The time now is 23:35.

Tue Nov 24 23:35:21 UTC 2020 up 75 days, 20:46, 4 users, load averages: 1.92, 2.11, 2.23

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.