Skip to content

Commit

Permalink
Lowercase tags for timers
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Sep 28, 2018
1 parent 90d5a30 commit b8d5ce8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/ccdensity/ccdensity.cc
Expand Up @@ -584,7 +584,7 @@ void init_io() {
}
*/

timer_on("CCDensity");
timer_on("ccdensity");

for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, PSIO_OPEN_OLD);
// erase old files
Expand Down Expand Up @@ -628,7 +628,7 @@ void exit_io() {
/* Close all dpd data files here */
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_close(i, 1);

timer_off("CCDensity");
timer_off("ccdensity");
}

} // namespace ccdensity
Expand Down
6 changes: 3 additions & 3 deletions psi4/src/psi4/cc/ccenergy/ccenergy.cc
Expand Up @@ -321,7 +321,7 @@ double CCEnergyWavefunction::compute_energy() {
if (params_.aobasis != "NONE") dpd_close(1);
dpd_close(0);
cleanup();
timer_off("CCEnergy");
timer_off("ccenergy");
free(ioff_);
exit_io();
return Failure;
Expand Down Expand Up @@ -504,7 +504,7 @@ double CCEnergyWavefunction::compute_energy() {
void CCEnergyWavefunction::init_io() {
params_.just_energy = 0;
params_.just_residuals = 0;
timer_on("CCEnergy");
timer_on("ccenergy");
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}

Expand All @@ -521,7 +521,7 @@ void CCEnergyWavefunction::exit_io() {
for (i = PSIF_CC_MIN; i < PSIF_CC_TMP; i++) psio_close(i, 1);
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* delete CC_TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCEnergy");
timer_off("ccenergy");
}

void CCEnergyWavefunction::init_ioff() {
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/cceom/cceom.cc
Expand Up @@ -130,7 +130,7 @@ PsiReturnType cceom(std::shared_ptr<Wavefunction> ref_wfn, Options &options) {
}

void init_io() {
timer_on("CCEOM");
timer_on("cceom");
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}

Expand All @@ -139,7 +139,7 @@ void exit_io() {
for (i = PSIF_CC_MIN; i <= PSIF_CC_DIIS_AMP; i++) psio_close(i, 1);
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0);
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCEOM");
timer_off("cceom");
}

void form_dpd_dp() {
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/cchbar/cchbar.cc
Expand Up @@ -188,7 +188,7 @@ PsiReturnType cchbar(std::shared_ptr<Wavefunction> ref_wfn, Options &options) {
}

void init_io() {
timer_on("CCHBAR");
timer_on("cchbar");

/* Open all dpd data files */
for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
Expand All @@ -210,7 +210,7 @@ void exit_io() {
for (int i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; ++i) psio_close(i, 0); /* get rid of TMP files */
for (int i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; ++i) psio_close(i, 1);

timer_off("CCHBAR");
timer_off("cchbar");
}

} // namespace cchbar
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/cclambda/cclambda.cc
Expand Up @@ -350,7 +350,7 @@ void CCLambdaWavefunction::init_io() {
}
}
*/
timer_on("CCLambda");
timer_on("cclambda");

for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
Expand Down Expand Up @@ -378,7 +378,7 @@ void CCLambdaWavefunction::exit_io() {
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* delete CC_TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);

timer_off("CCLambda");
timer_off("cclambda");
}

/* put copies of L for excited states in LAMPS with irrep and index label */
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/ccresponse/ccresponse.cc
Expand Up @@ -155,7 +155,7 @@ PsiReturnType ccresponse(std::shared_ptr<Wavefunction> ref_wfn, Options &options
void init_io() {
int i;

timer_on("CCResponse");
timer_on("ccresponse");

for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);

Expand Down Expand Up @@ -183,7 +183,7 @@ void exit_io() {
for (i = PSIF_CC_TMP; i <= PSIF_CC_TMP11; i++) psio_close(i, 0); /* get rid of TMP files */
for (i = PSIF_CC_TMP11 + 1; i <= PSIF_CC_MAX; i++) psio_close(i, 1);

timer_off("CCResponse");
timer_off("ccresponse");
}

void init_ioff() {
Expand Down
4 changes: 2 additions & 2 deletions psi4/src/psi4/cc/cctriples/triples.cc
Expand Up @@ -257,7 +257,7 @@ PsiReturnType cctriples(std::shared_ptr<Wavefunction> reference_wavefunction, Op
}

void init_io() {
timer_on("CCTriples");
timer_on("cctriples");

for (int i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_open(i, 1);
}
Expand All @@ -273,7 +273,7 @@ void title() {
void exit_io() {
int i;
for (i = PSIF_CC_MIN; i <= PSIF_CC_MAX; i++) psio_close(i, 1);
timer_off("CCTriples");
timer_off("cctriples");
}

} // namespace cctriples
Expand Down

0 comments on commit b8d5ce8

Please sign in to comment.