Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove obsolete and incorrect versions of TRPDRV #1023

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/ccsd/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ endif
ccsd_idx34.o \
ccsd_tengy.o \
ccsd_trpdrv.o \
ccsd_trpdrv_nb.o \
ccsd_trpdrv_omp.o \
ccsd_trpdrv_omp_mixprec.o \
moints_trp.o \
Expand Down Expand Up @@ -76,7 +75,6 @@ endif
ccsd_pdiis.F \
ccsd_sortmo.F \
ccsd_trpdrv.F \
ccsd_trpdrv_nb.F \
ccsd_trpdrv_omp.F \
ccsd_trpdrv_omp_mixprec.F \
moints_trp.F \
Expand All @@ -94,17 +92,11 @@ endif
aoccsd2.F \
ccsd_fsig1.F \
ccsd_fsig2.F \
ccsd_trpdrv_bgp2.F \
ccsd_trpdrv_offload.F \
ccsd_trpdrv_openacc.F \
ccsd_trpdrv_openmp_imax.F \
moints_trp.F

ifeq ($(TARGET),BGP)
OBJ_OPTIMIZE += ccsd_trpdrv_bgp2.o ccsd_tengy_bgp2.o ccsd_tengy_bgp.o
LIB_DEFINES += -DBGP
endif

