Changeset 38d77eb for cnteny.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
  • cnteny.f

    r32289cd r38d77eb  
    3737
    3838      if (ntlvr.eq.0) then
    39         write (*,'(a,i4)')
     39        write (logString, '(a,i4)')
    4040     &           ' cnteny> No variables defined in molecule #',nml
    4141        return
     
    184184          nbc=nbc+1
    185185          ir=nursat(i)
    186           write(*,'(1x,i4,1x,a4,1x,a4,a2,e11.4)') ir,seq(ir),nmat(i),
    187      &                                           ': ',ey
     186          write (logString, '(1x,i4,1x,a4,1x,a4,a2,e11.4)') ir,seq(ir),
     187     &       nmat(i), ': ',ey
    188188        endif
    189189      enddo
Note: See TracChangeset for help on using the changeset viewer.