-
Notifications
You must be signed in to change notification settings - Fork 175
Command Line Options
A list of GAP's command line options:
-
-USet compiler options (parsed but ignored) -
-iSet GAP base file (instead oflib/init.g) (GAP never loads if used) -
-Nunused, for backward compatibility only -
-Xenable/disable CRC checking for compiled modules (parsed but ignored) -
-p enable/disable package output mode -- leads to unreadable corrupted output.
-
-fforce line editing -
-nprevent line editing -
-Bcurrent architecture -
-E,--readlinedisable/enable use of readline library (if possible)
- -C : processCompilerArgs
-
-x,--widthset line width -
-y,--linesset number of lines -
-D enable/disable debugging the loading of files (prints every file GAP reads)
-
-M disable/enable loading of compiled modules (disables loading compiled gap library files)
-
-edisable/enable quitting on -D -
-g, --gasinfo show GASMAN messages (full/all/no garbage collections)
-
-SThreadUI -
-ZThreadUI -
-Pnumber of processors -
-Gnumber of GC Threads
Do our memory-related flags need simplifying?
- -m, --minworkspace set the initial workspace size
- -o, --maxworkspace set hint for maximal workspace size (GAP may allocate more)
- -K, --limitworkspace set maximal workspace size (GAP never allocates more)
- -s <mem set the initially mapped virtual memory
- -a set amount to pre-malloc-ate postfix 'k' = 1024, 'm' = 10241024, 'g' = 102410241024
Should we add --addroot, to complement -l/--roots (instead of requiring using ;)
-
-h, --help print this help and exit
-
-b, --banner disable/enable the banner
-
-q, --quiet enable/disable quiet mode
-
-r disable/enable user GAP root dir GAPInfo.UserGapRoot
-
-A disable/enable autoloading of suggested GAP packages
-
-l, --roots set the GAP root paths Directories are separated using ';'. Putting ';' on the start/end of list appends directories to the end/start of existing list of root paths
-
-O disable/enable loading of obsolete files
-
-T disable/enable break loop
-
--quitonbreak quit GAP with non-zero return value instead of entering break loop
-
-L restore a saved workspace
-
-R prevent restoring of workspace (ignoring -L)
-
--prof Run ProfileLineByLine() on GAP start
-
--cover Run CoverageLineByLine() on GAP start