summaryrefslogtreecommitdiff
path: root/src/main/ProcessCommandLine.c
Commit message (Collapse)AuthorAge
* Use ANSI C prototype for CCTKi_ExitAfterParamCheckeschnett2012-10-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4895 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTKi prefix for ExitIfParamCheckOnlyeschnett2012-10-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4894 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the -P short version of --exit-after-param-check work.diener2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4887 17b73243-c579-4c4c-a9d2-2d5706c11dac
* List --exit-after-param-check in help texteschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4885 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Committing change for ticket #176sbrandt2012-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4851 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new command line option '--logdir <dir>' which sets the output directorytradke2006-06-29
| | | | | | | | | | for logfiles created by the \texttt{-r} option. If the directory doesn't exist yet, it will be created by Cactus. This applies patch http://www.cactuscode.org/old/pipermail/developers/2006-June/004901.html. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4337 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a new command line option to select the buffering mode of stdout.schnetter2006-06-23
| | | | | | | | | | | | | The option is "-b <mode>", or "-buffering=<mode>", where mode can be "no", "line", or "full". This option uses the ANSI C function call setvbuf() to select the corresponding buffering mode. The buffering mode can be selected only once in a portable programme, and it has to be selected before the first output occurs. This means that it has to be implemented in the flesh. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4329 17b73243-c579-4c4c-a9d2-2d5706c11dac
* apply patchjthorn2006-06-01
| | | | | | | | | | | | http://www.cactuscode.org/old/pipermail/patches/2006-May/000180.html This documents the 5 (!) separate places in the code which must be changed to add a new command-line option. See also the discussion in http://www.cactuscode.org/mailman/private/cactusmaint/2006-May/021429.html http://www.cactuscode.org/mailman/private/cactusmaint/2006-May/021430.html git-svn-id: http://svn.cactuscode.org/flesh/trunk@4310 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Applying Erik's patch from 6.10.05swhite2006-05-11
| | | | | | | New command line option to stop after printing the schedule git-svn-id: http://svn.cactuscode.org/flesh/trunk@4293 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce a parameter -L to select the logging level.schnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3974 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for redirection of standard error.rideout2003-05-15
| | | | | | | | | Use -r[o|e|oe|eo] or -redirect=[o|e|oe|eo]. Document verbose option on -describe-all-parameters. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3218 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Commented out the -x <nprocs> option until it is added.allen2002-08-21
| | | | | | | Closes Cactus/900 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2982 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Function prototypesallen2001-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2067 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding command line argument for level of parameter checkingallen2001-02-24
| | | | | | | -parameter-level=strict|normal|relaxed git-svn-id: http://svn.cactuscode.org/flesh/trunk@2045 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a trailing '\0' character to the parameter filename.tradke2001-02-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2016 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix to CCTK_ParameterFilename, and freeing some memory I'd missed whenallen2001-02-11
| | | | | | | the $PARAMETER_FILE directive is used. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2015 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things to reduce the number of compile time warnings.goodale2000-12-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1956 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added -i as an option. This says to ignore the next argument. Note thatgoodale2000-12-12
| | | | | | | | | | | | | | | | | | you can't ignore non-arguments, so still need the parameter file name to be before any other non-arguments. E.g. on the NCSA NT cluster you should do ./cactus_foo foobar.par -i -np 20 -i -key hjwhghfgg to run in parallel. This is basically to work around buggy MPI implementations which don't remove their arguments from the command line. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1941 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, style-guidelines, ...goodale2000-10-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GRdoc + coding guideline stuff.goodale2000-10-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1851 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_ParameterFilename returns STDIN if the parameters are read from ↵allen2000-10-03
| | | | | | | | | | standard input. I wanted this to be <STDIN> but then have problems displaying in on a web page since it looks like a HTML command. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1849 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_ParameterFilenameallen2000-09-19
| | | | | | | | | At the moment this will return the <dir>/<filename> , the arguments of this call will change in the next couple of days to return the directory and filename as separate arguments git-svn-id: http://svn.cactuscode.org/flesh/trunk@1827 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updating GNU files to glibc 2.1.2.goodale2000-02-15
| | | | | | | | | | | | | | | Tidying up how they are included - now people should include cctk_GNU.h. This will allow us later to check what functions are available and maybe not compile the GNU stuff. NOTE: If you edit the GNU stuff please put a wapping great comment /* CCTK: Changed by <> on <> */ by the change and a note in the README. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1380 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing various things pointed to by compiling with -Wall.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some bugfixes and renaming of parameter stuff.goodale1999-10-18
| | | | | | | | | | | | Some more stuff for ActiveThorns. Now the -O and -o commandline options do something sensible. You can also pass an optional parameter 'v' to -O which makes it very verbose. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1054 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mainly changes to get redirection of stdout to work.goodale1999-07-23
| | | | | | | | | | | | | | | Now the defaults for overloaded functions are setup before anything else, and the the Overloading functions count the number of times they are called and don't allow the thing to be overloaded more than twice - once for the default, and once for people actually wanting to overload it. Redirection now works - output is put into files like CCTK_Proc<x> where x is the process number. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@773 17b73243-c579-4c4c-a9d2-2d5706c11dac
* -r should redirect stdout, not stderr.goodale1999-07-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@676 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ActiveThorns has been replaced by ThornListallen1999-07-04
| | | | | | | | | | | | | | | | This is because we want to specify in the parameter file which thorns are actually "active", and not just compiled. The command line arguements have been changed to -T and -t instead of -A and -a git-svn-id: http://svn.cactuscode.org/flesh/trunk@640 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various chnages suggested by compilation warnings etc.goodale1999-06-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@571 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added all the getopt stuff for the command line arguments.goodale1999-02-17
| | | | | | | | | Each argument is processed by a seperate function. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@295 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Id -> Headerallen1999-02-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@280 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put in lots of calls to the rfr.goodale1999-02-01
| | | | | | | | | | Added Groups.c which should contain the master functions for dealing with Groups. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@162 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now uses getopts to parse the command line. The only option currently isgoodale1999-01-29
| | | | | | | | | 'help' , though 8-) Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@140 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various bits of tidying up etc.goodale1999-01-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@57 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now reads in parameters - doesn't do anything with them, 'though !goodale1999-01-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@47 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Basic structure now implemented. Still needs all the code behind the skeleton.goodale1998-09-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@7 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initial importcactus_cvs1998-09-25
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2 17b73243-c579-4c4c-a9d2-2d5706c11dac