Hello! I'm trying to install CHARMM on Ubuntu 18.04 and I followed the simplest instructions on this site (Installing CHARMM for Ubuntu)but it didn't work.

The error is
f951: Fatal Error: Reading module ‘allocation’ at line 1592 column 65: Unexpected EOFcompilation terminated.
I have googled for this error and I found out that there are only several topics here describing it.
Thread 37282
Thread 37239
And there was a solution in the first thread, but I have checked that file for this particular line and everything was ok, everything was like in the correct version of installation.
The GCC issue is a bug, fixed in more recent versions. The fix is in build/UNX/Makefile_gnu
< GCC_GTEQ_460 := $(shell expr `gcc -dumpversion` \>= 4.6)
> GCC_GTEQ_460 := $(shell expr `gcc -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 40600)
The corrected version is the first line in the code snippet above.

Does anybody knows what I'm supposed to do, how to fix this error?

Student of Chemoinformatics in the University of Strasbourg