--
You received this message because you are subscribed to the Google Groups "Twister Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twister-help...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/twister-help/ecb96528-bf5a-4ac7-a5a1-64fed7ebc119n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Anikeya,
Instead of running the command:
python3 path-to-src/get_angle.py get_ang.inp
Try using:
mpirun -np 4 python3 path-to-src/get_angle.py get_ang.inp
You can adjust the number of processors as needed. Once you have MPI for Python installed, you should find mpirun
/mpiexec
in your /usr/local/bin
.
Best wishes,
Indrajit
Hi Anikeya,Unfortunately, the mpi support is available for get_ang and not for the homo.sh.One suggestion could be to submit it as a job in a local supercomputer (to avoid crashes while running on your laptop).Best wishes,IndrajitOn Wed, 4 Sep 2024, 22:25 Anikeya Aditya, <aad...@usc.edu> wrote:Dear Indrajit,Thank you very much for the quick response.One last thing, I use the homo.sh to generate the structures using the hex table index. So in homo.sh, there are multiple Python files being executed, as shown in the figure below. Can I use mpirun with all of them?I am not using lammps relaxation and only need lammps input structure so will using it with "python 3 path/twister.py twist.inp" and "python3 tolammps.py" be enough.With regards,Anikeya AdityaOn Wed, Sep 4, 2024 at 6:45 AM Indrajit Maity <indrajit...@gmail.com> wrote:Hi Anikeya,
Instead of running the command:
python3 path-to-src/get_angle.py get_ang.inp
Try using:
mpirun -np 4 python3 path-to-src/get_angle.py get_ang.inp
You can adjust the number of processors as needed. Once you have MPI for Python installed, you should find
mpirun
/mpiexec
in your/usr/local/bin
.Best wishes,
Indrajit
--
You received this message because you are subscribed to a topic in the Google Groups "Twister Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/twister-help/we8auIi12fc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to twister-help...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/twister-help/CAAUbVToXgiyWcfRRhNFY-eBa05tmBf9XvJGHcGGzmUFYDL_QRA%40mail.gmail.com.