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

    r32289cd r38d77eb  
    6666      integer ir
    6767
    68 
     68      character(255) logString
     69     
    6970      parameter ( eps1=0.1d0,
    7071     &            eps2=0.7d0,
     
    142143
    143144    3 if (nfun.ge.maxfun) then
    144 !c        write (*,*) ' minfor> exceeded max. number of function calls'
     145!c        write (logString, *) ' minfor> exceeded max. number of function calls'
    145146        return
    146147      endif
     
    224225            goto 2
    225226          else               ! rank of new matrix is deficient
    226             write (*,*) ' minfor> rank of hessian < number of variables'
     227            write (logString, *)
     228     &       ' minfor> rank of hessian < number of variables'
    227229            return
    228230          endif
Note: See TracChangeset for help on using the changeset viewer.