Forum > GPU crunching
VBscript Fights Cuda
Maik:
--- Quote from: Maik on 03 Jan 2009, 09:07:14 pm --- ' (on my to-do-list -> copy of stderr)
--- End quote ---
I have finished that little project now. Some tests on my host ended sucessfull.
The zip-file contains: *cuda_log_030b.cmd, *cuda_log_030b.vbs, *readme_030b.txt
Please report back on a sucessfull / unsucessfull use of it.
EDIT:
Notice: This script is written for users who want to have a copy of crashed WU's (Stand-Alone-Tester)
For 'normal' users please use cuda_log.zip posted above.
EDIT: deleted file - newer one
Maik:
> Update 040beta
================
> I've re-written the cuda_log_030b.vbs-code.
> It includes now both versions of my basic scripts.
> The script will now be started with options.
> Also i have included tests for file-handling / specified folders.
> Addon: a cuda_log.ini with all settings to handle settings better.
> sart with option -ver and/or -sam or -non
> -ver will show all informatiosn to cmd-window (without the script is only logging to log-file)
> -sam will copy crashed WU's to a specified folder and will try to get a stderr from client_state.xml
> -non will disable both options above
>
> to change start-options edit the cuda_log_040b.cmd - file and change it there
> or run manual start from cmd-window while using the "cscript cuda_log_040b.vbs -option" command
Edit:
I wasnt able to do a complete test with -sam option because i dont have stucking WU's the last 24h ^^
Edit2:
Had a stucking WU now. -sam options seem to wotk without errors.
End at the END: Please report back how the script works for you.
Edit3: Once again. If you use my Script dont leave your PC alone.
If you notice a lot of failing Tasks in a row stop seti and reboot your PC.
Maik:
minor update that fix wrong variables needed with -sam option to detect result overflows.
my fault, sorry for that ^^
It is a bit tricky to handle with variables when VBscript only know the variant-typ....
notice: the script seems to work correctly now. maybe ill rename it to v1.0 if i get no response with errors ;)
External link for download
popandbob:
Tried the new version... Here is the log... (Yes that is my Boinc DATA Directory... )
starting script ...
1/10/2009 12:52:09 PM > ============================================
1/10/2009 12:52:09 PM > = WU / Cuda watch script by Maik v0.41beta =
1/10/2009 12:52:09 PM > = maybe not working on Win 95/98/NT =
1/10/2009 12:52:09 PM > ============================================
1/10/2009 12:52:09 PM > = option on: print to cmd-window =
1/10/2009 12:52:09 PM > = option on: copy crashed WU =
1/10/2009 12:52:09 PM > ============================================
1/10/2009 12:52:09 PM >
1/10/2009 12:52:09 PM > ini: appName > MB_r396mod_CUDA.exe
1/10/2009 12:52:09 PM > ini: logFileName > cuda_log
1/10/2009 12:52:09 PM > ini: maxLogFileSize > 50000
1/10/2009 12:52:09 PM > ini: setiPath > C:\Program Files\BOINC\projects
1/10/2009 12:52:09 PM > ini: sspp > D:\boinc_data\KWSN Knabench 1.43\TestWUs\Reserve\
1/10/2009 12:52:09 PM > ini: appMinRunTime > 120
1/10/2009 12:52:09 PM > ini: showId > 1
1/10/2009 12:52:09 PM > ini: showName > 0
1/10/2009 12:52:09 PM > ini: showUsage > 1
1/10/2009 12:52:09 PM > ini: showRuntime > 1
1/10/2009 12:52:09 PM > Folder valid:
1/10/2009 12:52:09 PM > C:\Program Files\BOINC\projects
1/10/2009 12:52:09 PM > debug:
1/10/2009 12:52:09 PM > invalid Folder!
1/10/2009 12:52:09 PM > D:\boinc_data\KWSN Knabench 1.43\TestWUs\Reserve\
1/10/2009 12:52:09 PM > no stand alone directory set, process/WU-watching only
1/10/2009 12:52:09 PM > log-file handling successful
1/10/2009 12:52:09 PM > wu-file-handling turned off
end of startup ...
1/10/2009 12:52:09 PM > logFile: cuda_log_0_1102009.txt
1/10/2009 12:52:09 PM > maxLogFileSize set to: 50000 bytes
1/10/2009 12:52:09 PM > --running-----------------
1/10/2009 12:52:12 PM >
1/10/2009 12:52:12 PM > -watching new WU-file:
1/10/2009 12:52:27 PM > ID: 2688 16%, running: 15s
1/10/2009 12:52:43 PM > ID: 2688 14%, running: 31s
Reports invalid folder but it still monitors wu's....
Maik:
it should look like that:
--- Quote ---
10.01.2009 17:37:00 > ini: appName > MB_r396mod_CUDA.exe
10.01.2009 17:37:00 > ini: logFileName > cuda_log
10.01.2009 17:37:00 > ini: maxLogFileSize > 50000
10.01.2009 17:37:00 > ini: setiPath > D:\boinc_data\projects\setiathome.berkeley.edu\
10.01.2009 17:37:00 > ini: sspp > D:\boinc_data\KWSN Knabench 1.43\TestWUs\Reserve\
10.01.2009 17:37:00 > ini: appMinRunTime > 120
10.01.2009 17:37:00 > ini: showId > 1
10.01.2009 17:37:00 > ini: showName > 1
10.01.2009 17:37:00 > ini: showUsage > 1
10.01.2009 17:37:00 > ini: showRuntime > 1
10.01.2009 17:37:00 > Folder valid:
10.01.2009 17:37:00 > D:\boinc_data\projects\setiathome.berkeley.edu\
10.01.2009 17:37:00 > Folder valid:
10.01.2009 17:37:00 > D:\boinc_data\KWSN Knabench 1.43\TestWUs\Reserve\
10.01.2009 17:37:00 > log-file handling successful
10.01.2009 17:37:00 > wu-file-handling successful
end of startup ...
10.01.2009 17:37:00 > logFile: cuda_log_0_10012009.txt
10.01.2009 17:37:00 > maxLogFileSize set to: 50000 bytes
10.01.2009 17:37:00 > --running-----------------
10.01.2009 17:37:03 >
10.01.2009 17:37:03 > -watching new WU-file: 06no08ab.14392.175545.9.8.162_0
10.01.2009 17:37:18 > ID: 344 MB_r396mod_CUDA.exe 4%, running: 15s
10.01.2009 17:37:33 > ID: 344 MB_r396mod_CUDA.exe 6%, running: 30s
--- End quote ---
The 'valid/invalid' - message tells you that this folder exists.
At your startup the seti folder is missing:
>> 1/10/2009 12:52:09 PM > C:\Program Files\BOINC\projects .... <-----
Also the WU-Name is missing (that tells yout the setiPath is invalid):
>> 1/10/2009 12:52:12 PM > -watching new WU-file: .... <-----
The Script is only monitoring the *.exe-file set in *.ini at your WinTaskManager.
It will notice a change to new wu-file only because the Process-ID will change if a new task is starting.
- Additional: Delete the 'D:\boinc_data\KWSN Knabench 1.43\TestWUs\Reserve\' - entry in the *.ini-file if you dont need copy's of crashed wu's or start without -sam
Edit: I see, its my fault. The *.ini-information is wrong. It should be:
set seti's data directory , e.g. C:\ProgramData\BOINC\projects\setiathome.berkeley.edu\
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version