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 [2020/05/20 12:59] – [Download the current release] davitsgetting_started_with_capri [2021/03/09 18:23] – [System requirements] gocht
Line 27: Line 27:
 ===== System requirements ===== ===== System requirements =====
  
-CAPRI requires that you have a windows computer with Java runtime environment (64-bit) and GAMS ([[http://www.gams.com]], distribution 28.2 or later is recommended) installed. You need a license for the CONOPT solver. Many tasks in CAPRI utilize parallel computing. It is therefore an advantage if you have a machine that can run many threads in parallel.+CAPRI requires that you have a windows computer with Java and GAMS ([[http://www.gams.com]], distribution 28.2 or later is recommended) installed. You need a license for the CONOPT solver. Many tasks in CAPRI utilize parallel computing. It is therefore an advantage if you have a machine that can run many threads in parallel
 + 
 +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 GGUI 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 ===== ===== Installation instructions for the model without database =====
Line 54: Line 56:
  
 If you download the data as a compressed archive, you decompress the archive and place all the files and folders in the result directory of your capri model installation. For example, assume you installed the model in the directory  If you download the data as a compressed archive, you decompress the archive and place all the files and folders in the result directory of your capri model installation. For example, assume you installed the model in the directory 
-''C:\CAPRI_STAR_2.5''. Then you place the files and folders extracted (see below) in the folder +''C:/CAPRI_STAR_2.5''. Then you place the files and folders extracted (see below) in the folder 
-''C:\CAPRI_STAR_2.5\output\results''. The following files and folders should be extracted:+''C:/CAPRI_STAR_2.5/output/results''. The following files and folders should be extracted:
  
-{{::installation_result_files_and_folders.png?400|List of result folders and files extracted and placed in .\output\results}}+{{::installation_result_files_and_folders.png?400|List of result folders and files extracted and placed in ./output/results}}
  
 Those are created by tasks executable from the GUI. So, now you need to build all databases of CAPRI. This takes a long time. Depending on the hardware you use, it can take up to several days. In order to keep track of all the various settings required for completing all the steps, the release contains a “batch execution file” that instructs the GUI how to carry out a sequence of tasks without intervention of the user. Here is what you need to do: Those are created by tasks executable from the GUI. So, now you need to build all databases of CAPRI. This takes a long time. Depending on the hardware you use, it can take up to several days. In order to keep track of all the various settings required for completing all the steps, the release contains a “batch execution file” that instructs the GUI how to carry out a sequence of tasks without intervention of the user. Here is what you need to do:
Line 121: Line 123:
   * Changing the order of work steps and tasks in the GUI to reflect the order in which the steps can be carried out (e.g. FAOSTAT first)   * Changing the order of work steps and tasks in the GUI to reflect the order in which the steps can be carried out (e.g. FAOSTAT first)
   * An issue with price experiments in Threads-mode was resolved   * An issue with price experiments in Threads-mode was resolved
-  * Start at an infrastructure to report the results of the fertilizer allocation to DATAOUT (reports\fert_dist_results.gms)+  * Start at an infrastructure to report the results of the fertilizer allocation to DATAOUT (reports/fert_dist_results.gms)
   * Relaxing the winter cover requirement in one Finnish region to avoid infeasibility in baselines.   * Relaxing the winter cover requirement in one Finnish region to avoid infeasibility in baselines.
   * The income computations for EAA had inconsistent prices for FODDER, so that the regional farms had costs <> revenues for fodder, which should not be possible.   * The income computations for EAA had inconsistent prices for FODDER, so that the regional farms had costs <> revenues for fodder, which should not be possible.
Line 161: Line 163:
 A maintenance release addressing two minor problems encountered in STAR 1.1. A maintenance release addressing two minor problems encountered in STAR 1.1.
  
-  *A bug fix in the rural development policy logic (gams\policy\rd_logic.gms). The bug may have caused problems when building a regionalized database if a particular folder (results_out\capmod) was missing.+  *A bug fix in the rural development policy logic (gams/policy/rd_logic.gms). The bug may have caused problems when building a regionalized database if a particular folder (results_out/capmod) was missing.
   *A bug in the batch execution file "build_database_and_baseline.txt" that prevented the farm type databases from being built.   *A bug in the batch execution file "build_database_and_baseline.txt" that prevented the farm type databases from being built.
  
Line 169: Line 171:
   *The scaling of Japanese prices was wrong, leading to biased results in the market model   *The scaling of Japanese prices was wrong, leading to biased results in the market model
   *Several issues relating to the implementation of the second pillar payments, causing them to be missing or wrong in CAPMOD (simulation) and also CAPREG (regional database)   *Several issues relating to the implementation of the second pillar payments, causing them to be missing or wrong in CAPMOD (simulation) and also CAPREG (regional database)
-  *Renaming all the standard scenario files in the folder pol_input\CAP_AFTER_2014, so that the (CAPMOD) result file names become shorter and more instructive+  *Renaming all the standard scenario files in the folder pol_input/CAP_AFTER_2014, so that the (CAPMOD) result file names become shorter and more instructive
   *A randomly appearing issue with farm type trends. GAMS had problems deleting grid computing handles under full system load (parallel computing)   *A randomly appearing issue with farm type trends. GAMS had problems deleting grid computing handles under full system load (parallel computing)
   *A bug in the user interface that caused the batch execution (e.g. build_database_and_baseline.txt) to launch Turkey (only!) in the wrong way   *A bug in the user interface that caused the batch execution (e.g. build_database_and_baseline.txt) to launch Turkey (only!) in the wrong way
Line 195: Line 197:
 already in various projects, but the modifications need to be consolidated and integrated into a maintenance release. Similar improvements have accumulated already in various projects, but the modifications need to be consolidated and integrated into a maintenance release. Similar improvements have accumulated
 in the areas of market model tariff data and greenhouse gas emissions, also foreseen to be integrated in a future maintenance release, after thorough testing. in the areas of market model tariff data and greenhouse gas emissions, also foreseen to be integrated in a future maintenance release, after thorough testing.
 +
 +===== Trunk result files for download by revision =====
 +
 +^ Result folder zip                    ^trunk revision   ^ Date        ^ batch file ^ 
 +|{{:beta:res_8300.zip|Download link}}  |8300              | 24.10.2020 |[[https://svn1.agp.uni-bonn.de/!/#capri/view/head/trunk|External Link]]|
 +|{{:beta:res_8872.zip|Download link}}  |8872              | 04.10.2020 |[[https://svn1.agp.uni-bonn.de/!/#capri/view/head/trunk|External Link]]|
 +
 +
  
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