Commit 27be7aa3 authored by Yingzhou Li's avatar Yingzhou Li Committed by Victor Yu

Fixed a compiling issue of Fortran

parent 81de9679
......@@ -336,7 +336,6 @@ contains
! - check conv
if (ijob == SID_LOCK + 6) then
trG = resvec(1)
trdiff = abs((trG-trG_old)/trG)
trG_old = trG
if (r_h%verbose > 0 .and. iter > 0) then
write(*,'(a,i5,a,es15.7e3)') &
......
......@@ -43,7 +43,7 @@ contains
r_h%verbose = verbose
! PPCG default
r_h%ppcg_tol_lock = tol_iter
r_h%ppcg_tol_lock = tol_iter/10
r_h%ppcg_sbsize = min(8,n_state)
r_h%ppcg_rrstep = min(5,max_iter)
......
......@@ -34,8 +34,8 @@ subroutine test_rci_ev_cmplx_pw(solver,h_file)
complex(r8) :: COMP0 = cmplx(0.0_r8, 0.0_r8, r8)
complex(r8) :: COMP1 = cmplx(1.0_r8, 0.0_r8, r8)
integer(i4) :: max_iter = 2000
real(r8) :: tol_iter = 1.e-7_r8
integer(i4) :: max_iter = 2500
real(r8) :: tol_iter = 1.e-6_r8
integer(i4) :: verbose = 1
real(r8) :: t1
real(r8) :: t2
......
### Generic Intel ###
SET(CMAKE_Fortran_COMPILER "ifort" CACHE STRING "MPI Fortran compiler")
SET(CMAKE_Fortran_FLAGS "-O3 -xAVX -fp-model precise" CACHE STRING "Fortran flags")
SET(CMAKE_Fortran_FLAGS "-g -heap-arrays -O3 -xAVX -fp-model precise" CACHE STRING "Fortran flags")
SET(LIB_PATHS "/opt/intel/mkl/lib" CACHE STRING "External library paths")
SET(LIB_PATHS "/opt/intel/mkl/lib/intel64" CACHE STRING "External library paths")
SET(LIBS "mkl_intel_lp64 mkl_sequential mkl_core" CACHE STRING "External libraries")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment