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

    r32289cd r38d77eb  
    130130     &   +(zold(j)-zold(i))**2! Distance between atom i and j
    131131       if(ddp.lt.1e-10) then
    132          write(*,*)'ERROR in data: centres of two atoms coincide!'
    133          write(*,*)i,j,xold(i),yold(i),zold(i),rvdw(i),
     132         write (logString, *)
     133     &      'ERROR in data: centres of two atoms coincide!'
     134         write (logString, *)i,j,xold(i),yold(i),zold(i),rvdw(i),
    134135     &                   xold(j),yold(j),zold(j),rvdw(j)
    135136         stop 'Centres of atoms coincide!'
Note: See TracChangeset for help on using the changeset viewer.