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

How to Install the Julia version of femwell #97

Open
zmxCatBug opened this issue Oct 17, 2023 · 7 comments
Open

How to Install the Julia version of femwell #97

zmxCatBug opened this issue Oct 17, 2023 · 7 comments

Comments

@zmxCatBug
Copy link

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
Copy link
Owner

HelgeGehring commented Oct 17, 2023

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
Copy link
Author

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

@nikosavola
Copy link
Contributor

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
Copy link
Contributor

duarte-jfs commented May 27, 2024

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
Copy link
Contributor

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
Copy link
Contributor

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

@oz99
Copy link

oz99 commented Nov 13, 2024

Hi all,

Just following up on this thread as I'm new to using femwell with Julia :)

What is your preferred method of communicating between python and julia? From the docs I see that you call python (using PyCall) from the julia code but it is also possible to call julia from the python code (using JuliaCall). Do you have a preference between either and are there any significant pros/cons between these methods?

Thanks

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

5 participants