In node 3 Installed gcc:
yum install gcc yum install gcc-c++.x86_64
Installed gfortran:
yum install gcc-gfortran
Installed automake and autoconf:
yum install automake