ifdef USE_MIC_TRPDRV
OBJ_OPTIMIZE += ccsd_trpdrv_offload.o
LIB_DEFINES += -DUSE_MIC_TRPDRV
Expand Down
58 changes: 2 additions & 56 deletions src/ccsd/aoccsd2.F
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ subroutine aoccsd(basis,ncor,nocc,nvir,ndel,nact,nbf,maxit,
Double Precision RefEner, Convi, Tol2E
Character*(*) CC_Theory
Integer RTDB, geom
logical oconverged, occd, use_trpdrv_nb
logical use_trpdrv_omp, use_trpdrv_bgp2
logical oconverged, occd
logical use_trpdrv_omp
logical use_trpdrv_omp_mp
logical use_trpdrv_openmp_imax
logical use_trpdrv_openacc
Expand Down Expand Up @@ -717,9 +717,6 @@ subroutine ccsd_iterdrv2(rtdb,basis,nsh,ncor,nocc,nvir,nact,nbf,
!
! Determine if OpenMP, etc. should be used in (T) code
!
if (.not. rtdb_get(rtdb, 'ccsd:use_trpdrv_nb', mt_log, 1,
1 use_trpdrv_nb))
2 use_trpdrv_nb=.false.
if (.not. rtdb_get(rtdb, 'ccsd:use_trpdrv_omp', mt_log, 1,
1 use_trpdrv_omp))
2 use_trpdrv_omp=.false.
Expand All @@ -735,9 +732,6 @@ subroutine ccsd_iterdrv2(rtdb,basis,nsh,ncor,nocc,nvir,nact,nbf,
if (.not. rtdb_get(rtdb, 'ccsd:use_trpdrv_offload', mt_log, 1,
1 use_trpdrv_offload))
2 use_trpdrv_offload=.false.
if (.not. rtdb_get(rtdb, 'ccsd:use_trpdrv_bgp2', mt_log, 1,
1 use_trpdrv_bgp2))
2 use_trpdrv_bgp2=.false.
!
mem_avail = ma_inquire_avail(MT_DBL)
if(iam.eq.0.and.oprint)write(luout,*)'memory',mem_avail
Expand Down Expand Up @@ -1057,29 +1051,6 @@ subroutine ccsd_iterdrv2(rtdb,basis,nsh,ncor,nocc,nvir,nact,nbf,
#else
call errquit('aoccsd: trpdrv_omp_mixprec disabled ',0,0)
#endif
c
elseif (use_trpdrv_nb) then
c
if (iam.eq.0.and.oprint) then
write(luout,1847) nvpass
call util_flush(luout)
endif
1847 format(' commencing triples evaluation - non-blocking',i8)
call ccsd_trpdrv_nb(dbl_mb(k_t1),
#ifdef USE_F90_ALLOCATABLE
$ f1n,f1t,f2n,f2t,f3n,f3t,f4n,f4t,
#else
$ dbl_mb(k_f1n),dbl_mb(k_f1t),dbl_mb(k_f2n),dbl_mb(k_f2t),
$ dbl_mb(k_f3n),dbl_mb(k_f3t),dbl_mb(k_f4n),dbl_mb(k_f4t),
#endif
$ eorb,g_objo,g_objv,g_coul,g_exch,ncor,nocc,nvir,iprt,
$ empt(1),empt(2),oseg_lo,oseg_hi,kchunk,
$ dbl_mb(k_trp_Tij), dbl_mb(k_trp_Tkj), dbl_mb(k_trp_Tia),
$ dbl_mb(k_trp_Tka), dbl_mb(k_trp_Xia), dbl_mb(k_trp_Xka),
$ dbl_mb(k_trp_Jia), dbl_mb(k_trp_Jka), dbl_mb(k_trp_Kia),
$ dbl_mb(k_trp_Kka), dbl_mb(k_trp_Jij), dbl_mb(k_trp_Jkj),
$ dbl_mb(k_trp_Kij), dbl_mb(k_trp_Kkj), dbl_mb(k_trp_Dja),
$ dbl_mb(k_trp_Djka), dbl_mb(k_trp_Djia))
c
#ifdef USE_MIC_TRPDRV
elseif (use_trpdrv_offload) then
Expand All @@ -1105,31 +1076,6 @@ subroutine ccsd_iterdrv2(rtdb,basis,nsh,ncor,nocc,nvir,nact,nbf,
$ dbl_mb(k_trp_Kij), dbl_mb(k_trp_Kkj), dbl_mb(k_trp_Dja),
$ dbl_mb(k_trp_Djka), dbl_mb(k_trp_Djia))
c
#endif
#ifdef BGP
elseif (use_trpdrv_bgp2) then
c
if (iam.eq.0.and.oprint) then
write(luout,1849)nvpass
call util_flush(luout)
endif
1849 format(' commencing triples evaluation - Blue Gene v2',i8)
call ccsd_trpdrv_bgp2(dbl_mb(k_t1),
#ifdef USE_F90_ALLOCATABLE
$ f1n,f1t,f2n,f2t,f3n,f3t,f4n,f4t,
#else
$ dbl_mb(k_f1n),dbl_mb(k_f1t),dbl_mb(k_f2n),dbl_mb(k_f2t),
$ dbl_mb(k_f3n),dbl_mb(k_f3t),dbl_mb(k_f4n),dbl_mb(k_f4t),
#endif
$ eorb,g_objo,g_objv,g_coul,g_exch,ncor,nocc,nvir,iprt,
$ empt(1),empt(2),oseg_lo,oseg_hi,kchunk,
$ dbl_mb(k_trp_Tij), dbl_mb(k_trp_Tkj), dbl_mb(k_trp_Tia),
$ dbl_mb(k_trp_Tka), dbl_mb(k_trp_Xia), dbl_mb(k_trp_Xka),
$ dbl_mb(k_trp_Jia), dbl_mb(k_trp_Jka), dbl_mb(k_trp_Kia),
$ dbl_mb(k_trp_Kka), dbl_mb(k_trp_Jij), dbl_mb(k_trp_Jkj),
$ dbl_mb(k_trp_Kij), dbl_mb(k_trp_Kkj), dbl_mb(k_trp_Dja),
$ dbl_mb(k_trp_Djka), dbl_mb(k_trp_Djia))
c
#endif
else
c
Expand Down
70 changes: 0 additions & 70 deletions src/ccsd/ccsd_tengy_bgp.F

This file was deleted.

200 changes: 0 additions & 200 deletions src/ccsd/ccsd_tengy_bgp2.F

This file was deleted.

Loading
Loading