You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daniel Hosse edited this page Aug 2, 2017
·
6 revisions
Test run: Connection to databases
setup local db cluster of databases surveyed_mobility, shared_mobility, geodata, population
access playground database cluster via port forwarding:
ssh -L 9999:localhost:5432 playground
and set the psql in the main class via
Controller.configuration().psql().setPsqlPort(9999);
Create matsim user as: Connect to a database e.g. psql -d postgres and ALTER USER matsim PASSWORD 'matsim'.
Test run: Eclipse
Select Run > Run Configurations in menu bar. Then, either create a new configuration for Java application or select an already existing one.
execute main method as java application with the following test parameters as program arguments:
15001 2017 /home/bbock/workspace/scenarios/15001_2017/ development
VM arguments:
-mx4g (to adjust the computing power)
Test run: Console
java -mx4g -cp com.innoz.toolbox.run.Main 15001 2017 development
MATSim-updates:
good practice is to ste up new branch with new MATSim version, test and debug and then merge back to master