mersenneforum.org  

Go Back   mersenneforum.org > Other Stuff > Archived Projects > Octoproth Search

 
 
Thread Tools
Old 2007-09-17, 23:02   #1
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default Running octoproth program in Linux

Make sure Wine isn't already installed. Go to a bash prompt and type 'wine --help', if it doesn't complain, you've got Wine installed. Unfortunately, it may be an old version. If you discover it's an old version, you need to uninstall it and reinstall the new one. You're on your own for that, at least as far as me being able to help you is concerned.

Install Wine. Type 'winecfg' in a bash prompt right after you install Wine. You'll get a window that reminds you of Micosoft Windows. You can mess around in it if you want, there's not much to see. Close the window. If you haven't already, transfer the octoproth program to a directory on the Linux computer. You'll want the directory set up the same way you would on a Windows computer, but don't try to run anything by clicking on it, you'll just get an error.

Go back to the bash prompt. Navigate to the directory with the octoproth stuff in it. If you have more than one processor on the computer, you'll probably want to have a specific directory to put individual octoproth directories into. One for each core.

Type in 'wine cmd'. This gets you a DOS prompt. It doesn't look the way I'm used to DOS prompts looking, but it behaves similarly. Now simply type in the name of the batch file you want to run and voila, it runs like a champ. From now on, whenever you want to run the program, you just go to a bash prompt, navigate to the correct directory, type in 'wine cmd,' then type in the name of the batch file. Although, if the batch file has already been run, you may have to delete some lines at the beginning to prevent duplicating work.

Last fiddled with by jasong on 2007-09-17 at 23:03
jasong is offline  
Old 2007-09-18, 04:35   #2
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

34F16 Posts
Default

Jasong,

Thank you for investigating! But I have told you that I will try to compile it for linux. Hopefully this week I can try to do it!

Regards
Cedric
ValerieVonck is offline  
Old 2007-09-20, 16:05   #3
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

7·112 Posts
Default

As requested, I tried to compile octo for the Linux platform:

This is for the i686 architecture, Pentium4 cpu's:
Attached Files
File Type: gz octoLinuxP4.tar.gz (63.9 KB, 466 views)
ValerieVonck is offline  
Old 2007-09-20, 16:09   #4
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

11010011112 Posts
Default

This is for the AMD platform (not smp)
Attached Files
File Type: gz octoLinuxAMD.tar.gz (64.1 KB, 469 views)
ValerieVonck is offline  
Old 2007-09-21, 01:14   #5
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Quote:
Originally Posted by CedricVonck View Post
As requested, I tried to compile octo for the Linux platform:

This is for the i686 architecture, Pentium4 cpu's:
I thought I already posted this, but I get the following error when trying to open the archive(Core2 quad-core, Ubuntu Feisty Fawn 7.04):
Code:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
jasong is offline  
Old 2007-09-21, 07:40   #6
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

7×112 Posts
Default

Jason,

Do a

gzip -d octoLinux.tar.gz

then

tar -xvf octoLinux.tar
ValerieVonck is offline  
Old 2007-09-21, 10:18   #7
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

22×2,161 Posts
Default

Or:

Code:
tar -xzvf octoLinux.tar.gz
Xyzzy is offline  
Old 2007-09-22, 04:50   #8
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default

Xyzzy: Your command didn't seem to work. Perhaps if the 'z' had come first?

If there's a Linux class at UCA(the local college, er, one of them), I'm going to sign up. There probably isn't, but one can hope.

Btw, it seems to work fine, I'm going to reserve 20 numbers in the appropriate thread(which is normal for me, I like to have at least 10 non-started numbers per core, if I see a core has less than ten numbers left, then I reserve enough to get it back to 20, as well as "topping off" any other cores involved in the project.)

Last fiddled with by jasong on 2007-09-22 at 04:58
jasong is offline  
Old 2007-09-22, 11:31   #9
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

22·2,161 Posts
Default

Quote:
Xyzzy: Your command didn't seem to work. Perhaps if the 'z' had come first?
Works fine here:

Code:
m@p4:~$ ls -l
total 4
drwxr-xr-x 5 m m 4096 2007-09-22 07:25 Desktop

m@p4:~$ mkdir a

m@p4:~$ cd a

m@p4:~/a$ touch 1 2 3

m@p4:~/a$ ls -l
total 0
-rw-r--r-- 1 m m 0 2007-09-22 07:27 1
-rw-r--r-- 1 m m 0 2007-09-22 07:27 2
-rw-r--r-- 1 m m 0 2007-09-22 07:27 3

m@p4:~/a$ cd ..

m@p4:~$ tar -cvf a.tar a/
a/
a/2
a/1
a/3

m@p4:~$ gzip a.tar

m@p4:~$ rm -rf a/

m@p4:~$ ls -l
total 8
-rw-r--r-- 1 m m  149 2007-09-22 07:27 a.tar.gz
drwxr-xr-x 5 m m 4096 2007-09-22 07:25 Desktop

m@p4:~$ tar -xzvf a.tar.gz
a/
a/2
a/1
a/3

m@p4:~$ cd a

m@p4:~/a$ ls -l
total 0
-rw-r--r-- 1 m m 0 2007-09-22 07:27 1
-rw-r--r-- 1 m m 0 2007-09-22 07:27 2
-rw-r--r-- 1 m m 0 2007-09-22 07:27 3
Xyzzy is offline  
Old 2007-12-27, 02:44   #10
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Well, I thought I was going to be running stuff tonight. Apparently, my solution to this problem last time was to run the Windows version. Anyway, it never got fixed. Btw, I chose the P4 version, even though it's technically Core 2 architecture.

I'm wondering if I should try the AMD version just for the hell of it. Yeah, I think I will.

Edit: AMD works, and like a rocket compared to my Pentium-D. I'm wondering if the filenames could be off or something. Anyway, it's great the way it is, although improvements are ALWAYS welcome. :)

Last fiddled with by jasong on 2007-12-27 at 02:48
jasong is offline  
 

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
octoproth program roger Octoproth Search 2 2007-11-17 12:57
errors running DOS program under Wine. Problem? jasong Information & Answers 4 2007-10-06 21:08
running linux version Unregistered Information & Answers 1 2007-09-08 17:59
Running mprime in verbose mode under linux? linux newbie Software 4 2006-03-21 16:13
Program only running at 50%? (Hyperthreading-related) Unregistered Hardware 23 2004-04-03 12:45

All times are UTC. The time now is 15:09.


Fri Jun 9 15:09:45 UTC 2023 up 295 days, 12:38, 0 users, load averages: 1.25, 1.09, 1.02

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

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