What is a "perfect fluid", really? In Statistical Mechanics, unless I'm making a confusion mistake, a perfect fluid is defined as a large collection of particles without any "internal" interactions (except maybe from point collisions).  Long and short range forces are all neglected.  This gives the usual perfect gas law:
\begin{equation}\tag{1}
p V = N k T.
\end{equation}
Assuming adiabatic irreversibility, this implies the polytrope relation, which is a special case of a barotrope state relation :
\begin{equation}\tag{2}
p = \kappa \, \rho_{\text{mass}}^{\gamma},
\end{equation}
where $\kappa$ is a constant and $\gamma$ is the adiabatic index of the fluid.  Of course, $\rho_{\text{mass}}$ is the proper mass density of the fluid.  We could also find
\begin{equation}\tag{3}
p = (\gamma - 1) \, \rho_{\text{int}},
\end{equation}
where $\rho_{\text{int}}$ is the internal energy density, defined as $\rho_{\text{int}} = \rho - \rho_{\text{mass}}$ if $\rho$ is the total energy density (I'm using natural units so $c \equiv 1$).
Now, in Special (and General) Relativity, a perfect fluid is defined as any substance that doesn't show any macroscopic viscosity and shear (this $\underline{\text{suggest}}$ no internal microscopic interactions, but this isn't obvious), and such that the energy-momentum of the fluid is diagonal and isotropic in the proper reference frame:
\begin{equation}\tag{4}
T_{ab} = \begin{bmatrix}
\rho & 0 & 0 & 0 \\
0 & p & 0 & 0 \\
0 & 0 & p & 0 \\
0 & 0 & 0 & p
\end{bmatrix}.
\end{equation}
Here, a barotropic relation may admit any function $p(\rho)$, and not just (2) or (3) above.  For example, we may admit the Van der Waals law which isn't a perfect fluid in statistical mechanics (there are some short range forces in action) :
\begin{equation}\tag{5}
p = \frac{c \, \rho_{\text{mass}} \, T}{1 - a \, \rho_{\text{mass}}} - b \, \rho_{\text{mass}}^2.
\end{equation}
This special relativistic definition isn't the same as the statistical mechanics definition, since it may admit fluids with some internal interactions (yet without showing any macroscopic shear and viscosity).
Now, I'm finding myself irritated by these two definitions, which aren't exactly equivalent.  So what really is a "perfect fluid"?  The $\underline{\text{statistical}}$ one (without any microscopic internal interactions), or the $\underline{\text{relativistic}}$ one (which may admit internal interactions)?
Or is there two different "names" that may differentiate the two definitions, something like "ideal fluid" and "perfect fluid" or something else?
I don't like the two inequivalent definitions having the same name, since it opens the door to confusion.  I don't want a sloppy use of the same name, just because we are working in different fields (classical statistical mechanicians, or general relativists, or fluid dynamicians, ...).
I have the impression that the statistical definition is the right one, from an historical perspective, and that the relativists should call their perfect fluid as "ideal fluid", instead.  Is that right?  Or maybe it should be the reverse??

The sloppy Wikipedia appears to reverse the names: https://en.wikipedia.org/wiki/Perfect_fluid, which apparently was written by a relativist!  And https://en.wikipedia.org/wiki/Ideal_gas which calls "ideal gas" the perfect fluid of statistical mechanics.  Now I'm all confused!  Wikipedia isn't a good reference for physics definitions, since there are frequently many inconsistencies.
 A: I think you are not distinguishing properly between ideal/perfect fluids and ideal/perfect gases as they are different concepts:
In traditional fluid mechanics a perfect or ideal fluid is only characterised by the absence of dissipation, the viscosity and the coefficient of heat conduction are zero (Landau & Lafshitz) and the process as a consequence reversible. This means that its equations of motion are given by the Euler equations (including constant entropy) and not the full Navier-Stokes equations that contain a viscous term as well and were written down almost 100 years later in the 1840s. A perfect 'inviscid' fluid can be any fluid, a gas or a liquid, and poses no restrictions regarding the material law. It is particularly useful in aerodynamics where viscous contributions generally only dominate near the walls. Assuming an ideal fluid you may be able to obtain analytical solutions without the need for numerical simulations that take viscous effects directly into account.
An ideal gas on the other hand is a model for the material law: In this case the members of a rarefied gas are assumed as point-particles only interacting in elastic collisions that are assumed to obey Newtonian physics. This means the particles have only translational degrees of freedom and no complex far-field interactions between particles are admitted. If furthermore the heat capacity can be assumed constant, it is considered a perfect gas. In kinetic theory of gases this allows for a simple estimation of transport coefficients and most compressible mechanics are based on this simplification.
