getting_started_with_capri
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started_with_capri [2021/05/24 09:59] – [Build databases and baselines] Revising instructions for building the database torbjornj | getting_started_with_capri [2022/07/07 13:56] – [1. Ensure that you have Java and GAMS installed on your computer] gocht | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Getting started with CAPRI====== | ======Getting started with CAPRI====== | ||
+ | |||
+ | ===== Installing CAPRI Stable Release 2 and earlier ===== | ||
+ | |||
+ | CAPRI Stable Release (STAR) 2 and earlier releases are published with a full set of data, i.e. including all the intermediate data required to build the complete database and produce a calibrated baseline. The model with raw data and the consolidated model database are shipped in two compressed archives. For the latest release, STAR 2.7, they are called " | ||
+ | |||
+ | |||
+ | ==== 1. Ensure that you have Java and GAMS installed on your computer (only required for version until 2.7) ==== | ||
+ | See [[getting_started_with_capri# | ||
+ | Note: CAPRI version star 2.8 includes a GAMS version and a java Version in the package (). | ||
+ | |||
+ | |||
+ | ==== 2. Download the two archives ==== | ||
+ | Click the links to " | ||
+ | |||
+ | ==== 3. Extract the files to a local hard drive ==== | ||
+ | |||
+ | - Create an installation folder to hold **model source files** on your local hard drive such that the path does not contain spaces. Thus, it will not work to install the model in “My Documents” (path containing space) or on a network drive (the access will be too slow). We call this the "CAPRI system folder" | ||
+ | - Extract the files of the compressed archive with code, e.g. '' | ||
+ | - Extract the files of the compressed archive with data, e.g. '' | ||
+ | |||
+ | The resulting directory structure in your CAPRI system folder should look like this afterwards: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The directory structure inside the folder '' | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | |||
+ | ==== 4. Adjust the settings to your computer ==== | ||
+ | |||
+ | - Go to the subfolder " | ||
+ | - In the menu **settings**, | ||
+ | * In the first tab: enter your name | ||
+ | * In the second tab: verify that the paths to result and restart folders are set to **../ | ||
+ | * In the third tab: enter the complete path to the GAMS executable. Probably it is something like **c:/ | ||
+ | * In the fourth tab: do nothing. | ||
+ | * In the final tab: do nothing, or, if you have a programming text editor, enter the path to that editor in the proper field. | ||
+ | - Click “Save in caprinew.ini” and accept the file name suggested for your settings. | ||
+ | - Close the GUI, then start it again (using start_capri.bat), | ||
+ | |||
===== Download the current release ===== | ===== Download the current release ===== | ||
Line 30: | Line 71: | ||
===== System requirements ===== | ===== System requirements ===== | ||
- | CAPRI requires that you have a windows computer with Java and GAMS ([[http:// | + | CAPRI requires that you have a windows computer with Java and GAMS ([[http:// |
Regarding Java: There are some licensing implications when using Oracle' | Regarding Java: There are some licensing implications when using Oracle' | ||
- | ===== Installing CAPRI Stable Release 2 and earlier ===== | ||
- | |||
- | STAR 2 and earlier releases are published with a full set of data, i.e. including all the intermediate data required to build the complete database and produce a calibrated baseline. The model with raw data and the consolidated model database are shipped in two compressed archives. For STAR 2.7, they are called " | ||
- | |||
- | |||
- | ==== 1. Ensure that you have Java and GAMS installed on your computer ==== | ||
- | See [[system_requirements|System requirements]]. | ||
- | |||
- | |||
- | ==== 2. Download the two archives ==== | ||
- | Click the links to " | ||
- | |||
- | ==== 3. Extract the files to a local hard drive ==== | ||
- | |||
- | - Create an installation folder to hold **model source files** on your local hard drive such that the path does not contain spaces. Thus, it will not work to install the model in “My Documents” (path containing space) or on a network drive (the access will be too slow). We call this the "CAPRI system folder" | ||
- | - Extract the files of the compressed archive with code, e.g. " | ||
- | - Extract the files of the compressed archive with data, e.g. " | ||
- | |||
- | ==== 4. Adjust the settings to your computer ==== | ||
- | |||
- | - Go to the subfolder " | ||
- | - In the menu **settings**, | ||
- | * In the first tab: enter your name | ||
- | * In the second tab: verify that the paths to result and restart folders are set to **../ | ||
- | * In the third tab: enter the complete path to the GAMS executable. Probably it is something like **c:/ | ||
- | * In the fourth tab: do nothing. | ||
- | * In the final tab: do nothing, or, if you have a programming text editor, enter the path to that editor in the proper field. | ||
- | - Click “Save in caprinew.ini” and accept the file name suggested for your settings. | ||
- | - Close the GUI, then start it again (using start_capri.bat), | ||
getting_started_with_capri.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1