Error in comiling dispmodule

I cloned a repository GitHub - radiganm/dispmodule: Algorithm 892: DISPMODULE, a Fortran 95 module for pretty-printing matrices (unofficial fork, see https://dl.acm.org/citation.cfm?id=1486531 for official repository) which is pretty printing for arrays in fortran.

While installing the package I get the following errors

make -f ./libraries.mk
make[1]: Entering directory '/home/ajay/opt/pgi/mathlib/dispmodule'
pgf90 -module ./mod -fPIC -O2 -m64 -I./include   -c -o 892/Fortran90/Src/dispmodule.o 892/Fortran90/Src/dispmodule.f90
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 1327)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 1342)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 1620)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 1641)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 2130)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 2151)
PGF90-W-0093-Type conversion of expression performed (892/Fortran90/Src/dispmodule.f90: 2522)
PGF90-W-0435-Array declared with zero size (892/Fortran90/Src/dispmodule.f90: 2576)
/tmp/pgf90jFpcBYUIgj8k.s: Assembler messages:
/tmp/pgf90jFpcBYUIgj8k.s:34761: Error: operand type mismatch for `vmovss'
/tmp/pgf90jFpcBYUIgj8k.s:34803: Error: operand type mismatch for `vmovss'
/tmp/pgf90jFpcBYUIgj8k.s:34810: Error: operand size mismatch for `vsubps'
/tmp/pgf90jFpcBYUIgj8k.s:48539: Error: operand type mismatch for `vmovsd'
/tmp/pgf90jFpcBYUIgj8k.s:48580: Error: operand type mismatch for `vmovsd'
/tmp/pgf90jFpcBYUIgj8k.s:48586: Error: operand size mismatch for `vsubpd'
rules.mk:43: recipe for target '892/Fortran90/Src/dispmodule.o' failed
make[1]: *** [892/Fortran90/Src/dispmodule.o] Error 2
make[1]: Leaving directory '/home/ajay/opt/pgi/mathlib/dispmodule'
makefile:15: recipe for target 'libraries' failed
make: *** [libraries] Error 2

Hi Ajay,

This looks like an error with the compiler. I’ve logged TPR#26540 to address it.

Any updates …

Hi Ajay,

We’ve assigned the issue to one of our compiler engineers who’s investigating.

-Mat

Hi Ajay,

Issue should be resolved with release 19.1