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

MPI support for SimulationPlanar #5

Open
yigithanmehmetkose opened this issue Nov 21, 2024 · 2 comments
Open

MPI support for SimulationPlanar #5

yigithanmehmetkose opened this issue Nov 21, 2024 · 2 comments

Comments

@yigithanmehmetkose
Copy link

First, I wanna thank the developers.

I conduct a multi-layer planar simulation which is computationally expensive, so I wanna run this in a cluster with MPI. Yet, the MPI example uses SimulationGrating class with IntegrateKxKyMPI function. My simulation uses SimulationPlanar class, and there is no IntegrateKParallelMPI function so what should I do?

  • Would using SimulationGrating without adding any grating pattern work?
  • Would this slow down the simulation compared to SimulationPlanar?
  • What should I set SetLattice and SetNumOfG fields since I do not add any grating?

Thanks in advance,
Yigithan Mehmet Kose

@kfrancischen
Copy link
Owner

It is usually very cheap to run Planar on single machines. May I understand the scale of your problem?

@yigithanmehmetkose
Copy link
Author

yigithanmehmetkose commented Nov 26, 2024

It is usually very cheap to run Planar on single machines. May I understand the scale of your problem?

I conduct a near-field TPV simulation including 9 layers. Since it is a TPV simulation, I need to evaluate 1000 planar simulations with varying probe Z-coordinates to obtain dept-dependent Poynting vector. This is what makes it expensive

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

2 participants