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

    r32289cd r38d77eb  
    8282
    8383      if (nml.lt.1.or.nml.gt.ntlml) then
    84         write(*,*) ' rmsdopt>  Sorry, there is no molecule #',nml
     84        write (logString, *) ' rmsdopt>  Sorry, there is no molecule #',
     85     &     nml
    8586        stop
    8687      endif
     
    137138
    138139      if (n.lt.3) then
    139         write(*,*) ' rmsdopt>  <3 atoms selected !'
     140        write (logString, *) ' rmsdopt>  <3 atoms selected !'
    140141        stop
    141142      endif
     
    290291      integer n,nrot,i,ip,iq,j
    291292
    292 
     293      character(255) logString
    293294      real*8 a(n,n),d(n),v(n,n),
    294295     &       c,g,h,s,sm,t,tau,theta,tresh,b(NMAX),z(NMAX),smeps
     
    403404      enddo
    404405
    405       write(*,*) ' jacobi> too many iterations'
     406      write (logString, *) ' jacobi> too many iterations'
    406407      stop
    407408
Note: See TracChangeset for help on using the changeset viewer.