mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > FactorDB

Reply
 
Thread Tools
Old 2012-07-01, 16:21   #1
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

643 Posts
Default Problem running Primo on Ubuntu VM

What am I doing wrong? When I double-click on "primo", it won't start and I keep getting a file with a long name ending with "(invalid encoding)". Can someone please help me? I'm running VirtualBox with Ubuntu 64-bit version 10.10 (Maverick Meerkat). Do I need to upgrade to a newer version, or is it a memory error?
Stargate38 is offline   Reply With Quote
Old 2012-07-02, 20:17   #2
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

28316 Posts
Default Here's a shot of the error.

I don't understand this file. It has a Unicode name to it. Can someone help? I tried upgrading to Ubuntu 11.04, but that didn't work.
Attached Thumbnails
Click image for larger version

Name:	What!.png
Views:	140
Size:	82.3 KB
ID:	8176  
Stargate38 is offline   Reply With Quote
Old 2012-07-02, 20:44   #3
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

246F16 Posts
Default

Primo for linux runs fine when started from a command line. (Maybe double-clicking works, I've never tried it. Maybe it is not even supposed to work.)

Open a terminal. cd to the folder where you have unpacked primo. Type
./primo &
then use the GUI.
Batalov is offline   Reply With Quote
Old 2012-07-02, 20:49   #4
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

643 Posts
Default

I get a "cannot execute binary file" error followed by "Exit 126".

Last fiddled with by Stargate38 on 2012-07-02 at 20:53
Stargate38 is offline   Reply With Quote
Old 2012-07-02, 20:52   #5
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

chmod +x primo
Dubslow is offline   Reply With Quote
Old 2012-07-02, 20:56   #6
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

643 Posts
Default

I tried that, didn't work. However, it didn't produce an error message either.

Last fiddled with by Stargate38 on 2012-07-02 at 20:57
Stargate38 is offline   Reply With Quote
Old 2012-07-02, 20:59   #7
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100001101012 Posts
Default

Quote:
Originally Posted by Stargate38 View Post
I tried that, didn't work. However, it didn't produce an error message either.
Soit précis! What didn't work? What didn't produce an error message?

Do you mean that after doing chmod, you retried Primo, which didn't work but didn't produce the same error as last time?

Last fiddled with by Dubslow on 2012-07-02 at 21:00
Dubslow is offline   Reply With Quote
Old 2012-07-02, 21:01   #8
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

3·3,109 Posts
Default

Do
uname -a
Let's see if this is really a 64-bit Ubuntu
Also, type (in primo's folder)
ldd primo
Let's see if all libs are found.
Batalov is offline   Reply With Quote
Old 2012-07-02, 21:17   #9
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

643 Posts
Default

First option: "Linux starate38-VirtualBox 2.6.38.15-generic #61-Ubuntu SMP Tue Jun 12 19:15:11 UTC 2012 i686 athlon i386 GNU/Linux"
I think i386 might be 32-bit, but I don't know for certain.

Second option: "Not a dynamic executable"

Last fiddled with by Stargate38 on 2012-07-02 at 21:18
Stargate38 is offline   Reply With Quote
Old 2012-07-02, 21:23   #10
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

3×3,109 Posts
Default

Yep, looks like 32-bit. There exists only a 64-bit primo binary - and it will not run, obviously.

You may want to get a 64-bit image (of Ubuntu) and load it into VM, and then retry primo in it.

Last fiddled with by Batalov on 2012-07-02 at 21:25
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in running msieve with CUDA mohamed Msieve 20 2013-08-01 08:27
Ubuntu Server Crashes when running mprime 257 roemer2201 Software 9 2008-12-05 18:47
Screen resolution problem after upgrading ubuntu fivemack Linux 6 2008-05-24 12:51
Running DC on quad-core problem. jasong Hardware 22 2007-11-02 05:12
errors running DOS program under Wine. Problem? jasong Information & Answers 4 2007-10-06 21:08

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

Sun Feb 28 04:23:12 UTC 2021 up 87 days, 34 mins, 0 users, load averages: 1.34, 1.62, 1.63

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.