LAMMPS Compile error

Dear LAMMPS users,

I downloaded LAMMPS ( lammps-9Dec14) and tried to compile the code with
make mpi

I get the error shown below

As you say, isfinite() is defined in math.h, which is included in all those files.

I don’t think anything has changed recently in those source files, nor are
others reporting the problem. What machine and compiler are you using?
Any ideas Axel?

Steve

As you say, isfinite() is defined in math.h, which is included in all those
files.
I don't think anything has changed recently in those source files, nor are
others reporting the problem. What machine and compiler are you using?
Any ideas Axel?

most likely that is cause by either an outdated or broken compilation
environment (or both).

axel.

Dear Steve and Alex,

thanks for your reply. Please find below the information you requested.

CentOS release 5.6 (Final)

x86_64-linux

Linux version 2.6.18-238.12.1.el5.x86_64 (mockbuild@…5382…)
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-50))

Best regards,

Selemon

Dear Steve and Alex,

thanks for your reply. Please find below the information you requested.

CentOS release 5.6 (Final)
x86_64-linux
Linux version 2.6.18-238.12.1.el5.x86_64 ([email protected]...)
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-50))

yes, that definitely qualifies as "old" in multiple ways.

the current version of RHEL/CentOS is version 7 (or 7.0). even
RHEL/CentOS 6.x is somewhat dated, but LAMMPS compiles fine on those.
with the release of RHEL/CentOS version 7, RHEL/CentOS 5.x is now in
maintenance mode. the last full update to version 5.x was last year
and would be version 5.11. version 5.6 was released 4 years ago.

i would recommend to update, if the hardware isn't obsolete either.

axel

Thanks for your replies and suggestions. I will have to work with the system administrator
to resolve the issue.

Selemon