BETA

Back Home Up Next


Home


 

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).
   This parallel version shows increases in speed of 2x-4x for the fifth integrator (DASPK integrator -INT:5 for 4 cores and OMP_NUM_THREADS=4)  and 30-60% speedup for the first integrator (-INT:1) for 2-3 cores (OMP_NUM_THREADS=2). This speedup is only for thousands of reactions of hundreds of species.  This version does not work for regression.
Make sure you set  “set KMP_AFFINITY=verbose & set KMP_STACKSIZE=500M & set OMP_STACKSIZE=500M & set OMP_NUM_THREADS=4” on the command line !!

 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:
 “set KMP_AFFINITY=verbose & set KMP_STACKSIZE=500M & set OMP_STACKSIZE=500M & set OMP_NUM_THREADS=4” (press return/enter)
 then  "./kintecus". In command console, just type "kintecus" (don’t press enter yet!)

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.


 


 

 

Questions or problems regarding this web site should be directed to jianni10[el atto]gmail.com .
Copyright (c) 2025  James C. Ianni. All rights reserved. Kintecus is a registered trademark.