HelgeGehring / femwell

FEM mode solver for photonic waveguides
https://helgegehring.github.io/femwell/
GNU General Public License v3.0
112 stars 33 forks source link

How to Install the Julia version of femwell #97

Open zmxCatBug opened 1 year ago

zmxCatBug commented 1 year ago

Hello @HelgeGehring Thank you for this great optical mode calculating tool. Since I'm trying to find modes of an anisotropic dielectric waveguide, I would like to install a Julia version. I've already install through pip, but I'm not able to run the Julia example code. Am I supposed to install a Julia package of femwell? If so, how can I install it? (It seems that "add Femwell" doesn't work.)

Thank you.

截屏2023-10-18 00 53 03
HelgeGehring commented 1 year ago

Hey @zmxCatBug, happy to hear that you like the femwell :)

I didn't yet make a julia package out of femwell, but we should definitively do that soon!

right now i think you can install it using add https://github.com/HelgeGehring/femwell.git (didn't test this yet, would be great if you can report if you get some errors or if it works)

I'll have a look on how to make a julia package in the next days!

zmxCatBug commented 1 year ago

Thank you. I succeeded in installing it in this way!

nikosavola commented 10 months ago

This seems to be still missing from the docs. Would be nice to have the command to run shown in https://helgegehring.github.io/femwell/install.html

duarte-jfs commented 5 months ago

I was trying to get the julia example running, but I was not able to get the packages running properly since I'm running on windows. Apparently there is a known issue (link 1, link 2) with compiling the MUMPS package on windows machines. (Just posting here in case someone else bumps into this)

nikosavola commented 5 months ago

I was trying to get the julia example running, but I was not able to get the packages running properly since I'm running on windows. Apparently there is a known issue (link 1, link 2) with compiling the MUMPS package on windows machines. (Just posting here in case someone else bumps into this)

For now, have you tried running on WSL?

duarte-jfs commented 5 months ago

Not yet. Mainly because I've never set up WSL and have no clue how to work with linux, so it'll take a while. But I'll keep it in mind in the future. I was just curious on how much of computing time improvement would be to use julia in femwell