arpack-second-bug.patch 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830
  1. diff -up ARPACK/UTIL/second.f.sb ARPACK/UTIL/second.f
  2. --- ARPACK/UTIL/second.f.sb 1995-10-02 19:56:44.000000000 +0100
  3. +++ ARPACK/UTIL/second.f 2007-10-24 02:50:57.000000000 +0200
  4. @@ -1,4 +1,4 @@
  5. - SUBROUTINE SECOND( T )
  6. + SUBROUTINE secnd2( T )
  7. *
  8. REAL T
  9. *
  10. diff -up ARPACK/SRC/znaupd.f.sb ARPACK/SRC/znaupd.f
  11. --- ARPACK/SRC/znaupd.f.sb 2002-08-15 07:50:57.000000000 +0200
  12. +++ ARPACK/SRC/znaupd.f 2007-10-24 02:50:57.000000000 +0200
  13. @@ -451,7 +451,7 @@ c | & message level for debugging
  14. c %-------------------------------%
  15. c
  16. call zstatn
  17. - call second (t0)
  18. + call secnd2 (t0)
  19. msglvl = mcaupd
  20. c
  21. c %----------------%
  22. @@ -611,7 +611,7 @@ c
  23. & '_naupd: Associated Ritz estimates')
  24. end if
  25. c
  26. - call second (t1)
  27. + call secnd2 (t1)
  28. tcaupd = t1 - t0
  29. c
  30. if (msglvl .gt. 0) then
  31. diff -up ARPACK/SRC/dgetv0.f.sb ARPACK/SRC/dgetv0.f
  32. --- ARPACK/SRC/dgetv0.f.sb 1999-04-08 00:42:47.000000000 +0200
  33. +++ ARPACK/SRC/dgetv0.f 2007-10-24 02:50:57.000000000 +0200
  34. @@ -214,7 +214,7 @@ c | Initialize timing statistics
  35. c | & message level for debugging |
  36. c %-------------------------------%
  37. c
  38. - call second (t0)
  39. + call secnd2 (t0)
  40. msglvl = mgetv0
  41. c
  42. ierr = 0
  43. @@ -241,7 +241,7 @@ c | Force the starting vector int
  44. c | the generalized problem when B is possibly (singular). |
  45. c %----------------------------------------------------------%
  46. c
  47. - call second (t2)
  48. + call secnd2 (t2)
  49. if (bmat .eq. 'G') then
  50. nopx = nopx + 1
  51. ipntr(1) = 1
  52. @@ -265,7 +265,7 @@ c
  53. if (orth) go to 40
  54. c
  55. if (bmat .eq. 'G') then
  56. - call second (t3)
  57. + call secnd2 (t3)
  58. tmvopx = tmvopx + (t3 - t2)
  59. end if
  60. c
  61. @@ -274,7 +274,7 @@ c | Starting vector is now in the ra
  62. c | Compute B-norm of starting vector. |
  63. c %------------------------------------------------------%
  64. c
  65. - call second (t2)
  66. + call secnd2 (t2)
  67. first = .TRUE.
  68. if (bmat .eq. 'G') then
  69. nbx = nbx + 1
  70. @@ -290,7 +290,7 @@ c
  71. 20 continue
  72. c
  73. if (bmat .eq. 'G') then
  74. - call second (t3)
  75. + call secnd2 (t3)
  76. tmvbx = tmvbx + (t3 - t2)
  77. end if
  78. c
  79. @@ -333,7 +333,7 @@ c %---------------------------------
  80. c | Compute the B-norm of the orthogonalized starting vector |
  81. c %----------------------------------------------------------%
  82. c
  83. - call second (t2)
  84. + call secnd2 (t2)
  85. if (bmat .eq. 'G') then
  86. nbx = nbx + 1
  87. call dcopy (n, resid, 1, workd(n+1), 1)
  88. @@ -348,7 +348,7 @@ c
  89. 40 continue
  90. c
  91. if (bmat .eq. 'G') then
  92. - call second (t3)
  93. + call secnd2 (t3)
  94. tmvbx = tmvbx + (t3 - t2)
  95. end if
  96. c
  97. @@ -406,7 +406,7 @@ c
  98. end if
  99. ido = 99
  100. c
  101. - call second (t1)
  102. + call secnd2 (t1)
  103. tgetv0 = tgetv0 + (t1 - t0)
  104. c
  105. 9000 continue
  106. diff -up ARPACK/SRC/ssgets.f.sb ARPACK/SRC/ssgets.f
  107. --- ARPACK/SRC/ssgets.f.sb 1996-04-20 18:27:30.000000000 +0200
  108. +++ ARPACK/SRC/ssgets.f 2007-10-24 02:50:57.000000000 +0200
  109. @@ -148,7 +148,7 @@ c | Initialize timing statistics |
  110. c | & message level for debugging |
  111. c %-------------------------------%
  112. c
  113. - call second (t0)
  114. + call secnd2 (t0)
  115. msglvl = msgets
  116. c
  117. if (which .eq. 'BE') then
  118. @@ -198,7 +198,7 @@ c
  119. call scopy (np, ritz, 1, shifts, 1)
  120. end if
  121. c
  122. - call second (t1)
  123. + call secnd2 (t1)
  124. tsgets = tsgets + (t1 - t0)
  125. c
  126. if (msglvl .gt. 0) then
  127. diff -up ARPACK/SRC/snaup2.f.sb ARPACK/SRC/snaup2.f
  128. --- ARPACK/SRC/snaup2.f.sb 2002-08-23 07:31:49.000000000 +0200
  129. +++ ARPACK/SRC/snaup2.f 2007-10-24 02:50:57.000000000 +0200
  130. @@ -258,7 +258,7 @@ c %-----------------------%
  131. c
  132. if (ido .eq. 0) then
  133. c
  134. - call second (t0)
  135. + call secnd2 (t0)
  136. c
  137. msglvl = mnaup2
  138. c
  139. @@ -758,7 +758,7 @@ c | the first step of the next ca
  140. c %---------------------------------------------%
  141. c
  142. cnorm = .true.
  143. - call second (t2)
  144. + call secnd2 (t2)
  145. if (bmat .eq. 'G') then
  146. nbx = nbx + 1
  147. call scopy (n, resid, 1, workd(n+1), 1)
  148. @@ -783,7 +783,7 @@ c | WORKD(1:N) := B*RESID
  149. c %----------------------------------%
  150. c
  151. if (bmat .eq. 'G') then
  152. - call second (t3)
  153. + call secnd2 (t3)
  154. tmvbx = tmvbx + (t3 - t2)
  155. end if
  156. c
  157. @@ -822,7 +822,7 @@ c %------------%
  158. c | Error Exit |
  159. c %------------%
  160. c
  161. - call second (t1)
  162. + call secnd2 (t1)
  163. tnaup2 = t1 - t0
  164. c
  165. 9000 continue
  166. diff -up ARPACK/SRC/dsgets.f.sb ARPACK/SRC/dsgets.f
  167. --- ARPACK/SRC/dsgets.f.sb 1996-04-20 18:27:14.000000000 +0200
  168. +++ ARPACK/SRC/dsgets.f 2007-10-24 02:50:57.000000000 +0200
  169. @@ -148,7 +148,7 @@ c | Initialize timing statistics |
  170. c | & message level for debugging |
  171. c %-------------------------------%
  172. c
  173. - call second (t0)
  174. + call secnd2 (t0)
  175. msglvl = msgets
  176. c
  177. if (which .eq. 'BE') then
  178. @@ -198,7 +198,7 @@ c
  179. call dcopy (np, ritz, 1, shifts, 1)
  180. end if
  181. c
  182. - call second (t1)
  183. + call secnd2 (t1)
  184. tsgets = tsgets + (t1 - t0)
  185. c
  186. if (msglvl .gt. 0) then
  187. diff -up ARPACK/SRC/dsconv.f.sb ARPACK/SRC/dsconv.f
  188. --- ARPACK/SRC/dsconv.f.sb 1996-04-20 18:27:11.000000000 +0200
  189. +++ ARPACK/SRC/dsconv.f 2007-10-24 02:50:57.000000000 +0200
  190. @@ -106,7 +106,7 @@ c %-----------------------%
  191. c | Executable Statements |
  192. c %-----------------------%
  193. c
  194. - call second (t0)
  195. + call secnd2 (t0)
  196. c
  197. eps23 = dlamch('Epsilon-Machine')
  198. eps23 = eps23**(2.0D+0 / 3.0D+0)
  199. @@ -126,7 +126,7 @@ c
  200. c
  201. 10 continue
  202. c
  203. - call second (t1)
  204. + call secnd2 (t1)
  205. tsconv = tsconv + (t1 - t0)
  206. c
  207. return
  208. diff -up ARPACK/SRC/dneigh.f.sb ARPACK/SRC/dneigh.f
  209. --- ARPACK/SRC/dneigh.f.sb 1996-04-20 18:27:06.000000000 +0200
  210. +++ ARPACK/SRC/dneigh.f 2007-10-24 02:50:57.000000000 +0200
  211. @@ -170,7 +170,7 @@ c | Initialize timing statistics |
  212. c | & message level for debugging |
  213. c %-------------------------------%
  214. c
  215. - call second (t0)
  216. + call secnd2 (t0)
  217. msglvl = mneigh
  218. c
  219. if (msglvl .gt. 2) then
  220. @@ -301,7 +301,7 @@ c
  221. & '_neigh: Ritz estimates for the eigenvalues of H')
  222. end if
  223. c
  224. - call second (t1)
  225. + call secnd2 (t1)
  226. tneigh = tneigh + (t1 - t0)
  227. c
  228. 9000 continue
  229. diff -up ARPACK/SRC/dsaitr.f.sb ARPACK/SRC/dsaitr.f
  230. --- ARPACK/SRC/dsaitr.f.sb 1996-08-28 16:21:43.000000000 +0200
  231. +++ ARPACK/SRC/dsaitr.f 2007-10-24 02:50:57.000000000 +0200
  232. @@ -300,7 +300,7 @@ c | Initialize timing statistics
  233. c | & message level for debugging |
  234. c %-------------------------------%
  235. c
  236. - call second (t0)
  237. + call secnd2 (t0)
  238. msglvl = msaitr
  239. c
  240. c %------------------------------%
  241. @@ -420,7 +420,7 @@ c | which spans OP and exit
  242. c %------------------------------------------------%
  243. c
  244. info = j - 1
  245. - call second (t1)
  246. + call secnd2 (t1)
  247. tsaitr = tsaitr + (t1 - t0)
  248. ido = 99
  249. go to 9000
  250. @@ -460,7 +460,7 @@ c %------------------------------
  251. c
  252. step3 = .true.
  253. nopx = nopx + 1
  254. - call second (t2)
  255. + call secnd2 (t2)
  256. call dcopy (n, v(1,j), 1, workd(ivj), 1)
  257. ipntr(1) = ivj
  258. ipntr(2) = irj
  259. @@ -479,7 +479,7 @@ c | Back from reverse communicati
  260. c | WORKD(IRJ:IRJ+N-1) := OP*v_{j}. |
  261. c %-----------------------------------%
  262. c
  263. - call second (t3)
  264. + call secnd2 (t3)
  265. tmvopx = tmvopx + (t3 - t2)
  266. c
  267. step3 = .false.
  268. @@ -500,7 +500,7 @@ c | assumed to have A*v_{j}.
  269. c %-------------------------------------------%
  270. c
  271. if (mode .eq. 2) go to 65
  272. - call second (t2)
  273. + call secnd2 (t2)
  274. if (bmat .eq. 'G') then
  275. nbx = nbx + 1
  276. step4 = .true.
  277. @@ -524,7 +524,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*OP*v_
  278. c %-----------------------------------%
  279. c
  280. if (bmat .eq. 'G') then
  281. - call second (t3)
  282. + call secnd2 (t3)
  283. tmvbx = tmvbx + (t3 - t2)
  284. end if
  285. c
  286. @@ -592,12 +592,12 @@ c
  287. else
  288. h(j,1) = rnorm
  289. end if
  290. - call second (t4)
  291. + call secnd2 (t4)
  292. c
  293. orth1 = .true.
  294. iter = 0
  295. c
  296. - call second (t2)
  297. + call secnd2 (t2)
  298. if (bmat .eq. 'G') then
  299. nbx = nbx + 1
  300. call dcopy (n, resid, 1, workd(irj), 1)
  301. @@ -621,7 +621,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  302. c %---------------------------------------------------%
  303. c
  304. if (bmat .eq. 'G') then
  305. - call second (t3)
  306. + call secnd2 (t3)
  307. tmvbx = tmvbx + (t3 - t2)
  308. end if
  309. c
  310. @@ -695,7 +695,7 @@ c
  311. h(j,2) = h(j,2) + workd(irj + j - 1)
  312. c
  313. orth2 = .true.
  314. - call second (t2)
  315. + call secnd2 (t2)
  316. if (bmat .eq. 'G') then
  317. nbx = nbx + 1
  318. call dcopy (n, resid, 1, workd(irj), 1)
  319. @@ -719,7 +719,7 @@ c | Back from reverse communicati
  320. c %---------------------------------------------------%
  321. c
  322. if (bmat .eq. 'G') then
  323. - call second (t3)
  324. + call secnd2 (t3)
  325. tmvbx = tmvbx + (t3 - t2)
  326. end if
  327. c
  328. @@ -791,7 +791,7 @@ c
  329. rstart = .false.
  330. orth2 = .false.
  331. c
  332. - call second (t5)
  333. + call secnd2 (t5)
  334. titref = titref + (t5 - t4)
  335. c
  336. c %----------------------------------------------------------%
  337. @@ -815,7 +815,7 @@ c %------------------------------
  338. c
  339. j = j + 1
  340. if (j .gt. k+np) then
  341. - call second (t1)
  342. + call secnd2 (t1)
  343. tsaitr = tsaitr + (t1 - t0)
  344. ido = 99
  345. c
  346. diff -up ARPACK/SRC/dnaup2.f.sb ARPACK/SRC/dnaup2.f
  347. --- ARPACK/SRC/dnaup2.f.sb 2002-08-23 07:31:50.000000000 +0200
  348. +++ ARPACK/SRC/dnaup2.f 2007-10-24 02:50:57.000000000 +0200
  349. @@ -258,7 +258,7 @@ c %-----------------------%
  350. c
  351. if (ido .eq. 0) then
  352. c
  353. - call second (t0)
  354. + call secnd2 (t0)
  355. c
  356. msglvl = mnaup2
  357. c
  358. @@ -758,7 +758,7 @@ c | the first step of the next ca
  359. c %---------------------------------------------%
  360. c
  361. cnorm = .true.
  362. - call second (t2)
  363. + call secnd2 (t2)
  364. if (bmat .eq. 'G') then
  365. nbx = nbx + 1
  366. call dcopy (n, resid, 1, workd(n+1), 1)
  367. @@ -783,7 +783,7 @@ c | WORKD(1:N) := B*RESID
  368. c %----------------------------------%
  369. c
  370. if (bmat .eq. 'G') then
  371. - call second (t3)
  372. + call secnd2 (t3)
  373. tmvbx = tmvbx + (t3 - t2)
  374. end if
  375. c
  376. @@ -822,7 +822,7 @@ c %------------%
  377. c | Error Exit |
  378. c %------------%
  379. c
  380. - call second (t1)
  381. + call secnd2 (t1)
  382. tnaup2 = t1 - t0
  383. c
  384. 9000 continue
  385. diff -up ARPACK/SRC/cneigh.f.sb ARPACK/SRC/cneigh.f
  386. --- ARPACK/SRC/cneigh.f.sb 1996-04-20 19:15:53.000000000 +0200
  387. +++ ARPACK/SRC/cneigh.f 2007-10-24 02:50:57.000000000 +0200
  388. @@ -171,7 +171,7 @@ c | Initialize timing statistics |
  389. c | & message level for debugging |
  390. c %-------------------------------%
  391. c
  392. - call second (t0)
  393. + call secnd2 (t0)
  394. msglvl = mceigh
  395. c
  396. if (msglvl .gt. 2) then
  397. @@ -244,7 +244,7 @@ c
  398. & '_neigh: Ritz estimates for the eigenvalues of H')
  399. end if
  400. c
  401. - call second(t1)
  402. + call secnd2(t1)
  403. tceigh = tceigh + (t1 - t0)
  404. c
  405. 9000 continue
  406. diff -up ARPACK/SRC/zngets.f.sb ARPACK/SRC/zngets.f
  407. --- ARPACK/SRC/zngets.f.sb 1996-04-20 19:16:02.000000000 +0200
  408. +++ ARPACK/SRC/zngets.f 2007-10-24 02:50:57.000000000 +0200
  409. @@ -137,7 +137,7 @@ c | Initialize timing statistics |
  410. c | & message level for debugging |
  411. c %-------------------------------%
  412. c
  413. - call second (t0)
  414. + call secnd2 (t0)
  415. msglvl = mcgets
  416. c
  417. call zsortc (which, .true., kev+np, ritz, bounds)
  418. @@ -157,7 +157,7 @@ c
  419. c
  420. end if
  421. c
  422. - call second (t1)
  423. + call secnd2 (t1)
  424. tcgets = tcgets + (t1 - t0)
  425. c
  426. if (msglvl .gt. 0) then
  427. diff -up ARPACK/SRC/sseigt.f.sb ARPACK/SRC/sseigt.f
  428. --- ARPACK/SRC/sseigt.f.sb 1996-08-27 07:29:04.000000000 +0200
  429. +++ ARPACK/SRC/sseigt.f 2007-10-24 02:50:57.000000000 +0200
  430. @@ -138,7 +138,7 @@ c | Initialize timing statistics |
  431. c | & message level for debugging |
  432. c %-------------------------------%
  433. c
  434. - call second (t0)
  435. + call secnd2 (t0)
  436. msglvl = mseigt
  437. c
  438. if (msglvl .gt. 0) then
  439. @@ -168,7 +168,7 @@ c
  440. bounds(k) = rnorm*abs(bounds(k))
  441. 30 continue
  442. c
  443. - call second (t1)
  444. + call secnd2 (t1)
  445. tseigt = tseigt + (t1 - t0)
  446. c
  447. 9000 continue
  448. diff -up ARPACK/SRC/dnapps.f.sb ARPACK/SRC/dnapps.f
  449. --- ARPACK/SRC/dnapps.f.sb 1998-05-20 16:58:56.000000000 +0200
  450. +++ ARPACK/SRC/dnapps.f 2007-10-24 02:50:57.000000000 +0200
  451. @@ -237,7 +237,7 @@ c | Initialize timing statistics |
  452. c | & message level for debugging |
  453. c %-------------------------------%
  454. c
  455. - call second (t0)
  456. + call secnd2 (t0)
  457. msglvl = mnapps
  458. kplusp = kev + np
  459. c
  460. @@ -635,7 +635,7 @@ c
  461. end if
  462. c
  463. 9000 continue
  464. - call second (t1)
  465. + call secnd2 (t1)
  466. tnapps = tnapps + (t1 - t0)
  467. c
  468. return
  469. diff -up ARPACK/SRC/dsapps.f.sb ARPACK/SRC/dsapps.f
  470. --- ARPACK/SRC/dsapps.f.sb 1998-05-20 16:58:59.000000000 +0200
  471. +++ ARPACK/SRC/dsapps.f 2007-10-24 02:50:57.000000000 +0200
  472. @@ -213,7 +213,7 @@ c | Initialize timing statistics |
  473. c | & message level for debugging |
  474. c %-------------------------------%
  475. c
  476. - call second (t0)
  477. + call secnd2 (t0)
  478. msglvl = msapps
  479. c
  480. kplusp = kev + np
  481. @@ -503,7 +503,7 @@ c
  482. end if
  483. end if
  484. c
  485. - call second (t1)
  486. + call secnd2 (t1)
  487. tsapps = tsapps + (t1 - t0)
  488. c
  489. 9000 continue
  490. diff -up ARPACK/SRC/ssaup2.f.sb ARPACK/SRC/ssaup2.f
  491. --- ARPACK/SRC/ssaup2.f.sb 1998-05-20 16:58:59.000000000 +0200
  492. +++ ARPACK/SRC/ssaup2.f 2007-10-24 02:50:57.000000000 +0200
  493. @@ -262,7 +262,7 @@ c | Initialize timing statistics
  494. c | & message level for debugging |
  495. c %-------------------------------%
  496. c
  497. - call second (t0)
  498. + call secnd2 (t0)
  499. msglvl = msaup2
  500. c
  501. c %---------------------------------%
  502. @@ -770,7 +770,7 @@ c | the first step of the next ca
  503. c %---------------------------------------------%
  504. c
  505. cnorm = .true.
  506. - call second (t2)
  507. + call secnd2 (t2)
  508. if (bmat .eq. 'G') then
  509. nbx = nbx + 1
  510. call scopy (n, resid, 1, workd(n+1), 1)
  511. @@ -795,7 +795,7 @@ c | WORKD(1:N) := B*RESID
  512. c %----------------------------------%
  513. c
  514. if (bmat .eq. 'G') then
  515. - call second (t3)
  516. + call secnd2 (t3)
  517. tmvbx = tmvbx + (t3 - t2)
  518. end if
  519. c
  520. @@ -837,7 +837,7 @@ c %------------%
  521. c | Error exit |
  522. c %------------%
  523. c
  524. - call second (t1)
  525. + call secnd2 (t1)
  526. tsaup2 = t1 - t0
  527. c
  528. 9000 continue
  529. diff -up ARPACK/SRC/ssaitr.f.sb ARPACK/SRC/ssaitr.f
  530. --- ARPACK/SRC/ssaitr.f.sb 1996-08-28 16:21:43.000000000 +0200
  531. +++ ARPACK/SRC/ssaitr.f 2007-10-24 02:50:57.000000000 +0200
  532. @@ -300,7 +300,7 @@ c | Initialize timing statistics
  533. c | & message level for debugging |
  534. c %-------------------------------%
  535. c
  536. - call second (t0)
  537. + call secnd2 (t0)
  538. msglvl = msaitr
  539. c
  540. c %------------------------------%
  541. @@ -420,7 +420,7 @@ c | which spans OP and exit
  542. c %------------------------------------------------%
  543. c
  544. info = j - 1
  545. - call second (t1)
  546. + call secnd2 (t1)
  547. tsaitr = tsaitr + (t1 - t0)
  548. ido = 99
  549. go to 9000
  550. @@ -460,7 +460,7 @@ c %------------------------------
  551. c
  552. step3 = .true.
  553. nopx = nopx + 1
  554. - call second (t2)
  555. + call secnd2 (t2)
  556. call scopy (n, v(1,j), 1, workd(ivj), 1)
  557. ipntr(1) = ivj
  558. ipntr(2) = irj
  559. @@ -479,7 +479,7 @@ c | Back from reverse communicati
  560. c | WORKD(IRJ:IRJ+N-1) := OP*v_{j}. |
  561. c %-----------------------------------%
  562. c
  563. - call second (t3)
  564. + call secnd2 (t3)
  565. tmvopx = tmvopx + (t3 - t2)
  566. c
  567. step3 = .false.
  568. @@ -500,7 +500,7 @@ c | assumed to have A*v_{j}.
  569. c %-------------------------------------------%
  570. c
  571. if (mode .eq. 2) go to 65
  572. - call second (t2)
  573. + call secnd2 (t2)
  574. if (bmat .eq. 'G') then
  575. nbx = nbx + 1
  576. step4 = .true.
  577. @@ -524,7 +524,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*OP*v_
  578. c %-----------------------------------%
  579. c
  580. if (bmat .eq. 'G') then
  581. - call second (t3)
  582. + call secnd2 (t3)
  583. tmvbx = tmvbx + (t3 - t2)
  584. end if
  585. c
  586. @@ -592,12 +592,12 @@ c
  587. else
  588. h(j,1) = rnorm
  589. end if
  590. - call second (t4)
  591. + call secnd2 (t4)
  592. c
  593. orth1 = .true.
  594. iter = 0
  595. c
  596. - call second (t2)
  597. + call secnd2 (t2)
  598. if (bmat .eq. 'G') then
  599. nbx = nbx + 1
  600. call scopy (n, resid, 1, workd(irj), 1)
  601. @@ -621,7 +621,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  602. c %---------------------------------------------------%
  603. c
  604. if (bmat .eq. 'G') then
  605. - call second (t3)
  606. + call secnd2 (t3)
  607. tmvbx = tmvbx + (t3 - t2)
  608. end if
  609. c
  610. @@ -695,7 +695,7 @@ c
  611. h(j,2) = h(j,2) + workd(irj + j - 1)
  612. c
  613. orth2 = .true.
  614. - call second (t2)
  615. + call secnd2 (t2)
  616. if (bmat .eq. 'G') then
  617. nbx = nbx + 1
  618. call scopy (n, resid, 1, workd(irj), 1)
  619. @@ -719,7 +719,7 @@ c | Back from reverse communicati
  620. c %---------------------------------------------------%
  621. c
  622. if (bmat .eq. 'G') then
  623. - call second (t3)
  624. + call secnd2 (t3)
  625. tmvbx = tmvbx + (t3 - t2)
  626. end if
  627. c
  628. @@ -791,7 +791,7 @@ c
  629. rstart = .false.
  630. orth2 = .false.
  631. c
  632. - call second (t5)
  633. + call secnd2 (t5)
  634. titref = titref + (t5 - t4)
  635. c
  636. c %----------------------------------------------------------%
  637. @@ -815,7 +815,7 @@ c %------------------------------
  638. c
  639. j = j + 1
  640. if (j .gt. k+np) then
  641. - call second (t1)
  642. + call secnd2 (t1)
  643. tsaitr = tsaitr + (t1 - t0)
  644. ido = 99
  645. c
  646. diff -up ARPACK/SRC/snapps.f.sb ARPACK/SRC/snapps.f
  647. --- ARPACK/SRC/snapps.f.sb 1998-05-20 16:58:55.000000000 +0200
  648. +++ ARPACK/SRC/snapps.f 2007-10-24 02:50:57.000000000 +0200
  649. @@ -237,7 +237,7 @@ c | Initialize timing statistics |
  650. c | & message level for debugging |
  651. c %-------------------------------%
  652. c
  653. - call second (t0)
  654. + call secnd2 (t0)
  655. msglvl = mnapps
  656. kplusp = kev + np
  657. c
  658. @@ -635,7 +635,7 @@ c
  659. end if
  660. c
  661. 9000 continue
  662. - call second (t1)
  663. + call secnd2 (t1)
  664. tnapps = tnapps + (t1 - t0)
  665. c
  666. return
  667. diff -up ARPACK/SRC/dnaitr.f.sb ARPACK/SRC/dnaitr.f
  668. --- ARPACK/SRC/dnaitr.f.sb 1996-08-27 18:09:00.000000000 +0200
  669. +++ ARPACK/SRC/dnaitr.f 2007-10-24 02:50:57.000000000 +0200
  670. @@ -319,7 +319,7 @@ c | Initialize timing statistics
  671. c | & message level for debugging |
  672. c %-------------------------------%
  673. c
  674. - call second (t0)
  675. + call secnd2 (t0)
  676. msglvl = mnaitr
  677. c
  678. c %------------------------------%
  679. @@ -430,7 +430,7 @@ c | which spans OP and exit
  680. c %------------------------------------------------%
  681. c
  682. info = j - 1
  683. - call second (t1)
  684. + call secnd2 (t1)
  685. tnaitr = tnaitr + (t1 - t0)
  686. ido = 99
  687. go to 9000
  688. @@ -470,7 +470,7 @@ c %------------------------------
  689. c
  690. step3 = .true.
  691. nopx = nopx + 1
  692. - call second (t2)
  693. + call secnd2 (t2)
  694. call dcopy (n, v(1,j), 1, workd(ivj), 1)
  695. ipntr(1) = ivj
  696. ipntr(2) = irj
  697. @@ -490,7 +490,7 @@ c | WORKD(IRJ:IRJ+N-1) := OP*v_{j
  698. c | if step3 = .true. |
  699. c %----------------------------------%
  700. c
  701. - call second (t3)
  702. + call secnd2 (t3)
  703. tmvopx = tmvopx + (t3 - t2)
  704. step3 = .false.
  705. @@ -506,7 +506,7 @@ c | STEP 4: Finish extending the
  706. c | factorization to length j. |
  707. c %---------------------------------------%
  708. c
  709. - call second (t2)
  710. + call secnd2 (t2)
  711. if (bmat .eq. 'G') then
  712. nbx = nbx + 1
  713. step4 = .true.
  714. @@ -531,7 +531,7 @@ c | if step4 = .true.
  715. c %----------------------------------%
  716. c
  717. if (bmat .eq. 'G') then
  718. - call second (t3)
  719. + call secnd2 (t3)
  720. tmvbx = tmvbx + (t3 - t2)
  721. end if
  722. c
  723. @@ -576,11 +576,11 @@ c
  724. c
  725. if (j .gt. 1) h(j,j-1) = betaj
  726. c
  727. - call second (t4)
  728. + call secnd2 (t4)
  729. c
  730. orth1 = .true.
  731. c
  732. - call second (t2)
  733. + call secnd2 (t2)
  734. if (bmat .eq. 'G') then
  735. nbx = nbx + 1
  736. call dcopy (n, resid, 1, workd(irj), 1)
  737. @@ -604,7 +604,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  738. c %---------------------------------------------------%
  739. c
  740. if (bmat .eq. 'G') then
  741. - call second (t3)
  742. + call secnd2 (t3)
  743. tmvbx = tmvbx + (t3 - t2)
  744. end if
  745. c
  746. @@ -681,7 +681,7 @@ c
  747. call daxpy (j, one, workd(irj), 1, h(1,j), 1)
  748. c
  749. orth2 = .true.
  750. - call second (t2)
  751. + call secnd2 (t2)
  752. if (bmat .eq. 'G') then
  753. nbx = nbx + 1
  754. call dcopy (n, resid, 1, workd(irj), 1)
  755. @@ -705,7 +705,7 @@ c | Back from reverse communicati
  756. c %---------------------------------------------------%
  757. c
  758. if (bmat .eq. 'G') then
  759. - call second (t3)
  760. + call secnd2 (t3)
  761. tmvbx = tmvbx + (t3 - t2)
  762. end if
  763. c
  764. @@ -783,7 +783,7 @@ c
  765. rstart = .false.
  766. orth2 = .false.
  767. c
  768. - call second (t5)
  769. + call secnd2 (t5)
  770. titref = titref + (t5 - t4)
  771. c
  772. c %------------------------------------%
  773. @@ -792,7 +792,7 @@ c %------------------------------
  774. c
  775. j = j + 1
  776. if (j .gt. k+np) then
  777. - call second (t1)
  778. + call secnd2 (t1)
  779. tnaitr = tnaitr + (t1 - t0)
  780. ido = 99
  781. do 110 i = max(1,k), k+np-1
  782. diff -up ARPACK/SRC/sneigh.f.sb ARPACK/SRC/sneigh.f
  783. --- ARPACK/SRC/sneigh.f.sb 1996-04-20 18:27:22.000000000 +0200
  784. +++ ARPACK/SRC/sneigh.f 2007-10-24 02:50:57.000000000 +0200
  785. @@ -170,7 +170,7 @@ c | Initialize timing statistics |
  786. c | & message level for debugging |
  787. c %-------------------------------%
  788. c
  789. - call second (t0)
  790. + call secnd2 (t0)
  791. msglvl = mneigh
  792. c
  793. if (msglvl .gt. 2) then
  794. @@ -301,7 +301,7 @@ c
  795. & '_neigh: Ritz estimates for the eigenvalues of H')
  796. end if
  797. c
  798. - call second (t1)
  799. + call secnd2 (t1)
  800. tneigh = tneigh + (t1 - t0)
  801. c
  802. 9000 continue
  803. diff -up ARPACK/SRC/dsaup2.f.sb ARPACK/SRC/dsaup2.f
  804. --- ARPACK/SRC/dsaup2.f.sb 1998-05-20 16:59:00.000000000 +0200
  805. +++ ARPACK/SRC/dsaup2.f 2007-10-24 02:50:57.000000000 +0200
  806. @@ -262,7 +262,7 @@ c | Initialize timing statistics
  807. c | & message level for debugging |
  808. c %-------------------------------%
  809. c
  810. - call second (t0)
  811. + call secnd2 (t0)
  812. msglvl = msaup2
  813. c
  814. c %---------------------------------%
  815. @@ -770,7 +770,7 @@ c | the first step of the next ca
  816. c %---------------------------------------------%
  817. c
  818. cnorm = .true.
  819. - call second (t2)
  820. + call secnd2 (t2)
  821. if (bmat .eq. 'G') then
  822. nbx = nbx + 1
  823. call dcopy (n, resid, 1, workd(n+1), 1)
  824. @@ -795,7 +795,7 @@ c | WORKD(1:N) := B*RESID
  825. c %----------------------------------%
  826. c
  827. if (bmat .eq. 'G') then
  828. - call second (t3)
  829. + call secnd2 (t3)
  830. tmvbx = tmvbx + (t3 - t2)
  831. end if
  832. c
  833. @@ -837,7 +837,7 @@ c %------------%
  834. c | Error exit |
  835. c %------------%
  836. c
  837. - call second (t1)
  838. + call secnd2 (t1)
  839. tsaup2 = t1 - t0
  840. c
  841. 9000 continue
  842. diff -up ARPACK/SRC/snaupd.f.sb ARPACK/SRC/snaupd.f
  843. --- ARPACK/SRC/snaupd.f.sb 2002-08-23 07:29:34.000000000 +0200
  844. +++ ARPACK/SRC/snaupd.f 2007-10-24 02:50:57.000000000 +0200
  845. @@ -476,7 +476,7 @@ c | & message level for debugging
  846. c %-------------------------------%
  847. c
  848. call sstatn
  849. - call second (t0)
  850. + call secnd2 (t0)
  851. msglvl = mnaupd
  852. c
  853. c %----------------%
  854. @@ -640,7 +640,7 @@ c
  855. & '_naupd: Associated Ritz estimates')
  856. end if
  857. c
  858. - call second (t1)
  859. + call secnd2 (t1)
  860. tnaupd = t1 - t0
  861. c
  862. if (msglvl .gt. 0) then
  863. diff -up ARPACK/SRC/znapps.f.sb ARPACK/SRC/znapps.f
  864. --- ARPACK/SRC/znapps.f.sb 1998-05-20 16:45:03.000000000 +0200
  865. +++ ARPACK/SRC/znapps.f 2007-10-24 02:50:57.000000000 +0200
  866. @@ -240,7 +240,7 @@ c | Initialize timing statistics |
  867. c | & message level for debugging |
  868. c %-------------------------------%
  869. c
  870. - call second (t0)
  871. + call secnd2 (t0)
  872. msglvl = mcapps
  873. c
  874. kplusp = kev + np
  875. @@ -495,7 +495,7 @@ c
  876. end if
  877. c
  878. 9000 continue
  879. - call second (t1)
  880. + call secnd2 (t1)
  881. tcapps = tcapps + (t1 - t0)
  882. c
  883. return
  884. diff -up ARPACK/SRC/znaitr.f.sb ARPACK/SRC/znaitr.f
  885. --- ARPACK/SRC/znaitr.f.sb 1996-08-27 18:12:57.000000000 +0200
  886. +++ ARPACK/SRC/znaitr.f 2007-10-24 02:50:57.000000000 +0200
  887. @@ -326,7 +326,7 @@ c | Initialize timing statistics
  888. c | & message level for debugging |
  889. c %-------------------------------%
  890. c
  891. - call second (t0)
  892. + call secnd2 (t0)
  893. msglvl = mcaitr
  894. c
  895. c %------------------------------%
  896. @@ -437,7 +437,7 @@ c | which spans OP and exit
  897. c %------------------------------------------------%
  898. c
  899. info = j - 1
  900. - call second (t1)
  901. + call secnd2 (t1)
  902. tcaitr = tcaitr + (t1 - t0)
  903. ido = 99
  904. go to 9000
  905. @@ -477,7 +477,7 @@ c %------------------------------
  906. c
  907. step3 = .true.
  908. nopx = nopx + 1
  909. - call second (t2)
  910. + call secnd2 (t2)
  911. call zcopy (n, v(1,j), 1, workd(ivj), 1)
  912. ipntr(1) = ivj
  913. ipntr(2) = irj
  914. @@ -497,7 +497,7 @@ c | WORKD(IRJ:IRJ+N-1) := OP*v_{j
  915. c | if step3 = .true. |
  916. c %----------------------------------%
  917. c
  918. - call second (t3)
  919. + call secnd2 (t3)
  920. tmvopx = tmvopx + (t3 - t2)
  921. step3 = .false.
  922. @@ -513,7 +513,7 @@ c | STEP 4: Finish extending the
  923. c | factorization to length j. |
  924. c %---------------------------------------%
  925. c
  926. - call second (t2)
  927. + call secnd2 (t2)
  928. if (bmat .eq. 'G') then
  929. nbx = nbx + 1
  930. step4 = .true.
  931. @@ -538,7 +538,7 @@ c | if step4 = .true.
  932. c %----------------------------------%
  933. c
  934. if (bmat .eq. 'G') then
  935. - call second (t3)
  936. + call secnd2 (t3)
  937. tmvbx = tmvbx + (t3 - t2)
  938. end if
  939. c
  940. @@ -583,11 +583,11 @@ c
  941. c
  942. if (j .gt. 1) h(j,j-1) = dcmplx(betaj, rzero)
  943. c
  944. - call second (t4)
  945. + call secnd2 (t4)
  946. c
  947. orth1 = .true.
  948. c
  949. - call second (t2)
  950. + call secnd2 (t2)
  951. if (bmat .eq. 'G') then
  952. nbx = nbx + 1
  953. call zcopy (n, resid, 1, workd(irj), 1)
  954. @@ -611,7 +611,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  955. c %---------------------------------------------------%
  956. c
  957. if (bmat .eq. 'G') then
  958. - call second (t3)
  959. + call secnd2 (t3)
  960. tmvbx = tmvbx + (t3 - t2)
  961. end if
  962. c
  963. @@ -689,7 +689,7 @@ c
  964. call zaxpy (j, one, workd(irj), 1, h(1,j), 1)
  965. c
  966. orth2 = .true.
  967. - call second (t2)
  968. + call secnd2 (t2)
  969. if (bmat .eq. 'G') then
  970. nbx = nbx + 1
  971. call zcopy (n, resid, 1, workd(irj), 1)
  972. @@ -713,7 +713,7 @@ c | Back from reverse communicati
  973. c %---------------------------------------------------%
  974. c
  975. if (bmat .eq. 'G') then
  976. - call second (t3)
  977. + call secnd2 (t3)
  978. tmvbx = tmvbx + (t3 - t2)
  979. end if
  980. c
  981. @@ -791,7 +791,7 @@ c
  982. rstart = .false.
  983. orth2 = .false.
  984. c
  985. - call second (t5)
  986. + call secnd2 (t5)
  987. titref = titref + (t5 - t4)
  988. c
  989. c %------------------------------------%
  990. @@ -800,7 +800,7 @@ c %------------------------------
  991. c
  992. j = j + 1
  993. if (j .gt. k+np) then
  994. - call second (t1)
  995. + call secnd2 (t1)
  996. tcaitr = tcaitr + (t1 - t0)
  997. ido = 99
  998. do 110 i = max(1,k), k+np-1
  999. diff -up ARPACK/SRC/zgetv0.f.sb ARPACK/SRC/zgetv0.f
  1000. --- ARPACK/SRC/zgetv0.f.sb 1999-04-08 00:46:45.000000000 +0200
  1001. +++ ARPACK/SRC/zgetv0.f 2007-10-24 02:50:57.000000000 +0200
  1002. @@ -211,7 +211,7 @@ c | Initialize timing statistics
  1003. c | & message level for debugging |
  1004. c %-------------------------------%
  1005. c
  1006. - call second (t0)
  1007. + call secnd2 (t0)
  1008. msglvl = mgetv0
  1009. c
  1010. ierr = 0
  1011. @@ -238,7 +238,7 @@ c | Force the starting vector int
  1012. c | the generalized problem when B is possibly (singular). |
  1013. c %----------------------------------------------------------%
  1014. c
  1015. - call second (t2)
  1016. + call secnd2 (t2)
  1017. if (bmat .eq. 'G') then
  1018. nopx = nopx + 1
  1019. ipntr(1) = 1
  1020. @@ -261,7 +261,7 @@ c %---------------------------------
  1021. c
  1022. if (orth) go to 40
  1023. c
  1024. - call second (t3)
  1025. + call secnd2 (t3)
  1026. tmvopx = tmvopx + (t3 - t2)
  1027. c
  1028. c %------------------------------------------------------%
  1029. @@ -269,7 +269,7 @@ c | Starting vector is now in the ra
  1030. c | Compute B-norm of starting vector. |
  1031. c %------------------------------------------------------%
  1032. c
  1033. - call second (t2)
  1034. + call secnd2 (t2)
  1035. first = .TRUE.
  1036. if (bmat .eq. 'G') then
  1037. nbx = nbx + 1
  1038. @@ -285,7 +285,7 @@ c
  1039. 20 continue
  1040. c
  1041. if (bmat .eq. 'G') then
  1042. - call second (t3)
  1043. + call secnd2 (t3)
  1044. tmvbx = tmvbx + (t3 - t2)
  1045. end if
  1046. c
  1047. @@ -328,7 +328,7 @@ c %---------------------------------
  1048. c | Compute the B-norm of the orthogonalized starting vector |
  1049. c %----------------------------------------------------------%
  1050. c
  1051. - call second (t2)
  1052. + call secnd2 (t2)
  1053. if (bmat .eq. 'G') then
  1054. nbx = nbx + 1
  1055. call zcopy (n, resid, 1, workd(n+1), 1)
  1056. @@ -343,7 +343,7 @@ c
  1057. 40 continue
  1058. c
  1059. if (bmat .eq. 'G') then
  1060. - call second (t3)
  1061. + call secnd2 (t3)
  1062. tmvbx = tmvbx + (t3 - t2)
  1063. end if
  1064. c
  1065. @@ -401,7 +401,7 @@ c
  1066. end if
  1067. ido = 99
  1068. c
  1069. - call second (t1)
  1070. + call secnd2 (t1)
  1071. tgetv0 = tgetv0 + (t1 - t0)
  1072. c
  1073. 9000 continue
  1074. diff -up ARPACK/SRC/zneigh.f.sb ARPACK/SRC/zneigh.f
  1075. --- ARPACK/SRC/zneigh.f.sb 1996-04-20 19:16:01.000000000 +0200
  1076. +++ ARPACK/SRC/zneigh.f 2007-10-24 02:50:57.000000000 +0200
  1077. @@ -171,7 +171,7 @@ c | Initialize timing statistics |
  1078. c | & message level for debugging |
  1079. c %-------------------------------%
  1080. c
  1081. - call second (t0)
  1082. + call secnd2 (t0)
  1083. msglvl = mceigh
  1084. c
  1085. if (msglvl .gt. 2) then
  1086. @@ -244,7 +244,7 @@ c
  1087. & '_neigh: Ritz estimates for the eigenvalues of H')
  1088. end if
  1089. c
  1090. - call second(t1)
  1091. + call secnd2(t1)
  1092. tceigh = tceigh + (t1 - t0)
  1093. c
  1094. 9000 continue
  1095. diff -up ARPACK/SRC/cnaupd.f.sb ARPACK/SRC/cnaupd.f
  1096. --- ARPACK/SRC/cnaupd.f.sb 2002-08-15 07:50:57.000000000 +0200
  1097. +++ ARPACK/SRC/cnaupd.f 2007-10-24 02:50:57.000000000 +0200
  1098. @@ -451,7 +451,7 @@ c | & message level for debugging
  1099. c %-------------------------------%
  1100. c
  1101. call cstatn
  1102. - call second (t0)
  1103. + call secnd2 (t0)
  1104. msglvl = mcaupd
  1105. c
  1106. c %----------------%
  1107. @@ -611,7 +611,7 @@ c
  1108. & '_naupd: Associated Ritz estimates')
  1109. end if
  1110. c
  1111. - call second (t1)
  1112. + call secnd2 (t1)
  1113. tcaupd = t1 - t0
  1114. c
  1115. if (msglvl .gt. 0) then
  1116. diff -up ARPACK/SRC/cgetv0.f.sb ARPACK/SRC/cgetv0.f
  1117. --- ARPACK/SRC/cgetv0.f.sb 1999-04-08 00:46:44.000000000 +0200
  1118. +++ ARPACK/SRC/cgetv0.f 2007-10-24 02:50:57.000000000 +0200
  1119. @@ -211,7 +211,7 @@ c | Initialize timing statistics
  1120. c | & message level for debugging |
  1121. c %-------------------------------%
  1122. c
  1123. - call second (t0)
  1124. + call secnd2 (t0)
  1125. msglvl = mgetv0
  1126. c
  1127. ierr = 0
  1128. @@ -238,7 +238,7 @@ c | Force the starting vector int
  1129. c | the generalized problem when B is possibly (singular). |
  1130. c %----------------------------------------------------------%
  1131. c
  1132. - call second (t2)
  1133. + call secnd2 (t2)
  1134. if (bmat .eq. 'G') then
  1135. nopx = nopx + 1
  1136. ipntr(1) = 1
  1137. @@ -261,7 +261,7 @@ c %---------------------------------
  1138. c
  1139. if (orth) go to 40
  1140. c
  1141. - call second (t3)
  1142. + call secnd2 (t3)
  1143. tmvopx = tmvopx + (t3 - t2)
  1144. c
  1145. c %------------------------------------------------------%
  1146. @@ -269,7 +269,7 @@ c | Starting vector is now in the ra
  1147. c | Compute B-norm of starting vector. |
  1148. c %------------------------------------------------------%
  1149. c
  1150. - call second (t2)
  1151. + call secnd2 (t2)
  1152. first = .TRUE.
  1153. if (bmat .eq. 'G') then
  1154. nbx = nbx + 1
  1155. @@ -285,7 +285,7 @@ c
  1156. 20 continue
  1157. c
  1158. if (bmat .eq. 'G') then
  1159. - call second (t3)
  1160. + call secnd2 (t3)
  1161. tmvbx = tmvbx + (t3 - t2)
  1162. end if
  1163. c
  1164. @@ -328,7 +328,7 @@ c %---------------------------------
  1165. c | Compute the B-norm of the orthogonalized starting vector |
  1166. c %----------------------------------------------------------%
  1167. c
  1168. - call second (t2)
  1169. + call secnd2 (t2)
  1170. if (bmat .eq. 'G') then
  1171. nbx = nbx + 1
  1172. call ccopy (n, resid, 1, workd(n+1), 1)
  1173. @@ -343,7 +343,7 @@ c
  1174. 40 continue
  1175. c
  1176. if (bmat .eq. 'G') then
  1177. - call second (t3)
  1178. + call secnd2 (t3)
  1179. tmvbx = tmvbx + (t3 - t2)
  1180. end if
  1181. c
  1182. @@ -401,7 +401,7 @@ c
  1183. end if
  1184. ido = 99
  1185. c
  1186. - call second (t1)
  1187. + call secnd2 (t1)
  1188. tgetv0 = tgetv0 + (t1 - t0)
  1189. c
  1190. 9000 continue
  1191. diff -up ARPACK/SRC/sgetv0.f.sb ARPACK/SRC/sgetv0.f
  1192. --- ARPACK/SRC/sgetv0.f.sb 1999-04-08 00:42:46.000000000 +0200
  1193. +++ ARPACK/SRC/sgetv0.f 2007-10-24 02:50:57.000000000 +0200
  1194. @@ -214,7 +214,7 @@ c | Initialize timing statistics
  1195. c | & message level for debugging |
  1196. c %-------------------------------%
  1197. c
  1198. - call second (t0)
  1199. + call secnd2 (t0)
  1200. msglvl = mgetv0
  1201. c
  1202. ierr = 0
  1203. @@ -241,7 +241,7 @@ c | Force the starting vector int
  1204. c | the generalized problem when B is possibly (singular). |
  1205. c %----------------------------------------------------------%
  1206. c
  1207. - call second (t2)
  1208. + call secnd2 (t2)
  1209. if (bmat .eq. 'G') then
  1210. nopx = nopx + 1
  1211. ipntr(1) = 1
  1212. @@ -265,7 +265,7 @@ c
  1213. if (orth) go to 40
  1214. c
  1215. if (bmat .eq. 'G') then
  1216. - call second (t3)
  1217. + call secnd2 (t3)
  1218. tmvopx = tmvopx + (t3 - t2)
  1219. end if
  1220. c
  1221. @@ -274,7 +274,7 @@ c | Starting vector is now in the ra
  1222. c | Compute B-norm of starting vector. |
  1223. c %------------------------------------------------------%
  1224. c
  1225. - call second (t2)
  1226. + call secnd2 (t2)
  1227. first = .TRUE.
  1228. if (bmat .eq. 'G') then
  1229. nbx = nbx + 1
  1230. @@ -290,7 +290,7 @@ c
  1231. 20 continue
  1232. c
  1233. if (bmat .eq. 'G') then
  1234. - call second (t3)
  1235. + call secnd2 (t3)
  1236. tmvbx = tmvbx + (t3 - t2)
  1237. end if
  1238. c
  1239. @@ -333,7 +333,7 @@ c %---------------------------------
  1240. c | Compute the B-norm of the orthogonalized starting vector |
  1241. c %----------------------------------------------------------%
  1242. c
  1243. - call second (t2)
  1244. + call secnd2 (t2)
  1245. if (bmat .eq. 'G') then
  1246. nbx = nbx + 1
  1247. call scopy (n, resid, 1, workd(n+1), 1)
  1248. @@ -348,7 +348,7 @@ c
  1249. 40 continue
  1250. c
  1251. if (bmat .eq. 'G') then
  1252. - call second (t3)
  1253. + call secnd2 (t3)
  1254. tmvbx = tmvbx + (t3 - t2)
  1255. end if
  1256. c
  1257. @@ -406,7 +406,7 @@ c
  1258. end if
  1259. ido = 99
  1260. c
  1261. - call second (t1)
  1262. + call secnd2 (t1)
  1263. tgetv0 = tgetv0 + (t1 - t0)
  1264. c
  1265. 9000 continue
  1266. diff -up ARPACK/SRC/dnaupd.f.sb ARPACK/SRC/dnaupd.f
  1267. --- ARPACK/SRC/dnaupd.f.sb 2002-08-23 07:29:34.000000000 +0200
  1268. +++ ARPACK/SRC/dnaupd.f 2007-10-24 02:50:57.000000000 +0200
  1269. @@ -476,7 +476,7 @@ c | & message level for debugging
  1270. c %-------------------------------%
  1271. c
  1272. call dstatn
  1273. - call second (t0)
  1274. + call secnd2 (t0)
  1275. msglvl = mnaupd
  1276. c
  1277. c %----------------%
  1278. @@ -640,7 +640,7 @@ c
  1279. & '_naupd: Associated Ritz estimates')
  1280. end if
  1281. c
  1282. - call second (t1)
  1283. + call secnd2 (t1)
  1284. tnaupd = t1 - t0
  1285. c
  1286. if (msglvl .gt. 0) then
  1287. diff -up ARPACK/SRC/cnaitr.f.sb ARPACK/SRC/cnaitr.f
  1288. --- ARPACK/SRC/cnaitr.f.sb 1996-08-27 18:12:56.000000000 +0200
  1289. +++ ARPACK/SRC/cnaitr.f 2007-10-24 02:50:57.000000000 +0200
  1290. @@ -326,7 +326,7 @@ c | Initialize timing statistics
  1291. c | & message level for debugging |
  1292. c %-------------------------------%
  1293. c
  1294. - call second (t0)
  1295. + call secnd2 (t0)
  1296. msglvl = mcaitr
  1297. c
  1298. c %------------------------------%
  1299. @@ -437,7 +437,7 @@ c | which spans OP and exit
  1300. c %------------------------------------------------%
  1301. c
  1302. info = j - 1
  1303. - call second (t1)
  1304. + call secnd2 (t1)
  1305. tcaitr = tcaitr + (t1 - t0)
  1306. ido = 99
  1307. go to 9000
  1308. @@ -477,7 +477,7 @@ c %------------------------------
  1309. c
  1310. step3 = .true.
  1311. nopx = nopx + 1
  1312. - call second (t2)
  1313. + call secnd2 (t2)
  1314. call ccopy (n, v(1,j), 1, workd(ivj), 1)
  1315. ipntr(1) = ivj
  1316. ipntr(2) = irj
  1317. @@ -497,7 +497,7 @@ c | WORKD(IRJ:IRJ+N-1) := OP*v_{j
  1318. c | if step3 = .true. |
  1319. c %----------------------------------%
  1320. c
  1321. - call second (t3)
  1322. + call secnd2 (t3)
  1323. tmvopx = tmvopx + (t3 - t2)
  1324. step3 = .false.
  1325. @@ -513,7 +513,7 @@ c | STEP 4: Finish extending the
  1326. c | factorization to length j. |
  1327. c %---------------------------------------%
  1328. c
  1329. - call second (t2)
  1330. + call secnd2 (t2)
  1331. if (bmat .eq. 'G') then
  1332. nbx = nbx + 1
  1333. step4 = .true.
  1334. @@ -538,7 +538,7 @@ c | if step4 = .true.
  1335. c %----------------------------------%
  1336. c
  1337. if (bmat .eq. 'G') then
  1338. - call second (t3)
  1339. + call secnd2 (t3)
  1340. tmvbx = tmvbx + (t3 - t2)
  1341. end if
  1342. c
  1343. @@ -583,11 +583,11 @@ c
  1344. c
  1345. if (j .gt. 1) h(j,j-1) = cmplx(betaj, rzero)
  1346. c
  1347. - call second (t4)
  1348. + call secnd2 (t4)
  1349. c
  1350. orth1 = .true.
  1351. c
  1352. - call second (t2)
  1353. + call secnd2 (t2)
  1354. if (bmat .eq. 'G') then
  1355. nbx = nbx + 1
  1356. call ccopy (n, resid, 1, workd(irj), 1)
  1357. @@ -611,7 +611,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  1358. c %---------------------------------------------------%
  1359. c
  1360. if (bmat .eq. 'G') then
  1361. - call second (t3)
  1362. + call secnd2 (t3)
  1363. tmvbx = tmvbx + (t3 - t2)
  1364. end if
  1365. c
  1366. @@ -689,7 +689,7 @@ c
  1367. call caxpy (j, one, workd(irj), 1, h(1,j), 1)
  1368. c
  1369. orth2 = .true.
  1370. - call second (t2)
  1371. + call secnd2 (t2)
  1372. if (bmat .eq. 'G') then
  1373. nbx = nbx + 1
  1374. call ccopy (n, resid, 1, workd(irj), 1)
  1375. @@ -713,7 +713,7 @@ c | Back from reverse communicati
  1376. c %---------------------------------------------------%
  1377. c
  1378. if (bmat .eq. 'G') then
  1379. - call second (t3)
  1380. + call secnd2 (t3)
  1381. tmvbx = tmvbx + (t3 - t2)
  1382. end if
  1383. c
  1384. @@ -791,7 +791,7 @@ c
  1385. rstart = .false.
  1386. orth2 = .false.
  1387. c
  1388. - call second (t5)
  1389. + call secnd2 (t5)
  1390. titref = titref + (t5 - t4)
  1391. c
  1392. c %------------------------------------%
  1393. @@ -800,7 +800,7 @@ c %------------------------------
  1394. c
  1395. j = j + 1
  1396. if (j .gt. k+np) then
  1397. - call second (t1)
  1398. + call secnd2 (t1)
  1399. tcaitr = tcaitr + (t1 - t0)
  1400. ido = 99
  1401. do 110 i = max(1,k), k+np-1
  1402. diff -up ARPACK/SRC/dsaupd.f.sb ARPACK/SRC/dsaupd.f
  1403. --- ARPACK/SRC/dsaupd.f.sb 2001-04-11 00:52:40.000000000 +0200
  1404. +++ ARPACK/SRC/dsaupd.f 2007-10-24 02:50:57.000000000 +0200
  1405. @@ -478,7 +478,7 @@ c | & message level for debugging
  1406. c %-------------------------------%
  1407. c
  1408. call dstats
  1409. - call second (t0)
  1410. + call secnd2 (t0)
  1411. msglvl = msaupd
  1412. c
  1413. ierr = 0
  1414. @@ -638,7 +638,7 @@ c
  1415. & '_saupd: corresponding error bounds')
  1416. end if
  1417. c
  1418. - call second (t1)
  1419. + call secnd2 (t1)
  1420. tsaupd = t1 - t0
  1421. c
  1422. if (msglvl .gt. 0) then
  1423. diff -up ARPACK/SRC/znaup2.f.sb ARPACK/SRC/znaup2.f
  1424. --- ARPACK/SRC/znaup2.f.sb 2000-06-01 22:28:53.000000000 +0200
  1425. +++ ARPACK/SRC/znaup2.f 2007-10-24 02:50:57.000000000 +0200
  1426. @@ -264,7 +264,7 @@ c %-----------------------%
  1427. c
  1428. if (ido .eq. 0) then
  1429. c
  1430. - call second (t0)
  1431. + call secnd2 (t0)
  1432. c
  1433. msglvl = mcaup2
  1434. c
  1435. @@ -724,7 +724,7 @@ c | the first step of the next ca
  1436. c %---------------------------------------------%
  1437. c
  1438. cnorm = .true.
  1439. - call second (t2)
  1440. + call secnd2 (t2)
  1441. if (bmat .eq. 'G') then
  1442. nbx = nbx + 1
  1443. call zcopy (n, resid, 1, workd(n+1), 1)
  1444. @@ -749,7 +749,7 @@ c | WORKD(1:N) := B*RESID
  1445. c %----------------------------------%
  1446. c
  1447. if (bmat .eq. 'G') then
  1448. - call second (t3)
  1449. + call secnd2 (t3)
  1450. tmvbx = tmvbx + (t3 - t2)
  1451. end if
  1452. c
  1453. @@ -788,7 +788,7 @@ c %------------%
  1454. c | Error Exit |
  1455. c %------------%
  1456. c
  1457. - call second (t1)
  1458. + call secnd2 (t1)
  1459. tcaup2 = t1 - t0
  1460. c
  1461. 9000 continue
  1462. diff -up ARPACK/SRC/snaitr.f.sb ARPACK/SRC/snaitr.f
  1463. --- ARPACK/SRC/snaitr.f.sb 1996-08-27 18:09:01.000000000 +0200
  1464. +++ ARPACK/SRC/snaitr.f 2007-10-24 02:50:57.000000000 +0200
  1465. @@ -319,7 +319,7 @@ c | Initialize timing statistics
  1466. c | & message level for debugging |
  1467. c %-------------------------------%
  1468. c
  1469. - call second (t0)
  1470. + call secnd2 (t0)
  1471. msglvl = mnaitr
  1472. c
  1473. c %------------------------------%
  1474. @@ -430,7 +430,7 @@ c | which spans OP and exit
  1475. c %------------------------------------------------%
  1476. c
  1477. info = j - 1
  1478. - call second (t1)
  1479. + call secnd2 (t1)
  1480. tnaitr = tnaitr + (t1 - t0)
  1481. ido = 99
  1482. go to 9000
  1483. @@ -470,7 +470,7 @@ c %------------------------------
  1484. c
  1485. step3 = .true.
  1486. nopx = nopx + 1
  1487. - call second (t2)
  1488. + call secnd2 (t2)
  1489. call scopy (n, v(1,j), 1, workd(ivj), 1)
  1490. ipntr(1) = ivj
  1491. ipntr(2) = irj
  1492. @@ -490,7 +490,7 @@ c | WORKD(IRJ:IRJ+N-1) := OP*v_{j
  1493. c | if step3 = .true. |
  1494. c %----------------------------------%
  1495. c
  1496. - call second (t3)
  1497. + call secnd2 (t3)
  1498. tmvopx = tmvopx + (t3 - t2)
  1499. step3 = .false.
  1500. @@ -506,7 +506,7 @@ c | STEP 4: Finish extending the
  1501. c | factorization to length j. |
  1502. c %---------------------------------------%
  1503. c
  1504. - call second (t2)
  1505. + call secnd2 (t2)
  1506. if (bmat .eq. 'G') then
  1507. nbx = nbx + 1
  1508. step4 = .true.
  1509. @@ -531,7 +531,7 @@ c | if step4 = .true.
  1510. c %----------------------------------%
  1511. c
  1512. if (bmat .eq. 'G') then
  1513. - call second (t3)
  1514. + call secnd2 (t3)
  1515. tmvbx = tmvbx + (t3 - t2)
  1516. end if
  1517. c
  1518. @@ -576,11 +576,11 @@ c
  1519. c
  1520. if (j .gt. 1) h(j,j-1) = betaj
  1521. c
  1522. - call second (t4)
  1523. + call secnd2 (t4)
  1524. c
  1525. orth1 = .true.
  1526. c
  1527. - call second (t2)
  1528. + call secnd2 (t2)
  1529. if (bmat .eq. 'G') then
  1530. nbx = nbx + 1
  1531. call scopy (n, resid, 1, workd(irj), 1)
  1532. @@ -604,7 +604,7 @@ c | WORKD(IPJ:IPJ+N-1) := B*r_{j}
  1533. c %---------------------------------------------------%
  1534. c
  1535. if (bmat .eq. 'G') then
  1536. - call second (t3)
  1537. + call secnd2 (t3)
  1538. tmvbx = tmvbx + (t3 - t2)
  1539. end if
  1540. c
  1541. @@ -681,7 +681,7 @@ c
  1542. call saxpy (j, one, workd(irj), 1, h(1,j), 1)
  1543. c
  1544. orth2 = .true.
  1545. - call second (t2)
  1546. + call secnd2 (t2)
  1547. if (bmat .eq. 'G') then
  1548. nbx = nbx + 1
  1549. call scopy (n, resid, 1, workd(irj), 1)
  1550. @@ -705,7 +705,7 @@ c | Back from reverse communicati
  1551. c %---------------------------------------------------%
  1552. c
  1553. if (bmat .eq. 'G') then
  1554. - call second (t3)
  1555. + call secnd2 (t3)
  1556. tmvbx = tmvbx + (t3 - t2)
  1557. end if
  1558. c
  1559. @@ -783,7 +783,7 @@ c
  1560. rstart = .false.
  1561. orth2 = .false.
  1562. c
  1563. - call second (t5)
  1564. + call secnd2 (t5)
  1565. titref = titref + (t5 - t4)
  1566. c
  1567. c %------------------------------------%
  1568. @@ -792,7 +792,7 @@ c %------------------------------
  1569. c
  1570. j = j + 1
  1571. if (j .gt. k+np) then
  1572. - call second (t1)
  1573. + call secnd2 (t1)
  1574. tnaitr = tnaitr + (t1 - t0)
  1575. ido = 99
  1576. do 110 i = max(1,k), k+np-1
  1577. diff -up ARPACK/SRC/cnapps.f.sb ARPACK/SRC/cnapps.f
  1578. --- ARPACK/SRC/cnapps.f.sb 1998-05-20 16:45:03.000000000 +0200
  1579. +++ ARPACK/SRC/cnapps.f 2007-10-24 02:50:57.000000000 +0200
  1580. @@ -240,7 +240,7 @@ c | Initialize timing statistics |
  1581. c | & message level for debugging |
  1582. c %-------------------------------%
  1583. c
  1584. - call second (t0)
  1585. + call secnd2 (t0)
  1586. msglvl = mcapps
  1587. c
  1588. kplusp = kev + np
  1589. @@ -495,7 +495,7 @@ c
  1590. end if
  1591. c
  1592. 9000 continue
  1593. - call second (t1)
  1594. + call secnd2 (t1)
  1595. tcapps = tcapps + (t1 - t0)
  1596. c
  1597. return
  1598. diff -up ARPACK/SRC/dnconv.f.sb ARPACK/SRC/dnconv.f
  1599. --- ARPACK/SRC/dnconv.f.sb 1996-04-20 18:27:05.000000000 +0200
  1600. +++ ARPACK/SRC/dnconv.f 2007-10-24 02:50:57.000000000 +0200
  1601. @@ -119,7 +119,7 @@ c |
  1602. c | for some appropriate choice of norm. |
  1603. c %-------------------------------------------------------------%
  1604. c
  1605. - call second (t0)
  1606. + call secnd2 (t0)
  1607. c
  1608. c %---------------------------------%
  1609. c | Get machine dependent constant. |
  1610. @@ -134,7 +134,7 @@ c
  1611. if (bounds(i) .le. tol*temp) nconv = nconv + 1
  1612. 20 continue
  1613. c
  1614. - call second (t1)
  1615. + call secnd2 (t1)
  1616. tnconv = tnconv + (t1 - t0)
  1617. c
  1618. return
  1619. diff -up ARPACK/SRC/dngets.f.sb ARPACK/SRC/dngets.f
  1620. --- ARPACK/SRC/dngets.f.sb 1996-04-20 18:27:07.000000000 +0200
  1621. +++ ARPACK/SRC/dngets.f 2007-10-24 02:50:57.000000000 +0200
  1622. @@ -152,7 +152,7 @@ c | Initialize timing statistics |
  1623. c | & message level for debugging |
  1624. c %-------------------------------%
  1625. c
  1626. - call second (t0)
  1627. + call secnd2 (t0)
  1628. msglvl = mngets
  1629. c
  1630. c %----------------------------------------------------%
  1631. @@ -208,7 +208,7 @@ c
  1632. call dsortc ( 'SR', .true., np, bounds, ritzr, ritzi )
  1633. end if
  1634. c
  1635. - call second (t1)
  1636. + call secnd2 (t1)
  1637. tngets = tngets + (t1 - t0)
  1638. c
  1639. if (msglvl .gt. 0) then
  1640. diff -up ARPACK/SRC/ssconv.f.sb ARPACK/SRC/ssconv.f
  1641. --- ARPACK/SRC/ssconv.f.sb 1996-04-20 18:27:27.000000000 +0200
  1642. +++ ARPACK/SRC/ssconv.f 2007-10-24 02:50:57.000000000 +0200
  1643. @@ -106,7 +106,7 @@ c %-----------------------%
  1644. c | Executable Statements |
  1645. c %-----------------------%
  1646. c
  1647. - call second (t0)
  1648. + call secnd2 (t0)
  1649. c
  1650. eps23 = slamch('Epsilon-Machine')
  1651. eps23 = eps23**(2.0E+0 / 3.0E+0)
  1652. @@ -126,7 +126,7 @@ c
  1653. c
  1654. 10 continue
  1655. c
  1656. - call second (t1)
  1657. + call secnd2 (t1)
  1658. tsconv = tsconv + (t1 - t0)
  1659. c
  1660. return
  1661. diff -up ARPACK/SRC/ssapps.f.sb ARPACK/SRC/ssapps.f
  1662. --- ARPACK/SRC/ssapps.f.sb 1998-05-20 16:58:58.000000000 +0200
  1663. +++ ARPACK/SRC/ssapps.f 2007-10-24 02:50:57.000000000 +0200
  1664. @@ -213,7 +213,7 @@ c | Initialize timing statistics |
  1665. c | & message level for debugging |
  1666. c %-------------------------------%
  1667. c
  1668. - call second (t0)
  1669. + call secnd2 (t0)
  1670. msglvl = msapps
  1671. c
  1672. kplusp = kev + np
  1673. @@ -503,7 +503,7 @@ c
  1674. end if
  1675. end if
  1676. c
  1677. - call second (t1)
  1678. + call secnd2 (t1)
  1679. tsapps = tsapps + (t1 - t0)
  1680. c
  1681. 9000 continue
  1682. diff -up ARPACK/SRC/ssaupd.f.sb ARPACK/SRC/ssaupd.f
  1683. --- ARPACK/SRC/ssaupd.f.sb 2001-04-11 00:52:40.000000000 +0200
  1684. +++ ARPACK/SRC/ssaupd.f 2007-10-24 02:50:57.000000000 +0200
  1685. @@ -478,7 +478,7 @@ c | & message level for debugging
  1686. c %-------------------------------%
  1687. c
  1688. call sstats
  1689. - call second (t0)
  1690. + call secnd2 (t0)
  1691. msglvl = msaupd
  1692. c
  1693. ierr = 0
  1694. @@ -638,7 +638,7 @@ c
  1695. & '_saupd: corresponding error bounds')
  1696. end if
  1697. c
  1698. - call second (t1)
  1699. + call secnd2 (t1)
  1700. tsaupd = t1 - t0
  1701. c
  1702. if (msglvl .gt. 0) then
  1703. diff -up ARPACK/SRC/snconv.f.sb ARPACK/SRC/snconv.f
  1704. --- ARPACK/SRC/snconv.f.sb 1996-04-20 18:27:21.000000000 +0200
  1705. +++ ARPACK/SRC/snconv.f 2007-10-24 02:50:57.000000000 +0200
  1706. @@ -119,7 +119,7 @@ c |
  1707. c | for some appropriate choice of norm. |
  1708. c %-------------------------------------------------------------%
  1709. c
  1710. - call second (t0)
  1711. + call secnd2 (t0)
  1712. c
  1713. c %---------------------------------%
  1714. c | Get machine dependent constant. |
  1715. @@ -134,7 +134,7 @@ c
  1716. if (bounds(i) .le. tol*temp) nconv = nconv + 1
  1717. 20 continue
  1718. c
  1719. - call second (t1)
  1720. + call secnd2 (t1)
  1721. tnconv = tnconv + (t1 - t0)
  1722. c
  1723. return
  1724. diff -up ARPACK/SRC/cnaup2.f.sb ARPACK/SRC/cnaup2.f
  1725. --- ARPACK/SRC/cnaup2.f.sb 2000-06-01 22:28:53.000000000 +0200
  1726. +++ ARPACK/SRC/cnaup2.f 2007-10-24 02:50:57.000000000 +0200
  1727. @@ -264,7 +264,7 @@ c %-----------------------%
  1728. c
  1729. if (ido .eq. 0) then
  1730. c
  1731. - call second (t0)
  1732. + call secnd2 (t0)
  1733. c
  1734. msglvl = mcaup2
  1735. c
  1736. @@ -724,7 +724,7 @@ c | the first step of the next ca
  1737. c %---------------------------------------------%
  1738. c
  1739. cnorm = .true.
  1740. - call second (t2)
  1741. + call secnd2 (t2)
  1742. if (bmat .eq. 'G') then
  1743. nbx = nbx + 1
  1744. call ccopy (n, resid, 1, workd(n+1), 1)
  1745. @@ -749,7 +749,7 @@ c | WORKD(1:N) := B*RESID
  1746. c %----------------------------------%
  1747. c
  1748. if (bmat .eq. 'G') then
  1749. - call second (t3)
  1750. + call secnd2 (t3)
  1751. tmvbx = tmvbx + (t3 - t2)
  1752. end if
  1753. c
  1754. @@ -788,7 +788,7 @@ c %------------%
  1755. c | Error Exit |
  1756. c %------------%
  1757. c
  1758. - call second (t1)
  1759. + call secnd2 (t1)
  1760. tcaup2 = t1 - t0
  1761. c
  1762. 9000 continue
  1763. diff -up ARPACK/SRC/dseigt.f.sb ARPACK/SRC/dseigt.f
  1764. --- ARPACK/SRC/dseigt.f.sb 1996-08-27 07:29:04.000000000 +0200
  1765. +++ ARPACK/SRC/dseigt.f 2007-10-24 02:50:57.000000000 +0200
  1766. @@ -138,7 +138,7 @@ c | Initialize timing statistics |
  1767. c | & message level for debugging |
  1768. c %-------------------------------%
  1769. c
  1770. - call second (t0)
  1771. + call secnd2 (t0)
  1772. msglvl = mseigt
  1773. c
  1774. if (msglvl .gt. 0) then
  1775. @@ -168,7 +168,7 @@ c
  1776. bounds(k) = rnorm*abs(bounds(k))
  1777. 30 continue
  1778. c
  1779. - call second (t1)
  1780. + call secnd2 (t1)
  1781. tseigt = tseigt + (t1 - t0)
  1782. c
  1783. 9000 continue
  1784. diff -up ARPACK/SRC/sngets.f.sb ARPACK/SRC/sngets.f
  1785. --- ARPACK/SRC/sngets.f.sb 1996-04-20 18:27:24.000000000 +0200
  1786. +++ ARPACK/SRC/sngets.f 2007-10-24 02:50:57.000000000 +0200
  1787. @@ -152,7 +152,7 @@ c | Initialize timing statistics |
  1788. c | & message level for debugging |
  1789. c %-------------------------------%
  1790. c
  1791. - call second (t0)
  1792. + call secnd2 (t0)
  1793. msglvl = mngets
  1794. c
  1795. c %----------------------------------------------------%
  1796. @@ -208,7 +208,7 @@ c
  1797. call ssortc ( 'SR', .true., np, bounds, ritzr, ritzi )
  1798. end if
  1799. c
  1800. - call second (t1)
  1801. + call secnd2 (t1)
  1802. tngets = tngets + (t1 - t0)
  1803. c
  1804. if (msglvl .gt. 0) then
  1805. diff -up ARPACK/SRC/cngets.f.sb ARPACK/SRC/cngets.f
  1806. --- ARPACK/SRC/cngets.f.sb 1996-04-20 19:15:56.000000000 +0200
  1807. +++ ARPACK/SRC/cngets.f 2007-10-24 02:50:57.000000000 +0200
  1808. @@ -137,7 +137,7 @@ c | Initialize timing statistics |
  1809. c | & message level for debugging |
  1810. c %-------------------------------%
  1811. c
  1812. - call second (t0)
  1813. + call secnd2 (t0)
  1814. msglvl = mcgets
  1815. c
  1816. call csortc (which, .true., kev+np, ritz, bounds)
  1817. @@ -157,7 +157,7 @@ c
  1818. c
  1819. end if
  1820. c
  1821. - call second (t1)
  1822. + call secnd2 (t1)
  1823. tcgets = tcgets + (t1 - t0)
  1824. c
  1825. if (msglvl .gt. 0) then