-
Notifications
You must be signed in to change notification settings - Fork 369
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
GUI tries to import .mmap files based off path during pipeline and not at data load. #590
Comments
The problem is that the path to the memory mapped file is saved in the
In all cases, you will need to transfer the memory mapped from your HPC back to your local machine or re-create them. We'll need to think a bit about what's the best approach here. |
So in a best case scenario I would just use the GUI with an interactive session on the HPC, but I get an oasis error. While oasis is available on the login node and allows me to install normally, I think it isn't on the compute nodes, so it gives an error. I thought this was because of an installation error, but now I see that oasis is not a part of the conda environment. Since I think only the libraries explicitly in the caiman environment get loaded, there is no oasis on the compute nodes. Which prevents me from opening the GUI. |
Do you have a shared filesystem between the compute nodes? If so, and if you're using conda, the oasis bits should just work. |
We do have a shared file system, I'm just a bit confused as to how CaImAn can import oasis without it being explicitly installed in the environment. Unless it uses the local C compiler which may not be loaded on the compute nodes. |
This is the output I'm currently getting on HPC https://pastebin.com/Y43UND7f |
The problem is that "cd". If you did a normal On your other question, Oasis is a binary component that's built during pip install that's used by caiman. It lives in the conda lib dir. It's not a separate systems component, and so long as your shared systems have access to the conda dir it was installed into, it should work. (again, provided you're not running things inside your sourcedir) |
So during installation I cd into CaImAn to use |
no - the pip install must be done inside the caiman dir. It's just that once you've done that you no longer should do anything inside the sourcedir. |
Alright, some progress, the GUI pops up but now I'm hitting issues with loading in the .mmap, which is great, because that brings us back to the original issue. https://pastebin.com/YnU4uzE7 Also I have to load git as a module for directory searches? |
I wasn't excepting this to cause an error since it is inside a try/except clause. Feel free to comment it out; it just stores the head of the last commit as a means of knowing exactly what version of the code you're using. |
The reason this fails is that it doesn't catch the particular exception being thrown. |
@tvajtay see my response above. we'll introduce a fix. |
should be ok now. |
Wow, I am very impressed so far with the GUI btw. I think the .mmap issue is not that concerning now that it works on the HPC where all the data is anyway. Having the ability to specify a .mmap file with an additional dialog will probably be useful to people if they don't have interactive desktops? |
Yes, we'll think about this. Glad it worked out! |
Yes, I can test later today.
…On Wed, Aug 7, 2019, 10:13 AM eftychios pnevmatikakis < ***@***.***> wrote:
@tvajtay <https://github.com/tvajtay> d82bf7a
<d82bf7a>
enables the option to select the memory mapped file in case it is not found
in the path. Can you test that it works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#590?email_source=notifications&email_token=AECSXT4KRYRC3ARBI3ZB3CDQDLJ77A5CNFSM4IFZXQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YRITY#issuecomment-519115855>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AECSXT7EEE6RZRDGPRCXMLTQDLJ77ANCNFSM4IFZXQAQ>
.
|
@tvajtay did you get a chance to try this? |
@epnev Just did, works with current version on some older data I have analyzed. Analyzed on HPC, downloaded .h5 and .mmap, was able to open for analysis on local. |
Great, thanks! |
For better support, please use the template below to submit your issue. When your issue gets resolved please remember to close it.
Sometimes errors while running CNMF occur during parallel processing which prevents the log to provide a meaningful error message. Please reproduce your error with setting
dview=None
.If you need to upgrade CaImAn follow the instructions given in the wiki.
Tell us about your operating system (Linux/macOS/Windows), Python version (3.x), working environment (Spyder/Jupyter Notebook/other), and (if applicable) which of the demo scripts you're using for your analysis
Linux, 3.6.6, GUI
Describe the issue that you are experiencing
GUI uses the internal hdf5 object paths instead of path provided to GUI to hdf5 to find corresponding .mmap files. This becomes an issue when I analyze videos with an HPC and then download data to a local machine for analysis. GUI is trying to use HPC paths instead of my local one.
Copy error log below
The text was updated successfully, but these errors were encountered: