actually I tried recompile lmps_mpi several times,
1.I suspect something is wrong with settings in LMP_INC,
no, they are correct. what you haven't shown us is whether the
compilation actually was successful and whether you have done a "make
clean-all" between compilations.
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64 -DLAMMPS_FFMPEG
-DLAMMPS_JPEG
...
JPG_INC = -DLAMMPS_JPEG -I/usr/local/jpeg/include
JPG_PATH = -L/usr/local/jpeg/lib
JPG_LIB = -ljpeg
2. Meanwhile, when I examine the presence of ffmpeg by the following:
ffmpeg \-codecs 2>&1 | grep PPM
DEV D ppm PPM \(Portable PixelMap\) image
rpm -qi ffmpeg
info shows that,
$package ffmpeg is not installed
there is not a problem here. you are running on ubuntu, and thus
packages are not managed by rpm.
3. @the same time, I tried to compile lmps_serial, When I recompile with
same configuration for jpeg & ffmpeg, another error occurs,
ERROR: Support for writing images in JPEG format not included
(../dump_image.cpp:78)
I suspect -DLAMMPS_JPEG is not successfully working in this case.
-DLAMMPS_JPEG works fine for me.
I am confused with setting a pointer to executable ffmpeg(already exist)
link to -DLAMMPS_FFMPEG?? Would u pls give a clue on how to successfully
establish or correct errors in makefile settings .
the makefile settings are correct. most likely, you didn't clean up
between changing the makefile settings or you are not accessing the
newly compiled executable, but some other version. all the necessary
information is in the documentation and at a great level of detail.
whether you are employing those steps correctly is up to you. since
you don't seem to be very knowledgeable in terms of compilation of
software, your best shot is probably to find somebody local that does
have that experience and knowledge and can look over your shoulder and
tell you where you are going wrong.
unless you can *convincingly* _prove_ that you have done *all*
necessary steps as explained in the documentation and still get no
correctly working executable, i consider this discussion over.
axel.