Warning: session_write_close() [function.session-write-close]: write failed: No space left on device (28) in /home/regmas/public_html/doc/doku.php on line 74

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in /home/regmas/public_html/doc/doku.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/regmas/public_html/doc/doku.php:74) in /home/regmas/public_html/doc/inc/actions.php on line 154
program:download_install_source_code [regmas]
 

Download & Install (source code)

System requirements

What do I need ?

(program libraries)

  • a pc with Linux or Windows (porting to Mac should be easy)
  • a C++ compiler and compiler tools (only tested with GCC)
  • GLPK (v. >= 4.19), a GPL linear programming solver1)2)
  • Qt, a multiplatform C++ GUI framework 3)
  • OpenOffice, an Office suite (optional, to use the shipped example data and convert them in XML)


(model data, to apply RegMAS over your own region)

  • single farm FADN records
  • aggregated regional statistics (usually from census)
  • technical coefficients
  • Corine Land Cover maps

Obtaining regmas (download)

To download the source code:

To download third party tools:

  • Download the missing components as specified in the “System requirements” section

Install

To compile and run RegMAS (Linux):
Type:

 cd regmas
 qmake (or qmake-qt4 on some Linux distros)
 make
 ./regmas 

To compile and run RegMAS (Windows):
Open the Qt Command Prompt from the Start Menu→ Programs → Qt
Browse to the directory you downloaded RegMAS
Type:

 qmake
 make release
 src\release\regmas.exe
1) If Glpk is compiled with GNU MP (GNU multiple precision arithmetic library) enabled the model run much faster
2) A precompiled, GMP enabled, version of glpk for windows is already provided in the CVS
3) Windows users: downloading version qt-win-opensource-4.2.x-mingw.exe is enough. The installation asks you if you already have a MinGW C++ compiler (e.g. those shipped with Dev-C++), otherwise it is downloaded automatically.
Linux users: Please check that you have the libqt4.x.x-dev package installed.
 
program/download_install_source_code.txt · Last modified: 2008/08/01 17:46 by sylvaticus
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki