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

Building issues #479

Closed
analkumar2 opened this issue Jun 3, 2024 · 12 comments · May be fixed by #485
Closed

Building issues #479

analkumar2 opened this issue Jun 3, 2024 · 12 comments · May be fixed by #485

Comments

@analkumar2
Copy link
Contributor

analkumar2 commented Jun 3, 2024

A build on a fresh Ubuntu 22.04.4 with Python 3.10.12 required some extra steps that could be included in the setup.py or the cmake files.

  1. install cmake, libgsl0-dev, build-essential, pybind11, dev version of python (python3.10-dev)
  2. set the env variable pybind11_DIR. I used
    export pybind11_DIR=$(python3 -c "import pybind11; print(pybind11.get_cmake_dir())")
@subhacom
Copy link
Collaborator

subhacom commented Jun 8, 2024

This is a build issue, not an installation issue.

@analkumar2 analkumar2 changed the title Installation issues Building issues Jun 8, 2024
@analkumar2
Copy link
Contributor Author

This is a build issue, not an installation issue.

Have edited the title to reflect this. Thanks

@subhacom
Copy link
Collaborator

@analkumar2 can you try the windows_build (https://github.com/subhacom/moose-core/tree/windows_build) branch please. We are considering switching to this for better build-automation.

@analkumar2
Copy link
Contributor Author

analkumar2 commented Aug 23, 2024 via email

@analkumar2
Copy link
Contributor Author

analkumar2 commented Aug 23, 2024 via email

@analkumar2
Copy link
Contributor Author

analkumar2 commented Aug 26, 2024 via email

@analkumar2
Copy link
Contributor Author

analkumar2 commented Aug 26, 2024 via email

@subhacom
Copy link
Collaborator

subhacom commented Aug 27, 2024

Can you please check the squid demo? Just running squid.py in that folder should plot spikes from default current injection. Somehow that is not working on my MS Windows system, though it works on Ubuntu via WSL.
In my case, the channel objects seem to be getting garbage collected(?) or facing some other memory issue so that after returning from the function creating a channel and setting its attributes, the values become some garbage numbers.

@analkumar2
Copy link
Contributor Author

analkumar2 commented Aug 27, 2024 via email

@analkumar2
Copy link
Contributor Author

analkumar2 commented Sep 3, 2024 via email

@subhacom
Copy link
Collaborator

subhacom commented Sep 3, 2024

Yes, I already posted it: #483
It is fixed in my version, but got into the rabbit hole of fixing other bugs (new pymoose using PyBind11). Going to be a big pull request.

@subhacom
Copy link
Collaborator

subhacom commented Sep 3, 2024

Fixed in #485

@subhacom subhacom closed this as completed Sep 3, 2024
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

Successfully merging a pull request may close this issue.

2 participants