Making LAMMPS error

I am having difficulty compiling LAMMPS.

I removed LAMMPS and executable lammps-daily completely from my machine. I download LAMMPS and Ubuntu 13.

When I compile, at the very end it says the following, then it lists what I think is every file it compiled and then another error below.

Is the first error causing LAMMPS to not compile or is it something else?

I am still familiarizing myself with LINUX so please forgive my ignorance.

Ben

g++: error: write_restart.o: No such file or directory
make[1]: Leaving directory `/home/bjcowen/Desktop/lammps-11Nov13/src/Obj_ubuntu_parallel’
make[1]: *** […/lmp_ubuntu_parallel] Error 1

make: *** [ubuntu_parallel] Error 2
size …/lmp_ubuntu_parallel
size …/lmp_ubuntu_parallel
size …/lmp_ubuntu_parallel
text text data bss dec hex filename
5098181 12464 17544 5128189 4e3ffd …/lmp_ubuntu_parallel
data bss dec hex filename
5098181 12464 17544 5128189 4e3ffd …/lmp_ubuntu_parallel
text data bss dec hex filename
5098181 12464 17544 5128189 4e3ffd …/lmp_ubuntu_parallel
make[1]: Leaving directory /home/bjcowen/Desktop/lammps-11Nov13/src/Obj_ubuntu_parallel' make[1]: Leaving directory /home/bjcowen/Desktop/lammps-11Nov13/src/Obj_ubuntu_parallel’
make[1]: Leaving directory `/home/bjcowen/Desktop/lammps-11Nov13/src/Obj_ubuntu_parallel’

Let me add that the file I am compiling with is attached, thanks to Andrew Jewett.

Makefile.ubuntu_parallel (3.09 KB)

I am having difficulty compiling LAMMPS.

I removed LAMMPS and executable lammps-daily completely from my machine. I
download LAMMPS and Ubuntu 13.
When I compile, at the very end it says the following, then it lists what I
think is every file it compiled and then another error below.
Is the first error causing LAMMPS to not compile or is it something else?

it has to be something else. how is it possible, that you get all
output three times. almost as if you run multiple compiles at the same
time (which cannot work because of race conditions).

I am still familiarizing myself with LINUX so please forgive my ignorance.

then try to locate somebody close to you that can give you a proper
introduction. there are plenty of people with knowledge on how to
compile on linux around. a mailing list, particularly one on a
completely different topic, is a bad way to learn it.

it also is almost always - same as with MD - to start with a complex
problem. there is plenty of lecture and tutorial material on the web.
hell, i've been lecturing at workshops and tutorials about HPC and
compiling and programming HPC applications pretty much all over the
world (still haven't been invited to do one in australia or new
zealand, yet, tho) and contributed my share of material to this pile.
also, check out henry neeman's supercomputing in plain english
webpage.

axel.

Aha! I made clean-all (I had been doing that but not on most recent attempt), and compiled without using mpirun and it properly installed. Axel, this did create an executable that would read restart files with pair_style table, as I know that you were sure it would. Thank you for your help!

Ben

Aha! I made clean-all (I had been doing that but not on most recent
attempt), and compiled without using mpirun and it properly installed. Axel,

why on earth would anybody use mpirun on a compile???

parallel make is done via the -j flag. RTFM!
using mpirun on non-MPI programs or programs that have not been
compiled with the same MPI library will just run multiple concurrent
copies that cause havoc.

Thanks Axel.

Ben