The best solution would be to use the Fortran compiler front-end for linking the shared library when Fortran is being used in OpenBlas. What does gcc -print-file-name=libgfortran.so say? If it just says libgfortran.so without any more detailed path, that means your newer gcc installation doesn't include Fortran. In your case you have a newer version of gcc than gfortran. A note about failing groupinstall on CentOS/RHEL 7.x. If gcc and gfortran are all the same version and have the same library paths, then that usually works. Animated gif 01: Installing C & C++ and related packages on a CentOS and RHEL 7. When a Fortran compiler is being used, it adds -lgfortran and hopes that will be enough.
Installation of Amber on a CentOS 6 Linux node is a little tricky since the default GNU compiler is now too old to compile the source code.
This issue should be reported upstream on OpenBlas' tracker, if it isn't there already ( OpenBlas is using $(CC) to link the shared library, probably to handle cases where there is no Fortran compiler available. gcc gcc-gfortran gcc-c++ which flex bison patch bc libXt-devel libXext-devel perl perl-ExtUtils-MakeMaker util-linux wget bzip2 bzip2-devel zlib-devel tar CentOS 6. This contains current versions of gfortran (GNU F95, this is a version of the. A recent gcc/gfortran compiler version (> 7) is needed for installing and running the code. for the FLUKA package you installed, you will need gfortran 9. Take off the libgfortran.so at the end, -L flags should just be folders not files. GCC 4 (auto-vectorizing gcc/gfortran):Compiled using source code from the GNU CVS servers.