Issue running this script

Does anyone know where the original pour.in file may be or if there is a folder of scripts that have the correct syntax? I just need one to get a better understanding of what it should be like, especially when running it.

Now I’m getting this when I run an example script from online or from pour.in.
image1.jpeg

Does anyone know where the original pour.in file may be or if there is a folder of scripts that have the correct syntax? I just need one to get a better understanding of what it should be like, especially when running it.

there are a whole lot of input examples in the “examples” folder included with the LAMMPS source code distribution or the LAMMPS windows installer packages.
it helps to read the LAMMPS manual.

axel.

this image is near impossible to decipher, but it looks like you didn’t use the correct command line and rather fed the LAMMPS input to your command shell.

axel.

image1.jpeg

What I did was I saved the file as a bat, a windows executable. Then I right clicked and clicked edit so that I can add the following:
“lmp_win_no-mpi.exe < calc_fcc.in
echo All done!
echo Press a key to end
pause > nul”

Then, upon double clicking the file, each line is run through in the command windows and most commands are not recognized by the system as an internal or external command. That explains the back story behind the errors in the command window.

If I am doing this wrong, then how should I run this script on the command window? I’m really lost. Thanks!

you need to run LAMMPS exactly as it is described in the manual.
to make things simpler, please use the -in flag and don’t use i/o redirection.

here are some URLs with authoritative and up to date information:

https://packages.lammps.org/windows.html

https://lammps.sandia.gov/doc/Run_basics.html
https://tutorial.lammps.org/lammps/hands-on-part1/LAMMPS_Hands-on.pdf

you are mostly lost because you don’t seem to be able to follow documentation step by step. instead you seem to be jumping around and jumping to conclusions prematurely and doing random stuff that has nothing to do with the (trivial) problems you are having.

if you cannot change your approach, you need to find yourself a local tutor since this cannot be helped from remote.

axel.