![]() |
![]() |
#1 |
"Jason Goatcher"
Mar 2005
3·7·167 Posts |
![]()
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 |
![]() |
![]() |
#2 |
Mar 2004
Belgium
34F16 Posts |
![]()
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 |
![]() |
![]() |
#3 |
Mar 2004
Belgium
7·112 Posts |
![]()
As requested, I tried to compile octo for the Linux platform:
This is for the i686 architecture, Pentium4 cpu's: |
![]() |
![]() |
#4 |
Mar 2004
Belgium
11010011112 Posts |
![]()
This is for the AMD platform (not smp)
|
![]() |
![]() |
#5 | |
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
![]() Quote:
Code:
tar: This does not look like a tar archive tar: Skipping to next header tar: Error exit delayed from previous errors |
|
![]() |
![]() |
#6 |
Mar 2004
Belgium
7×112 Posts |
![]()
Jason,
Do a gzip -d octoLinux.tar.gz then tar -xvf octoLinux.tar |
![]() |
![]() |
#7 |
Aug 2002
22×2,161 Posts |
![]()
Or:
Code:
tar -xzvf octoLinux.tar.gz |
![]() |
![]() |
#8 |
"Jason Goatcher"
Mar 2005
3·7·167 Posts |
![]()
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 |
![]() |
![]() |
#9 | |
Aug 2002
22·2,161 Posts |
![]() Quote:
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 |
|
![]() |
![]() |
#10 |
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
![]()
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 |
![]() |
Thread Tools | |
![]() |
||||
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 |