|
This page is reserved for released Beta
versions of Kintecus. CLICK HERE FOR THE PARALLEL VERSION OF KINTECUS This Beta version of parallel Kintecus should only be run
from the command line. DO NOT RUN
THIS FROM THE KINTECUS-EXCEL INTERFACE!! The reason is that the
macros in the interface DO NOT set the OMP_NUM_THREADS env variable which causes
the parallel version to try and use ALL CPUS on your PC. This will result in
code running slower than the serial
version! You must run this version from the command line (see
below). Running Kintecus from the Command line (page 50 in the
manual): Click the Windows Start Button in the button, left-hand corner of the screen, and type "command" and press enter. A console window should pop up on the screen. Alternatively, hold the Windows key (usually, the key is at the bottom left of the keyboard, in between the CTRL and ALT keys) and tap the "x" key. A menu will pop up, select "Command" or "run" (and type “cmd” or “command”) or select "Windows Powershell", a new console should pop up. 1) Once you are in the console window (or Powershell window), type "cd C:\Kintecus" or where ever you have Kintecus installed. 2) In the Excel Window, click on "CONTROL" tab, click "RUN", once Kintecus starts, stop it with "ctrl-c" (hold ctrl key and tap the "c" key) or ctrl-break (hold ctrl key and tap the Pause/Break key). The reason for this step is that once you press the RUN button, the Kintecus-Excel VBA macros will output all your worksheets as input files for Kintecus. 3) In the same "CONTROL" worksheet, click on the contents of the "Kintecus Switches" cell (A12) and select COPY (right-click, select Copy)
4) Click in the
console/command line window, in command first type: 5) Hold down the CTRL key and type "V" (for paste) and press ENTER. This should paste your Kintecus switches from cell A12 on the CONTROL worksheet into the command line. 6) Kintecus is now running outside of Excel and in PARALLEL using all your inputs from the Excel Worksheet. Once Kintecus is finished, click the “Plot Results” button on the CONTROL worksheet. Also, note that you can copy the entire Kintecus folder into a new directory (C:\Kintecus2\), change the “Kintecus Path” located on the CONTROL worksheet, then change one or two parameters in the Kintecus-Excel worksheet and perform the same steps above. You will be running two different Kintecus simulations/optimizations simultaneously. Repeat as much as necessary assuming you have enough cores on your cpu.
|
|