I have just recently installed quantum espresso with EPW functionalities and I have come across with similar error while trying to install the EPW. I have understood thanks to your reply that this is due to the old version of fortran compiler, which I have confirmed to be the case in our cluster computer. In ordinary circumstances, this may be easily addressed by upgrading our compiler to the more recent ones however I do not have root privileges to do so. In fact I have installed the latest version of GCC in my local account and tried to install the EPW and failed. I know I need to link the EPW installer to the compiler in my local account but I do not know where to start. Please forgive me for asking as it might be a trivial question, which file in EPW should I modify to direct the installer to my newly installed compiler? I should note that QE was also installed in my local account using the compiler of our cluster.