Changeset 38d77eb for main.f


Ignore:
Timestamp:
11/19/09 11:29:48 (14 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
7137e5d
Parents:
32289cd
Message:

Redirected standard out to logString.

SMMP produced a lot of log messages. This became an issue when run in massively
parallel environments. I replaced all writes to standard out to a write to logString.
The next step is to pass this string to a function that writes the messages to a log
file according to their importance and the chosen log level.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/smmp/trunk@34 26dc1dd8-5c4e-0410-9ffe-d298b4865968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.f

    r32289cd r38d77eb  
    8181
    8282      ntlml = 0
    83       write (*,*) 'Solvent: ', itysol
     83      write (logString, *) 'Solvent: ', itysol
    8484!     Initialize random number generator.
    8585      call sgrnd(31433)
     
    118118       lrand = .true.
    119119       E = energy()
    120        write(*,*) E, eyel,eyvw,eyhb,eyvr
     120       write (logString, *) E, eyel,eyvw,eyhb,eyvr
    121121       call outpdb(1, "polyA.pdb")
    122122!      Canonical Monte Carlo
    123 !        call canon(nequi, nsweep, nmes, temp, lrand)
     123       call canon(nequi, nsweep, nmes, temp, lrand)
    124124
    125125!      For simulated annealing uncomment the lines below
Note: See TracChangeset for help on using the changeset viewer.