mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2009-09-17, 05:43   #12
axn
 
axn's Avatar
 
Jun 2003

22×3×421 Posts
Default

Quote:
Originally Posted by Andi47 View Post
1.) Is it really possible to see the windows partition? How?
2.) How do I open a prompt window?
3.) How do I install GMP?
1) From "Places" menu. Just play around and see what all you can find.
2) Application > Accessories > Terminal
3) It is probably already installed. But, fireup Synaptics Package Manager (system > administration). Search for: GMP. If it shows up with solid check box, it is installed. Otherwise, check the checkbox, and click Apply.

Whenever prompted for password, enter your password.

PS:- Not sitting in front of the linux box, so things could be not exactly where I said it would be -- but should be close enough
axn is offline   Reply With Quote
Old 2009-09-17, 08:59   #13
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

46628 Posts
Default

Quote:
Originally Posted by axn View Post
1) From "Places" menu. Just play around and see what all you can find.
2) Application > Accessories > Terminal
3) It is probably already installed. But, fireup Synaptics Package Manager (system > administration). Search for: GMP. If it shows up with solid check box, it is installed. Otherwise, check the checkbox, and click Apply.

Whenever prompted for password, enter your password.

PS:- Not sitting in front of the linux box, so things could be not exactly where I said it would be -- but should be close enough
Thanks. I guess the prompt window will be able to see and access to data (e.g. a msieve.dat file) on the windows partition too? Just type "c:" to go there?

(I will try tonight, as I am currently not sitting in front of my linux box, too.)
Andi47 is offline   Reply With Quote
Old 2009-09-17, 09:04   #14
axn
 
axn's Avatar
 
Jun 2003

116748 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Just type "c:" to go there?
No. It has a more funky syntax, I think. Basically when you access it from "Places", it will be mounted as a volume, and then you access it like any other linux folder (/whatever/blah/.../msieve.dat)
axn is offline   Reply With Quote
Old 2009-09-17, 18:59   #15
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by axn View Post
other than that, compiling is as easy as downloading msieve source and doing a "make x86_64" command.
downloaded msieve 1.42, unpacked it, typed this command and got (translated the german output to english):

GMP: libgmp3c2 is installed (as far as I understand; if I click onto the box next to the entry, it asks if I want to uninstall it; of course; I answered "no"), I guess, this will do?

Code:
The selected CPU does not support the X64 command set [note: german: Befehlssatz]
Huh? it's ubuntu (64 bit version) running on a core 2 duo laptop!

Should I try to type just "make"?

Last fiddled with by Andi47 on 2009-09-17 at 18:59 Reason: Typo
Andi47 is offline   Reply With Quote
Old 2009-09-17, 19:11   #16
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10110111110002 Posts
Default

you have to edit the makefile for 64-bit(wish this would be fixed(i havent checked svn recently))
comment out with a #
OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
and uncomment
OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG
henryzz is offline   Reply With Quote
Old 2009-09-17, 19:24   #17
jrk
 
jrk's Avatar
 
May 2008

3×5×73 Posts
Default

Quote:
Originally Posted by henryzz View Post
you have to edit the makefile for 64-bit(wish this would be fixed(i havent checked svn recently))
comment out with a #
OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
and uncomment
OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG
Since he has a Core 2 duo, shouldn't he use -march=core2 instead?

Code:
OPT_FLAGS = -O3 -fomit-frame-pointer -march=core2 -DNDEBUG
jrk is offline   Reply With Quote
Old 2009-09-17, 19:29   #18
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

351310 Posts
Default

Quote:
Originally Posted by jrk View Post
Since he has a Core 2 duo, shouldn't he use -march=core2 instead?

Code:
OPT_FLAGS = -O3 -fomit-frame-pointer -march=core2 -DNDEBUG
I think it should be -march=nocona for core2. I've vague recollections of this (k8 vs. nocona) not mattering too much... but it makes sense to use the architecture flag you'll be using it on.

Last fiddled with by bsquared on 2009-09-17 at 20:05 Reason: clarify "this"
bsquared is offline   Reply With Quote
Old 2009-09-17, 19:56   #19
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default

Quote:
Originally Posted by jrk View Post
Since he has a Core 2 duo, shouldn't he use -march=core2 instead?

Code:
OPT_FLAGS = -O3 -fomit-frame-pointer -march=core2 -DNDEBUG
I have now tried with -march=core2 and got dozens of warnings that sound like:

Code:
Warning: conversion into "unit32" from "long int" could change the value.
Is this normal?

Edit: -march=nocona gives the same bunch of warnings.

After compilation, I copied msieve.exe into my 2,1766M-directory and tried to start msieve -v -p -nc2 -t 2 and got:

Code:
bash: msieve: command not found

Last fiddled with by Andi47 on 2009-09-17 at 20:14
Andi47 is offline   Reply With Quote
Old 2009-09-17, 20:14   #20
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

That's fine, it's just that the newest gcc is a little more paranoid about type conversion than previous ones were. Try 'msieve -v 11111111111111111111111111111111111111111111111111111111111111111111111' and check that you get factors ...
fivemack is offline   Reply With Quote
Old 2009-09-17, 20:39   #21
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by fivemack View Post
That's fine, it's just that the newest gcc is a little more paranoid about type conversion than previous ones were. Try 'msieve -v 11111111111111111111111111111111111111111111111111111111111111111111111' and check that you get factors ...
I get

Code:
bash: msieve: command not found
Andi47 is offline   Reply With Quote
Old 2009-09-17, 20:57   #22
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by Andi47 View Post
I get

Code:
bash: msieve: command not found
Use ./msieve to start the command. For some reason, Linux won't look in the current directory for the file name you specify unless you do that. I think the "./" might mean "current directory" or something.
Mini-Geek is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto start mprime automically for (Debian) Linux joblack Software 26 2018-11-05 11:18
Clicks of death, good opportunity to switch to Linux jasong jasong 4 2013-12-28 02:47
Switch from Windows to Linux Svenie25 Software 2 2013-12-18 11:23
Okay to switch between windows and linux? Unregistered Information & Answers 1 2011-06-09 02:28
LINUX mprime does not switch speedstep off graysky PrimeNet 6 2008-11-15 18:08

All times are UTC. The time now is 08:06.


Sat Jul 17 08:06:34 UTC 2021 up 50 days, 5:53, 1 user, load averages: 1.61, 1.45, 1.36

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.