Replies: 2 comments
-
Have you tried entering the following command I also found this https://meep.readthedocs.io/en/master/Parallel_Meep/#using-parallel-meep
I use a different structure for my code I can show you:
For example here any printing of data is inside a if statement which requests to only execute when the rank is 0. Which is for cases
Here I am working to get all the frequency from sim.run_k_points( ), the pickling basically stores the data as a binary. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
See https://meep.readthedocs.io/en/latest/Parallel_Meep/#different-forms-of-parallelization If you want to run multiple simulations in parallel with a single MPI job, as opposed to parallelizing a single simulation, use |
Beta Was this translation helpful? Give feedback.
-
I am trying to run these meep simulations, but when i run the program with
mpirun -np 2 python test.py
it creates the data with the different names (transflux_605_.5.txt & transflux_605_.55.txt) but the txt files have the exact same data. But when I run the program with -np 1 each files has different data, but generates slower. When the sim is initialized this is printed: "Splitting into 2 chunks by voxels"How do I run multiple simulations in parallel instead chuncks than generate duplicated data?
transflux_605_0.55.txt
transflux_605_0.5.txt
Beta Was this translation helpful? Give feedback.
All reactions