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

    r32289cd r38d77eb  
    3030!     functions
    3131      integer nursat
     32
    3233
    3334      integer numbox, inbox, indsort, look, i, ii, ia, ib, ibox, icount
     
    157158        numbox(j)=nboxj
    158159        if (nboxj.gt.mxbox) then
    159          write(*,'(a)') 'enysol> bad mxboxe-2'
    160          write(*,*) 'diagnostics ...'
    161          write(*,*) 'atom ',j
    162          write(*,*) 'position ',xat(j),yat(j),zat(j)
    163          write(*,*) 'box indices ',mx,my,mz
    164          write(*,*) 'resulting boxindex and limit ',nboxj,mxbox
     160         write (logString, '(a)') 'enysol> bad mxboxe-2'
     161         write (logString, *) 'diagnostics ...'
     162         write (logString, *) 'atom ',j
     163         write (logString, *) 'position ',xat(j),yat(j),zat(j)
     164         write (logString, *) 'box indices ',mx,my,mz
     165         write (logString, *) 'resulting boxindex and limit ',
     166     &      nboxj,mxbox
    165167
    166168         stop
     
    350352
    351353      read(lin(1:5),'(i5)') npnt
    352 !       write(*,'(a,i5)') 'the number of points---->',npnt
     354!       write (logString, '(a,i5)') 'the number of points---->',npnt
    353355
    354356!    Read the surface points
Note: See TracChangeset for help on using the changeset viewer.