MoDeNa-EUProject / MoDeNa

Software Framework for MOdelling of morphology DEvelopment of micro- and NAnostructures (MoDeNa)
17 stars 19 forks source link

Next release #28

Closed sigveka closed 8 years ago

sigveka commented 8 years ago

Prelimenary example of model modules, uses a lot of path mangling.

It is necessary to use PYTHONPATH in order to import models, however I am thinking that I can fix that in setup.py somehow, not quite there yet.

The python path must be set to e.g. MODENA_DIR/examples/models.

henrus commented 8 years ago

Hi Sigve, this is getting close, but I am having trouble running examples/twoTanks.

./workflow gives

lt_dlopen: Could not open library /home/henrus/projects/Modena/MoDeNa-github/examples/twoTanksChained/launcher_2015-09-13-12-34-37-566669/func_8499b54f3a5ca5ae10e8af40c140430f/lib8499b54f3a5ca5ae10e8af40c140430f.so lt_dlopen: file not found

Obviously the path is wrong.

Is twoTank supposed to auto initialise now?

BTW: Pushed a bugfix in setup.py.in.