mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2013-03-01, 21:55   #1
iParadase
 
Mar 2013

5 Posts
Arrow Prime search in a cloud-based server (VM)...

Hi
Hi recently acquired a cloud-based server (virtual machine), in which i wanted to run a program for LL testing (using prime95, mlucas or glucas, i don't really know what is the best for this situation...). But the problem is that i don't know anything about programing a web-server or how to run any of the programs that i talked before (prime95, mlucas and glucas).
So, what i wanted to ask, and I know it's not simple, is if anyone would be gentle enough to give me a step-by-step tutorial on how to run any of those programs in a VM.

Note:
.I use SSH to connect to the server;
.The server is running Ubuntu 12.04, x86_64 (it can run in x86), [i can change the OS for any linux based OS - windows is out of the question because it's paid])

Thank you in advance,
iParadase is offline   Reply With Quote
Old 2013-03-01, 22:22   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

33×367 Posts
Default

Quote:
Originally Posted by iParadase View Post
... windows is out of the question because it's paid])
A tiny instance of Windows is free with most plans and even with the free plan. That it is a very slow and weak instance is another matter, but it is free.

On your ubuntu instance, in the nutshell,
1. ssh
2. wget ftp://mersenne.org/gimps/p95v279.linux64.tar.gz
3. mkdir my1
4. cd my1
5. tar xfz ../p95v279.linux64.tar.gz
6. chmod a+rx mprime (just in case)
7. ./mprime -m
8. answer questions (establish your name, among other things)
9. observe it run for a while then "5" (i.e. exit)
10. nohup ./mprime &
11. (you can try if this helps:) sudo renice -20 <insert pid here>
...and then you can even leave the ssh session. Or at least if you lose a connection and return, it will be still running

Last fiddled with by Batalov on 2013-03-01 at 22:34 Reason: typos
Batalov is offline   Reply With Quote
Old 2013-03-01, 23:16   #3
iParadase
 
Mar 2013

58 Posts
Exclamation

Quote:
Originally Posted by Batalov View Post
5. tar xfz ../p95v279.linux64.tar.gz
I only got this far, when i enter the command it says:
Quote:
root@tGIMPS:~# mkdir my1
root@tGIMPS:~# cd my1
root@tGIMPS:~/my1# tar xfz ../p95v279.linux64.tar.gz
tar (child): ../p95v279.linux64.tar.gz: Cannot open: No such file or director
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
What shall I do? Help...
iParadase is offline   Reply With Quote
Old 2013-03-01, 23:24   #4
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×5,297 Posts
Default

Quote:
Originally Posted by iParadase View Post
What shall I do? Help...
Code:
wget ftp://mersenne.org/gimps/p95v279.linux64.tar.gz
tar -xzf p95v279.linux64.tar.gz
./mprime -m
chalsall is online now   Reply With Quote
Old 2013-03-01, 23:33   #5
iParadase
 
Mar 2013

5 Posts
Default

Quote:
Originally Posted by chalsall View Post
Code:
wget ftp://mersenne.org/gimps/p95v279.linux64.tar.gz
tar -xzf p95v279.linux64.tar.gz
./mprime -m
Working, thank you so much

(just one more thing... - sorry about all of this... - the program asked me about: "Computer uses a dial-up connection to the Internet (N):" I answered: "yes"
and then it said: "Optional proxy host name" I answered anything.. is there any problem there?!)


One again, thank you so much, both of you!!!
iParadase is offline   Reply With Quote
Old 2013-03-02, 03:16   #6
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354510 Posts
Default

I hope you don't get billing based on CPU time...
jasonp is offline   Reply With Quote
Old 2013-03-02, 08:48   #7
iParadase
 
Mar 2013

5 Posts
Thumbs up

Quote:
Originally Posted by jasonp View Post
I hope you don't get billing based on CPU time...
I kind of do, xD

But the first 20€ of server bills are free... (i just have to control what i have already spent)
iParadase is offline   Reply With Quote
Old 2013-03-02, 13:16   #8
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

29×167 Posts
Default

Quote:
Originally Posted by iParadase View Post
I kind of do, xD

But the first 20€ of server bills are free... (i just have to control what i have already spent)
Mind that:

1 - A vitual instance may not have a full-throttle dedicated quad-CPU
2 - A LL-test of a 60M exponent may take weeks to complete

Luigi
ET_ is offline   Reply With Quote
Old 2013-03-06, 17:13   #9
iParadase
 
Mar 2013

510 Posts
Default

Quote:
Originally Posted by ET_ View Post
Mind that:

1 - A vitual instance may not have a full-throttle dedicated quad-CPU
2 - A LL-test of a 60M exponent may take weeks to complete

Luigi
It has 4core, hyperthreaded CPU @ 1500Mhz (really nice results)
I know :S that's why i'm doing other work...

(I get billed 0,0047€ per Ghz hour + other expenses, like RAM usage - GB hour - and Traffic Out)
iParadase is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiFactorial Prime Search rogue And now for something completely different 110 2022-03-26 14:04
Intel Jumps Into Cloud Gaming with First Haswell Server Chip kladner Hardware 6 2013-06-07 10:09
Twin prime search? MooooMoo Twin Prime Search 115 2010-08-29 17:38
Prime-Related History: Leibniz' "Universal Language Based on Primes" ewmayer Math 10 2007-03-02 12:47
Prime Search on PS-3? Kosmaj Riesel Prime Search 6 2006-11-21 15:19

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


Thu Aug 18 23:20:40 UTC 2022 up 20:49, 0 users, load averages: 1.55, 1.53, 1.44

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