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

    r32289cd r38d77eb  
    6666
    6767!----Initialize solvation part if necessary
    68       write (*,*) 'init_energy: itysol = ',itysol
    69       write(*,*) 'init_energy: esol_scaling = ',isolscl
     68      write (logString, *) 'init_energy: itysol = ',itysol
     69      write (logString, *) 'init_energy: esol_scaling = ',isolscl
    7070
    7171      its = iabs(itysol)
     
    8282
    8383        if (itysol.ne.0) then
    84           write(*,'(a)') ' init_energy>  undefined solvent type !'
     84          write (logString, '(a)')
     85     &      ' init_energy>  undefined solvent type !'
    8586          stop
    8687        endif
     
    9697      return
    9798
    98  10   write (*, '(a)') 'Cannot open the file with surface points'
     99 10   write (logString,  '(a)')
     100     &   'Cannot open the file with surface points'
    99101      stop
    100102
Note: See TracChangeset for help on using the changeset viewer.