If the -script command-line option is given, the kernel evaluates commands from the in a batch, or script, mode and then terminates. version - Display the product version and exit. machineinfo - Display $MachineName and $MachineID, separated by tabs, then exit. machineid - Display the value of $MachineID and exit. rawterm - Assume a dumb terminal and disable cursor-key navigation. noprompt - Do not print banner or In and Out prompts or ask for user input due to startup errors (useful for batch scripts). script file - Execute the commands from the in script mode. noinit - Do not read initialization files from standard locations. initfile file - Execute the commands in the initialization. lmverbose - Print information about interactions with MathLM. licenseinfo - Display the value of $LicenseID as well as related information and exit. licenseid - Display the value of $LicenseID and exit. activate actkey - Perform or verify activation and exit. Perform offline activation with an activation key and password: $ wolfram -activate "1234-5678-ABCDEF 1234-567-890:8,8,16,16::20190130" Creating password file entry in:Ĭ:\Users\user\AppData\Roaming\Mathematica\Licensing\mathpass Additional Examples Verify the license, maximum number of processes and available processes (tab-separated): $ wolfram -licenseinfo L1234-5678 8 8 Perform automatic activation using an activation key: $ wolfram -activate 1234-5678-ABCDEFĪutomatic Web Activation received a password.Ĭ:\Users\user\AppData\Roaming\Mathematica\Licensing\mathpass Use custom_init.wl as the only initialization file: $ wolfram -noinit -initfile custom_init.wl Activation Use the -run option to set a variable on startup: $ wolfram -run 'AppendTo' Wolfram Language 13.3.0 Engine for Linux x86 (64-bit)Ĭopyright 1988-2023 Wolfram Research, Inc.īy adding an explicit Exit, the -run option can be used to evaluate an expression and exit: $ wolfram -run 'Print Exit' Wolfram Language 13.3.0 Engine for Linux (64-bit)Īppend custom_init.wl to the standard list of initialization files: $ wolfram -initfile custom_init.wlĪvoid loading any initialization files: $ wolfram -noinit Print["Results: ", Initialization on the Command Line
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |