User Tools

Site Tools


getting_started_with_capri

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
getting_started_with_capri [2021/05/18 10:45] – [Download the current release] Adding links to STAR 2.7 torbjornjgetting_started_with_capri [2021/05/24 09:54] – [Installation instructions for the model without database] Revising installation instructions for clarity torbjornj
Line 34: Line 34:
 Regarding Java: There are some licensing implications when using Oracle's platform. Public updates released after January 2019 will not be available for business, commercial, or production use without a commercial license. Since then the GUI for java can also be executed using a open and free installation of [[https://jdk.java.net/15/|OpenJDK]]. Regarding Java: There are some licensing implications when using Oracle's platform. Public updates released after January 2019 will not be available for business, commercial, or production use without a commercial license. Since then the GUI for java can also be executed using a open and free installation of [[https://jdk.java.net/15/|OpenJDK]].
  
-===== Installation instructions for the model without database =====+===== Installing CAPRI Stable Release 2 and earlier =====
  
-Using CAPRI requires extensive knowledge of how the system works. Please look out for CAPRI training courses on the page of upcoming events. The following bare-bone instructions may nevertheless be sufficient to get the system up and technically running.+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 "STAR_2.7.zip" and "results_2.7.zip" respectively, and with similar naming pattern for other releases. Follow the steps below in order to install CAPRI on your system. Using CAPRI requires extensive knowledge of how the system works. Please look out for CAPRI training courses on the page of upcoming events. The following bare-bone instructions may nevertheless be sufficient to get the system up and technically running.
  
-  - 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). + 
-  - Extract the files of the compressed archive (or checkout from SVN) into the folder you just created+==== 1. Ensure that you have Java and GAMS installed on your computer ==== 
-  - Go to the subfolder GUI, double-click “start_capri.bat”. That should open the graphical user interface (GUI). If not, something is wrong with your Java-installation.+See [[system_requirements|System requirements]]. 
 + 
 + 
 +==== 2. Download the two archives ==== 
 +Click the links to "Code" and "Database" in the table of available CAPRI versions. We recommend using the latest available release. 
 + 
 +==== 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. "STAR_2.7.zip" into the CAPRI system folder. 
 +  - Extract the files of the compressed archive with data, e.g. "results_2.7.zip" into the subfolder "output\results" in the CAPRI system folder. 
 + 
 +==== 4. Adjust the settings to your computer ==== 
 + 
 +  - Go to the subfolder "GUI", double-click “start_capri.bat”. That should open the graphical user interface (GUI). If not, something is wrong with your Java-installation.
   - In the menu **settings**, choose **Edit settings.**   - In the menu **settings**, choose **Edit settings.**
     * In the first tab: enter your name     * In the first tab: enter your name
Line 48: Line 62:
     * In the final tab: do nothing, or, if you have a programming text editor, enter the path to that editor in the proper field.     * 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.   - Click “Save in caprinew.ini” and accept the file name suggested for your settings.
-  - Initialize the result directory structure by executing the task “Create result and restart directory structure” in the workstep “Installation” by marking those radio-buttons in the GUI and clicking “Start GAMS”. 
   - Close the GUI, then start it again (using start_capri.bat), to make it process all your settings.   - Close the GUI, then start it again (using start_capri.bat), to make it process all your settings.
 +
  
 ===== Build databases and baselines ===== ===== Build databases and baselines =====
Line 77: Line 91:
  
 ===== Release notes (cumulative) ===== ===== Release notes (cumulative) =====
 +
 +=== STAR 2.7 ===
 +
 +Most importantly, the dairy market should now be linked with the supply models, and the new feed version is used by default. Other minor issues below:
 +
 +  * Priors missing in GHG emission trend estimation now exist (again?)
 +  * The fallback structure for missing nutrient balance data in West Balkan and Turkey taken over from Trunk.
 +  * Import surge of cheese in market baseline prevented by adjusted bounds widening. This problem does not seem to exist in trunk.
 +  * FAOSTAT bug fixed (exportGUI task failed)
  
 === STAR 2.6 === === STAR 2.6 ===
getting_started_with_capri.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki