mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   FactorDB (https://www.mersenneforum.org/forumdisplay.php?f=94)
-   -   Problem running Primo on Ubuntu VM (https://www.mersenneforum.org/showthread.php?t=16947)

Stargate38 2012-07-01 16:21

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 2012-07-02 20:17

Here's a shot of the error.
 
1 Attachment(s)
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.

Batalov 2012-07-02 20:44

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.

Stargate38 2012-07-02 20:49

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

Dubslow 2012-07-02 20:52

chmod +x primo

Stargate38 2012-07-02 20:56

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

Dubslow 2012-07-02 20:59

[QUOTE=Stargate38;303897]I tried that, didn't work. However, it didn't produce an error message either.[/QUOTE]

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?

Batalov 2012-07-02 21:01

Do
[FONT=Fixedsys]uname -a[/FONT]
Let's see if this is really a 64-bit Ubuntu
Also, type (in primo's folder)
[FONT=Fixedsys]ldd primo[/FONT]
Let's see if all libs are found.

Stargate38 2012-07-02 21:17

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"

Batalov 2012-07-02 21:23

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.


All times are UTC. The time now is 12:24.

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