Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limited Use Cases #2

Open
cmfield opened this issue Oct 15, 2019 · 1 comment
Open

Limited Use Cases #2

cmfield opened this issue Oct 15, 2019 · 1 comment

Comments

@cmfield
Copy link

cmfield commented Oct 15, 2019

I have been trying to get the compiled binary running via MCR, and noticed a few odd behaviours:

  • The program makes temporary files in a folder with a fixed name, so that you can't run two instances in parallel.
  • If you work around this by executing it from elsewhere, it cannot find some of the model files it needs because it expects them to be in the working directory.
  • If you work around that by making soft links to them, the program will still crash if you exit a screen or log out of your SSH session because you submitted it to a queuing system.
  • This is fixed by running an SSH session without X11 forwarding, because MCR will create a hidden GUI if it can and then when you cut off the display it crashes.

Despite all of this, the program is now hanging, randomly, without any feedback. Error-handling from the called python script is non-existent. I have absolutely no idea what it's doing internally and why it stops. Is it necessary to write the wrapper in Matlab at all? Surely python can do all the requisite system calls?

@zhenchengfang
Copy link
Owner

Sorry for the late reply. I think that the reason why the program did not have any feedback is that the input file is too large. You may try to separate the input file into smaller files (less than 100000 sequences in each file).
Thank you for pointing out some odd behavior in our program and we will optimize the code in the updated version. If you want to run two instances in parallel using the current version, you may copy the package and run in different folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants