mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-06-18, 20:04   #78
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by kracker View Post
You're right, I use strawberry perl, just install, reboot, edit the submission script to your needs, and run :P (it sets associations, if you use it that way.)
Very cool!!! Thanks -- I didn't know about Strawberry. I'll add a mention to it on the spider page.

One thing though... I found that just letting the script run with the default association (perl.exe) caused a DOS window to pop up for a split second. If, however, you use "wperl.exe submit_spider.pl" in the WinBlows Task Scheduler, no such window appears.
chalsall is offline   Reply With Quote
Old 2012-06-18, 23:42   #79
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

87816 Posts
Default

Quote:
Originally Posted by chalsall View Post
Very cool!!! Thanks -- I didn't know about Strawberry. I'll add a mention to it on the spider page.

One thing though... I found that just letting the script run with the default association (perl.exe) caused a DOS window to pop up for a split second. If, however, you use "wperl.exe submit_spider.pl" in the WinBlows Task Scheduler, no such window appears.
Hmm... strange. I usually never use it that way, but it works.

P.S.: I use a script that automatically launches that when it detects a results.txt in one or two of my selected directories (in my script)
kracker is offline   Reply With Quote
Old 2012-06-19, 01:15   #80
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

100011000112 Posts
Default

Quote:
Originally Posted by kracker View Post
Hmm... strange. I usually never use it that way, but it works.

P.S.: I use a script that automatically launches that when it detects a results.txt in one or two of my selected directories (in my script)
Mind posting your script? I'd be curious to see it.
flashjh is offline   Reply With Quote
Old 2012-06-19, 02:19   #81
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23·271 Posts
Default

Quote:
Originally Posted by flashjh View Post
Mind posting your script? I'd be curious to see it.
It's a bat script... (only windows)... and the script is rough.... give me...a...few...



How many "workers" should I make it support? (max)

Last fiddled with by kracker on 2012-06-19 at 02:19
kracker is offline   Reply With Quote
Old 2012-06-19, 03:09   #82
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by kracker View Post
It's a bat script... (only windows)... and the script is rough.... give me...a...few...



How many "workers" should I make it support? (max)
I run up to 25 TF workers at a time, but you can just get me started and I can expand as necessary. Don't worry about the 'roughness', I use many bat files myself, and I know they can be that way. Right now I use a script that runs every hour, collects everything and then submits if there is something to submit. I was just wondering how you check for a results file (or how often)?

I attached my submit.bat file (rename to .bat), so you can see it. If you have any questions, let me know. Windows Task Scheduler just runs submit.bat every hour.

BTW - I use ActivePerl
Attached Files
File Type: txt submit.bat.txt (10.4 KB, 152 views)

Last fiddled with by flashjh on 2012-06-19 at 03:21
flashjh is offline   Reply With Quote
Old 2012-06-19, 14:01   #83
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Quote:
Originally Posted by flashjh View Post
I run up to 25 TF workers at a time, but you can just get me started and I can expand as necessary. Don't worry about the 'roughness', I use many bat files myself, and I know they can be that way. Right now I use a script that runs every hour, collects everything and then submits if there is something to submit. I was just wondering how you check for a results file (or how often)?

I attached my submit.bat file (rename to .bat), so you can see it. If you have any questions, let me know. Windows Task Scheduler just runs submit.bat every hour.

BTW - I use ActivePerl

Ah... your's look much better than mine... I'll add ethernet support.

P.S.: MY script is simple really, maybe too simple... what it does is looks for a "results.txt in several directories every x often, then if it finds it it executes the submit perl script.... then all over again...
kracker is offline   Reply With Quote
Old 2012-06-21, 16:58   #84
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Oh, I forgot to post it....

Code:
@echo off
### Settings.
### \ or /. C:/blah/blah or C:\blah\blah.
set sh=\
### Set title. Useless...
set title=
### set mfak* dirs here.
set dir1=C:\xxxx\x\mfakto
set dir2=C:\xxxx\x\mfakto-2
### Define time between checks in seconds.
set time=500
### End Settings.
title %title%
cls
Goto 1
:loop
timeout /t %time% /nobreak > NUL
:1
IF EXIST %dir1%%sh%results.txt cd %dir1%&&perl %dir1%%sh%submit.pl
:2
IF EXIST %dir2%%sh%results.txt cd %dir2%&&perl %dir2%%sh%submit.pl
:3
IF EXIST %dir3%%sh%results.txt perl %dir3%%sh%submit.pl
:4
IF EXIST %dir4%%sh%results.txt perl %dir4%%sh%submit.pl
goto loop
:kitchensink
#set /p dir3=
#set /p dir4=
make SURE perl.exe is in %path%, AND don't say anything about the background picture.
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	140
Size:	243.5 KB
ID:	8157  

Last fiddled with by kracker on 2012-06-21 at 17:00
kracker is offline   Reply With Quote
Old 2012-06-21, 17:44   #85
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Default

Quote:
Originally Posted by kracker View Post
AND don't say anything about the background picture.
KITTY!!!!!


Last fiddled with by Dubslow on 2012-06-21 at 17:45
Dubslow is offline   Reply With Quote
Old 2012-06-21, 17:45   #86
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

87816 Posts
Default

Quote:
Originally Posted by Dubslow View Post
KITTY!!!!!

Oh shut u.. Nevermind.
kracker is offline   Reply With Quote
Old 2012-06-21, 18:05   #87
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by kracker View Post
Oh shut u.. Nevermind.
But KITTY!!!

https://encrypted-tbn2.google.com/im...DJbA2_wHZTBnaw
https://encrypted-tbn1.google.com/im...33N3uu9Up6agEg
https://encrypted-tbn0.google.com/im...F1TyJt-TYG9SD4
https://encrypted-tbn1.google.com/im...kXLwKhY2KBgupQ
Dubslow is offline   Reply With Quote
Old 2012-06-21, 18:16   #88
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

I will not comment.


P.S.: I do love kitties.

Last fiddled with by kracker on 2012-06-21 at 18:18
kracker is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU to 72 spider poaching exponents? ixfd64 GPU to 72 2 2014-07-27 20:38
It Seems The Great Spider ... Dubslow Forum Feedback 13 2012-06-01 13:39
Automatic temperature control TObject Software 13 2012-04-27 19:33
Went from 8 workers to 4 workers on v26.6 upgrade dmoran Software 13 2011-05-23 12:36
Manual submission of automatic assignment result tichy PrimeNet 4 2010-12-17 09:57

All times are UTC. The time now is 10:22.


Mon Aug 2 10:22:57 UTC 2021 up 10 days, 4:51, 0 users, load averages: 1.08, 1.03, 1.10

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.