load petsc for install
@@ -74,6 +74,10 @@ make
%install
%ohpc_setup_compiler
+%if "%{compiler_family}" != "intel"
+module load openblas
+%endif
+module load petsc
make DESTDIR=$RPM_BUILD_ROOT install
# Module file
