-
Notifications
You must be signed in to change notification settings - Fork 626
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
Build error (problem in pympb.cpp) "Cannot convert cnumber to mpb_real {aka double}" #269
Comments
#257, which was merged 6 days ago, fixed an issue where the installed MPB, if compiled without the |
I am building from https://github.com/stevengj/meep.git and https://github.com/stevengj/mpb.git, which I believe are the master branches. I currently have MPB version 1.6.1 installed. I installed meep and mpb in January (which has been working fine), but I am now trying to install the newer meep |
Installing MPB with the Also, with it installed now I am trying to run the mode decomposition example here But am getting |
Yes, it should work without the Regarding mode decomposition, |
Thanks for the response. I appreciate all the work going into this project and am looking forward to the features you are all adding! |
Hi,
I'm encountering a new issue when building meep from source. I get the following error message when at the meep "make" step:
pympb.cpp: In member function ‘void py_mpb::mode_solver::material_epsmu(meep_geom::material_type, symmetric_matrix*, symmetric_matrix*, bool)’: pympb.cpp:563:20: error: cannot convert ‘cnumber’ to ‘mpb_real {aka double}’ in assignment epsmu->m01 = md->medium.epsilon_offdiag.x;
The compilation then aborts. Any idea what might be going on? The build script I had was working with previous versions of meep. Below is my build script:
Thank you!
The text was updated successfully, but these errors were encountered: