• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision21046823d8869b997086ba28919472a6d2d62eba (tree)
l'heure2011-07-15 14:34:43
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

Elapsed time (omp) is output for calc. of CIS matrix.

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@113 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Modification

--- a/src/zindo/ZindoS.h
+++ b/src/zindo/ZindoS.h
@@ -75,6 +75,9 @@ private:
7575 string errorMessageDavidsonNotConverged;
7676 string errorMessageDavidsonMaxIter;
7777 string errorMessageDavidsonMaxDim;
78+ string messageStartCalcCISMatrix;
79+ string messageConsumedCalcCISMatrix;
80+ string messageDoneCalcCISMatrix;
7881 string messageStartCIS;
7982 string messageDoneCIS;
8083 string messageStartDirectCIS;
@@ -134,6 +137,9 @@ void ZindoS::SetMessages(){
134137 this->messageDoneSCF = "********** DONE: ZINDO/S-SCF **********\n\n\n";
135138 this->messageStartCIS = "********** START: ZINDO/S-CIS **********\n";
136139 this->messageDoneCIS = "********** DONE: ZINDO/S-CIS **********\n\n\n";
140+ this->messageConsumedCalcCISMatrix = "\tElapsed time(omp) of the calc. of the CIS matrix = ";
141+ this->messageStartCalcCISMatrix = "----------- START: Calculation of the CIS matrix -----------\n";
142+ this->messageDoneCalcCISMatrix = "----------- DONE: Calculation of the CIS matrix -----------\n\n";
137143 this->messageStartDirectCIS = "\t====== START: Direct-CIS =====\n\n";
138144 this->messageDoneDirectCIS = "\t====== DONE: Direct-CIS =====\n\n\n";
139145 this->messageStartDavidsonCIS = "\t====== START: Davidson-CIS =====\n";
@@ -1029,6 +1035,8 @@ void ZindoS::DoesCISDirect(){
10291035 }
10301036
10311037 void ZindoS::CalcCISMatrix(double** matrixCIS, int numberOcc, int numberVir){
1038+ cout << this->messageStartCalcCISMatrix;
1039+ double ompStartTime = omp_get_wtime();
10321040
10331041 #pragma omp parallel for schedule(auto)
10341042 for(int k=0; k<numberOcc*numberVir; k++){
@@ -1062,6 +1070,9 @@ void ZindoS::CalcCISMatrix(double** matrixCIS, int numberOcc, int numberVir){
10621070 matrixCIS[k][l] = value;
10631071 }
10641072 }
1073+ double ompEndTime = omp_get_wtime();
1074+ cout << this->messageConsumedCalcCISMatrix << ompEndTime - ompStartTime << "[s]." << endl;
1075+ cout << this->messageDoneCalcCISMatrix;
10651076 }
10661077
10671078 }