diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-08-21 16:17:16 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-08-21 16:17:16 +0000 |
commit | fcb8cd4d5076c1c5109fa12505367b5edce9f378 (patch) | |
tree | f247bf886ddd4c6139056ea8113c57e4eb82b79d | |
parent | 56b76322d88dafe77d63d960dd0a4129dff2c1b0 (diff) |
Commented out the -x <nprocs> option until it is added.
Closes Cactus/900
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2982 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | doc/UsersGuide/RunningCactus.tex | 12 | ||||
-rw-r--r-- | src/main/CommandLine.c | 6 | ||||
-rw-r--r-- | src/main/ProcessCommandLine.c | 2 |
3 files changed, 11 insertions, 9 deletions
diff --git a/doc/UsersGuide/RunningCactus.tex b/doc/UsersGuide/RunningCactus.tex index 1f98316c..17438f56 100644 --- a/doc/UsersGuide/RunningCactus.tex +++ b/doc/UsersGuide/RunningCactus.tex @@ -1018,8 +1018,8 @@ Short Version & Long Version \\ \hline -v & -version \\ \hline - -x [<nprocs>] & -test-parameters [<nprocs>] \\ -\hline +% -x [<nprocs>] & -test-parameters [<nprocs>] \\ +%\hline -W <level> & -warning-level <level> \\ \hline -E <level> & -error-level <level> \\ @@ -1050,10 +1050,10 @@ Checks if a given thorn was compiled in - takes one argument. Produces a help message. \item [{\tt -v} or {\tt -version}] Produces version information of the code. -\item [{\tt -x <nprocs>} or {\tt -test-parameters <nprocs>}] -Runs the code far enough to check the consistency of the parameters. If -given a numeric argument it will attempt to simulate being on that number -of processors. [To be implemented.] +%\item [{\tt -x <nprocs>} or {\tt -test-parameters <nprocs>}] +%Runs the code far enough to check the consistency of the parameters. If +%given a numeric argument it will attempt to simulate being on that number +%of processors. [To be implemented.] \item [{\tt -W <level>} or {\tt -waring-level <level>}] Sets the warning level of the code. All warning messages are given a level --- the lower the level the greater the severity. This parameter controls the diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c index 3bcbfe5c..e701b57a 100644 --- a/src/main/CommandLine.c +++ b/src/main/CommandLine.c @@ -61,7 +61,7 @@ int cctki_paramcheck_nprocs; ********************* Defines ********************** ********************************************************************/ #define CACTUS_COMMANDLINE_OPTIONS \ - "[-h] [-O] [-o paramname] [-x [nprocs]] [-W n] [-E n] [-r] [-T] " \ + "[-h] [-O] [-o paramname] [-W n] [-E n] [-r] [-T] " \ "[-t name] [-parameter-level <level>] [-v] <parameter_file_name>" @@ -466,7 +466,6 @@ void CCTKi_CommandLineHelp (void) "-h, -help : gets this help.\n" "-O, -describe-all-parameters : describes all the parameters.\n" "-o, -describe-parameter <paramname> : describe the given parameter.\n" - "-x, -test-parameters [nprocs] : does a quick test of the parameter file\n" " pretending to be on nprocs processors, \n" " or 1 if not given.\n" "-W, -warning-level <n> : Sets the warning level to n.\n" @@ -479,6 +478,9 @@ void CCTKi_CommandLineHelp (void) "-v, -version : Prints the version.\n" "-i, -ignore-next : Ignores the next argument.\n"; + /* test-parameter option to be added back when implemented + "-x, -test-parameters [nprocs] : does a quick test of the parameter file\n" + */ if (CCTK_MyProc (NULL) == 0) { diff --git a/src/main/ProcessCommandLine.c b/src/main/ProcessCommandLine.c index 973d5cab..c0b6aab3 100644 --- a/src/main/ProcessCommandLine.c +++ b/src/main/ProcessCommandLine.c @@ -116,7 +116,7 @@ int CCTKi_ProcessCommandLine(int *inargc, char ***inargv, tFleshConfig *ConfigDa {"help", no_argument, NULL, 'h'}, {"describe-all-parameters", optional_argument, NULL, 'O'}, {"describe-parameter", required_argument, NULL, 'o'}, - {"test-parameters", optional_argument, NULL, 'x'}, + /*{"test-parameters", optional_argument, NULL, 'x'},*/ {"warning-level", required_argument, NULL, 'W'}, {"error-level", required_argument, NULL, 'E'}, {"parameter-level", required_argument, NULL, 256}, |