Alternatively, one can set ICHECW 0 IEQFRQ 0 and then add a line such as

HOOVER TMASS 2000. REFT 300. -

and get a true thermostat, coupled to a degree of freedom; with PGAMMA 0, this is rigorous NPT. With a non-zero PGAMMA, it is equivalent to a chain of thermostats.