Ignore:
Timestamp:
Aug 11, 2025, 5:43:56 PM (3 months ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
c41ce0
Parents:
c099dc
git-author:
Frederik Heber <frederik.heber@…> (05/02/24 22:20:01)
git-committer:
Frederik Heber <frederik.heber@…> (08/11/25 17:43:56)
Message:

MPQCJob mutes output on verbosity level 0 and unmutes else.

  • we redirect stdout to /dev/null when verbose level of 0 is set.
  • passing on verbosity level to MPQCJob.
  • Tested that the verbosity can be changed per executed job and will not be touched with a job of the same verbosity level.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Jobs/MPQCJob.hpp

    rc099dc r6294b6  
    3939      const double _begin[NDIM],
    4040      const double _end[NDIM],
    41       const int _level);
     41      const int _level,
     42      const int _verbose);
    4243  virtual ~MPQCJob();
    4344
     
    4950  //!> whether to sample just the valence or the total electron and nuclei density
    5051  MPQCData::DoValenceOnly_t DoValenceOnly;
     52
     53  //!> verbosity level of mpqc: 0 will mute all std out
     54  int verbose;
    5155
    5256private:
     
    6973    ar & DoLongrange;
    7074    ar & DoValenceOnly;
     75    ar & verbose;
    7176    ar & const_cast<std::string &>(inputfile);
    7277    ar & const_cast<SamplingGridProperties &>(grid);
Note: See TracChangeset for help on using the changeset viewer.