Closed lopezmarinn closed 5 years ago
Have you installed in a non-default location? In this case you have to set your PYTHONPATH environment variable to point to the new python library "libkrebs". It looks like installed into the source directory, right? Please follow the instruction in the wiki and let me know whether you succeeded.
Any help?
I build a vessel network with latest "dev_fredrich" branch and the options: python2 submitVesselgeneration.py -t 8 -p default -w 2000 -i 1 -e 1
Then I ran python2 submitBulkTissue.py bulktissue_tutorial vessels-default-typeI-15x19L130-sample00.h5
Your error code indicates a runtime error. Maybe your vesselnetwork was too small or too big? Did the error appear immediately after start or after a while? Sorry, I could not reproduce the issue.
I ran: submitVesselgeneration.py -t 8 -p default -w 2000 -i 1 -e 1 submitBulkTissue.py bulktissue_tutorial vessels-default-typeI-15x19L130-sample00.h5
Unfortunately this is a runtime error and it is hard to tell what's the reason without further information. Is it reproducible? Does it also happen if your build in the Release mode?
It is reproducible, even changing the size of the vesselnetwork. I will try in the release mode
If I compile in the Release mode I get the following error:
vdd@vdd:~/nelia/tumorcode-master$ ../tumorcode/bin/submitVesselgeneration -h
Traceback (most recent call last):
File "../tumorcode/bin/submitVesselgeneration", line 30, in
How did you solve the problem initially? Just by compiling in debug mode? That would be strange.
Try to set you PYTHONPATH to the correct location and use:
python2 .../../what/ever/install/path/of/tumorcode/py/krebsjobs/submitVesselgeneration.py -h
Does it work?
Hi Thierry, Finally I was able to run the programs using -DCMAKE_BUILD_TYPE=Release in the cmake. If I deleted the error appears. Really strange.
When running "submitVesselgeneration -h" I get this error:
Traceback (most recent call last): File "./submitVesselgeneration", line 30, in
import krebsutils
File "/home/vdd/nelia/tumorcode/py/krebsjobs/../krebsutils/init.py", line 50, in
libkrebs = import('libkrebs', globals(), locals())
ImportError: dynamic module does not define init function (initlibkrebs)