![]() |
|
|
#1365 |
|
Romulan Interpreter
"name field"
Jun 2011
Thailand
41·251 Posts |
you got them a bit viceversa. Each line contains two commands, which - by default - will open their own windows. Without the switches you could end up in having 2 windozes for each command line, totally 6 for your example, and they would close and disappear when the most inner task finishes. Use the help:
Code:
c:\>help cmd
Starts a new instance of the Windows XP command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
Unicode
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and directory name completion characters (see below)
/V:ON Enable delayed environment variable expansion using ! as the
delimiter. For example, /V:ON would allow !var! to expand the
variable var at execution time. The var syntax expands variables
at input time, which is quite a different thing when inside of a FOR
loop.
/V:OFF Disable delayed environment expansion.
Note that multiple commands separated by the command separator '&&'
are accepted for string if surrounded by quotes. Also, for compatibility
reasons, /X is the same as /E:ON, /Y is the same as /E:OFF and /R is the
same as /C. Any other switches are ignored.
If /C or /K is specified, then the remainder of the command line after
the switch is processed as a command line, where the following logic is
used to process quote (") characters:
1. If all of the following conditions are met, then quote characters
on the command line are preserved:
- no /S switch
- exactly two quote characters
- no special characters between the two quote characters,
where special is one of: &<>()@^|
- there are one or more whitespace characters between the
the two quote characters
- the string between the two quote characters is the name
of an executable file.
2. Otherwise, old behavior is to see if the first character is
a quote character and if so, strip the leading character and
remove the last quote character on the command line, preserving
any text after the last quote character.
If /D was NOT specified on the command line, then when CMD.EXE starts, it
Press any key to continue . . .
Code:
c:\>help start
Starts a separate window to run a specified program or command.
START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/WAIT] [/B] [command/program]
[parameters]
"title" Title to display in window title bar.
path Starting directory
B Start application without creating a new window. The
application has ^C handling ignored. Unless the application
enables ^C processing, ^Break is the only way to interrupt
the application
I The new environment will be the original environment passed
to the cmd.exe and not the current environment.
MIN Start window minimized
MAX Start window maximized
SEPARATE Start 16-bit Windows program in separate memory space
SHARED Start 16-bit Windows program in shared memory space
LOW Start application in the IDLE priority class
NORMAL Start application in the NORMAL priority class
HIGH Start application in the HIGH priority class
REALTIME Start application in the REALTIME priority class
ABOVENORMAL Start application in the ABOVENORMAL priority class
BELOWNORMAL Start application in the BELOWNORMAL priority class
WAIT Start application and wait for it to terminate
command/program
If it is an internal cmd command or a batch file then
the command processor is run with the /K switch to cmd.exe.
This means that the window will remain after the command
has been run.
If it is not an internal cmd command or batch file then
it is a program and will run as either a windowed application
or a console application.
parameters These are the parameters passed to the command/program
If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:
non-executable files may be invoked through their file association just
by typing the name of the file as a command. (e.g. WORD.DOC would
launch the application associated with the .DOC file extension).
See the ASSOC and FTYPE commands for how to create these
associations from within a command script.
When executing an application that is a 32-bit GUI application, CMD.EXE
does not wait for the application to terminate before returning to
the command prompt. This new behavior does NOT occur if executing
within a command script.
Press any key to continue . . .
Last fiddled with by LaurV on 2011-11-29 at 07:09 Reason: put some blood into it, to be easy to see |
|
|
|
|
|
#1366 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
I use that string to run three instances most of the time. But each is launched independently. That is, I don't think there's any difference between running one, or more than one. Without the /k I think the window will close on termination. |
|
|
|
|
|
|
#1367 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
1015810 Posts |
Quote:
Code:
e: cd \mfaktc_32-64 copy "mfaktc-0.17_32-64\results.txt"+"mfaktc-0.17_32-64_b\results.txt"+"mfaktc-0.17_32-64_c\results.txt" "Results-kladner.txt" copy results.txt "mfaktc-0.17_32-64" /y copy results.txt "mfaktc-0.17_32-64_b" /y copy results.txt "mfaktc-0.17_32-64_c" /y |
|
|
|
|
|
|
#1368 | ||
|
"Oliver"
Mar 2005
Germany
111510 Posts |
Quote:
![]() Preliminary data from my stock GTX 470 for M3321932839 from 279 to 280 - raw GPU speed: Code:
| CUDA 3.2 | CUDA 4.0 | CUDA 4.1-RC1 mfaktc 0.17 | 177.59M/s | 185.38M/s | 181.21M/s mfaktc 0.18-pre8 | 177.91M/s | 185.65M/s | 181.48M/s mfaktc 0.18-pre10 | 183.77M/s | 191.96M/s | 211.03M/s Quote:
Oliver |
||
|
|
|
|
|
#1369 | |
|
"Oliver"
Mar 2005
Germany
111510 Posts |
Quote:
![]() GTX 275, M3321932839 from 279 to 280 - raw GPU speed: Code:
mfaktc 0.17 45.96M/s mfaktc 0.18-pre10 46.40M/s Oliver |
|
|
|
|
|
|
#1370 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
5×7×139 Posts |
Quote:
![]() Luigi |
|
|
|
|
|
|
#1371 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
May I also request that the Windows and Linux versions be able to use each others' save files?
Edit: Yeah, I still don't get what's happening here. Remember when I reported that for some reason in Windows my GTX 460 would randomly lose half its throughput? And after a restart it would get it back. Now in Linux it's only getting half the throughput rate, like in Windows, except it starts at half rather than randomly dropping to a half. To be fair, I'm using fairly old drivers, but updating those is what caused me to lose my GUI in the first place a couple of months ago. Will try again though, and hopefully it won't fail this time. Edit2: Also does anybody know how to monitor GPU load in Linux? Edit3: I can confirm that the nVidia .run file to update drivers does not work for me. I have to run Code:
sudo apt-get install --reinstall nvidia-current Last fiddled with by Dubslow on 2011-12-05 at 00:19 |
|
|
|
|
|
#1372 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
And now it's running at 80% throughput, not 50%. That's the first time it's ever done that and I have no idea why, and I can't think of anything that's different.
Now it's down to 50% again?!?!? All I did was stop and restart MPrime?!?!? Wait a minute. MPrime affinities seems to play a role in it, despite the fact that the affinities shouldn't play a role... this is so confusing. See here. I'll have to come back to this tomorrow. Last fiddled with by Dubslow on 2011-12-05 at 07:35 |
|
|
|
|
|
#1373 | |
|
"Oliver"
Mar 2005
Germany
100010110112 Posts |
Quote:
Code:
version 0.18-pre7 (2011-10-18) ... - mfaktc no longer refuses to load a checkpoint file from a Linux version with a Windows version of mfaktc and vice versa. Of course mfaktc still refuses to load checkpoint files from other versions than itself (identical version string!) Oliver |
|
|
|
|
|
|
#1374 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
7×13×47 Posts |
I've thrown together a rough chart of CUDA GPU performance comparison:
http://mersenne-aries.sili.net/mfaktc.php It is not yet properly calibrated. It currently translates GFLOPS (from Wikipedia) into GHz-days/day based on timing of a single test on my 8800GT. It does not (yet) take into account performance differences of different mfaktc cores etc. But I need some more data to fine-tune it: Please send me some timing info for a single instance of mfaktc, including assignment (exponent, from/to bits), GPU model, time to complete the assignment, and GPU usage for that single instance. |
|
|
|
|
|
#1375 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2·3·1,693 Posts |
I'm setting up such a run on a GTX 460. I'll launch it as soon as the current assignment finishes in 7 minutes.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1724 | 2023-06-04 23:31 |
| gr-mfaktc: a CUDA program for generalized repunits prefactoring | MrRepunit | GPU Computing | 42 | 2022-12-18 05:59 |
| The P-1 factoring CUDA program | firejuggler | GPU Computing | 753 | 2020-12-12 18:07 |
| mfaktc 0.21 - CUDA runtime wrong | keisentraut | Software | 2 | 2020-08-18 07:03 |
| World's second-dumbest CUDA program | fivemack | Programming | 112 | 2015-02-12 22:51 |