Dear developper
I have a beginner question on running lammps with Python.
I wish to convert the following script
lmp -var myfile file1 -in file.lammps
I write the python script as:
from lammps import lammps
lmp = lammps()
lmp.file(“file.lammps”)
But I do not find which command to include in the python script for the passing -var myfile file
my ultimate goal is to launch simultaneously multiple runs in parallel with different myfile values.
I am using Lammps on Windows 10 version August 2023 with MSMPI
Thanks a lot for the help.