Edit detail for Release_1.1.6 revision 1 of 1

1
Editor: kelleroc
Time: 2004/10/26 11:14:35 GMT+0
Note:

changed:
-
CARA has now new execution modes. It can be run in batch mode (i.e. without a GUI) and execute scripts and commands. On Unix/Linux even an interactive mode is available, where Lua statements can be entered through a command line. I added these modes to allow to distribute CARA based calculations (e.g. in AutoLink) to a grid of computers. You can now use a master scheduler to distribute CARA executables, repository files and scripts to the grid and let the number crunching be done asynchronously. The master can then poll for the availability of output files and collect the results.

- CARA command line: new options

  - "-batch" for single-shot run without console

  - "-cons" to run CARA in terminal mode.

  - "-lua" + space + command (e.g. cara -lua "print( math.sqrt(42) )" -lua "print( \"this is a message\" )" )

  - "-req" + space + script (like dlg.require(), e.g. cara -req "AutoLink")

  - "-log" + space + filename (to write all console output to the given file. Useful on Windows where nothing is written directly to the console)

  - You can now also write an array of *.lua files on the command line which will be executed in given order.

- CARA/Lua: 

  - New library "log" featuring the functions warning, error, info (corresponding to the ones in library dlg, but also available if CARA is running in batch mode).

  - New library "script" featuring functionss require and execute (corresponding to require and doscript of the dlg library, but also available in batch mode ).

  - New method Repository:save(), file path as optional parameter
  
  - Repository:new(), template path as optional parameter

  - Repository:open(), parameter: file path

  - Repository:touch() to make the repository file dirty (i.e. due for saving)

  - The libraries gui and dlg give a nil value if CARA is running in batch or console mode.

- MonoScope: now can also display overlay spectra (same commands and menus as in PolyScope etc).

- New emergency save feature: in case of total crash, the respository file is saved to <name>.dump if possible.


CARA has now new execution modes. It can be run in batch mode (i.e. without a GUI) and execute scripts and commands. On Unix/Linux even an interactive mode is available, where Lua statements can be entered through a command line. I added these modes to allow to distribute CARA based calculations (e.g. in AutoLink?) to a grid of computers. You can now use a master scheduler to distribute CARA executables, repository files and scripts to the grid and let the number crunching be done asynchronously. The master can then poll for the availability of output files and collect the results.

  • CARA command line: new options
    • "-batch" for single-shot run without console
    • "-cons" to run CARA in terminal mode.
    • "-lua" + space + command (e.g. cara -lua "print( math.sqrt(42) )" -lua "print( \"this is a message\" )" )
    • "-req" + space + script (like dlg.require(), e.g. cara -req "AutoLink?")
    • "-log" + space + filename (to write all console output to the given file. Useful on Windows where nothing is written directly to the console)
    • You can now also write an array of *.lua files on the command line which will be executed in given order.
  • CARA/Lua:
    • New library "log" featuring the functions warning, error, info (corresponding to the ones in library dlg, but also available if CARA is running in batch mode).
    • New library "script" featuring functionss require and execute (corresponding to require and doscript of the dlg library, but also available in batch mode ).
    • New method Repository:save(), file path as optional parameter
    • Repository:new(), template path as optional parameter
    • Repository:open(), parameter: file path
    • Repository:touch() to make the repository file dirty (i.e. due for saving)
    • The libraries gui and dlg give a nil value if CARA is running in batch or console mode.
  • MonoScope: now can also display overlay spectra (same commands and menus as in PolyScope etc).
  • New emergency save feature: in case of total crash, the respository file is saved to .dump if possible.