Determining if the Fortran sgemm exists failed with the following output:
Change Dir: /lfs/h1/ops/para/packages/nam.v4.2.0/sorc/nam_gsi.fd/GSI/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_349a5/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_349a5.dir/build.make CMakeFiles/cmTC_349a5.dir/build
gmake[1]: Entering directory '/lfs/h1/ops/para/packages/nam.v4.2.0/sorc/nam_gsi.fd/GSI/build/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_349a5.dir/testFortranCompiler.f.o
/opt/cray/pe/craype/2.7.10/bin/ftn    -c /lfs/h1/ops/para/packages/nam.v4.2.0/sorc/nam_gsi.fd/GSI/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_349a5.dir/testFortranCompiler.f.o
Linking Fortran executable cmTC_349a5
/apps/spack/cmake/3.20.2/intel/19.1.3.304/utnbptm3hrf7gppztidueu4jogfgemut/bin/cmake -E cmake_link_script CMakeFiles/cmTC_349a5.dir/link.txt --verbose=1
/opt/cray/pe/craype/2.7.10/bin/ftn -dynamic CMakeFiles/cmTC_349a5.dir/testFortranCompiler.f.o -o cmTC_349a5 
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/cmTC_349a5.dir/testFortranCompiler.f.o: in function `MAIN__':
testFortranCompiler.f:(.text+0x39): undefined reference to `sgemm_'
gmake[1]: *** [CMakeFiles/cmTC_349a5.dir/build.make:99: cmTC_349a5] Error 1
gmake[1]: Leaving directory '/lfs/h1/ops/para/packages/nam.v4.2.0/sorc/nam_gsi.fd/GSI/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_349a5/fast] Error 2