mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-02-19, 12:36   #23
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

174128 Posts
Default

Don't run as root or use su/sudo.

Code:
cd ~
cd Desktop/prime0
ls -la
./mprime -m
Paste your results.
Xyzzy is offline   Reply With Quote
Old 2007-02-19, 18:41   #24
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

353410 Posts
Default

Yes. Be yourself!

Quote:
I've connected to Internet through Windows' shared connection. Had to manually configure "eth0" since DHCP was not working properly.
Hmm. Was the M$ box acting as a server for IP addresses? Anyway...

Quote:
VNC is working although it is very CPU intensive (~30% utilization of one core).
I use "ssh" (and scp) and when I want to run an application that requires graphics supply the "-X" switch. Key management is fun with ssh.

Quote:
I've installed and launched SMB, however I am still unable to connect to shared folder from Windows XP. When I type "\\C2Q-HOME" it asks me for user+password, and does not accept any entry I give (there is no error message). Perhaps I should put a full path to shared folder afterwards
http://ubuntuguide.org/wiki/Ubuntu_Edgy#Samba_Server

If you still can't get samba running I will run through the process here.
paulunderwood is offline   Reply With Quote
Old 2007-02-19, 18:46   #25
Cruelty
 
Cruelty's Avatar
 
May 2005

110010100102 Posts
Default

Here you go.
Attached Thumbnails
Click image for larger version

Name:	mprime.JPG
Views:	125
Size:	56.6 KB
ID:	1526  
Cruelty is offline   Reply With Quote
Old 2007-02-19, 19:10   #26
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

1051810 Posts
Default

Quote:
Originally Posted by Cruelty View Post
Here you go.
Hmm. I've seen this happen when a program (here mprime) is not a valid binary for the machine in question, so the shell tries to interpret it as a script.

Try running "file ./mprime" and see whether the result looks plausible.

Paul
xilman is offline   Reply With Quote
Old 2007-02-19, 20:47   #27
Cruelty
 
Cruelty's Avatar
 
May 2005

2×809 Posts
Default

Here you go:
Code:
./mprime: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
Cruelty is offline   Reply With Quote
Old 2007-02-19, 22:19   #28
Cruelty
 
Cruelty's Avatar
 
May 2005

65216 Posts
Default

BTW: the same problem applies to LLR sr1sieve-k8 is working flawlessly, so perhaps I am missing some libraries to run mprime/LLR?
BTW2: SMB is functioning thanks for your help!
BTW3: sprime is working fine

Last fiddled with by Cruelty on 2007-02-19 at 23:14
Cruelty is offline   Reply With Quote
Old 2007-02-19, 23:34   #29
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1101110011102 Posts
Default

You could try "sllr", or maybe install "multilib".
paulunderwood is offline   Reply With Quote
Old 2007-02-20, 10:45   #30
Cruelty
 
Cruelty's Avatar
 
May 2005

2·809 Posts
Default

sllr will most likely work as sprime does. Today I left PC with four instances of Small-FFT torture test to verify it's stability under Linux.
Some other news:
  • running 3 instances of Large-FFT torture test + benchmark has the same result as under WindowsXP - HUGE performance hit
  • on the other hand running sr1sieve-k8 is ~74% faster than sr1sieve-pentium4 under WindowsXP for k=101
Cruelty is offline   Reply With Quote
Old 2007-03-03, 23:14   #31
Cruelty
 
Cruelty's Avatar
 
May 2005

65216 Posts
Default

OK. The box is running the second week now using static executables, so I would like to investigate the possibility of running dynamic mprime and llr. Looking for "multilib" over on Ubuntu.com forums brought me nowhere so far
The reason I ask is that the performance of sllr and sprime is ~3-5% lower than llr/prime95 under Windows XP...

Last fiddled with by Cruelty on 2007-03-03 at 23:32
Cruelty is offline   Reply With Quote
Old 2007-03-04, 02:50   #32
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·3·19·31 Posts
Default

Another approach is to reinstall. Assuming you have one hard drive in the machine dedicated to linux:

4 partitions:
/home for both
/ for ubuntu64
/ for ubuntu32
swap

During installation of the second operating system its bootloader will pick up the first. HTH

Maybe another separate (common) "/boot" partition would help.

Also maybe a common "/home" is not good. Instead mount stuff when the systems are built....

Last fiddled with by paulunderwood on 2007-03-04 at 02:56
paulunderwood is offline   Reply With Quote
Old 2007-03-05, 01:35   #33
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

If you run `ldd ./mprime' that should show whether you have any dynamic libraries missing.
geoff is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 17:34.

Mon Jan 25 17:34:01 UTC 2021 up 53 days, 13:45, 0 users, load averages: 3.26, 2.99, 2.66

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.