source: src/Jobs/MPQCJob_binding.hpp@ c41ce0

Candidate_v1.7.0 stable
Last change on this file since c41ce0 was 6294b6, checked in by Frederik Heber <frederik.heber@…>, 3 months ago

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.
  • Property mode set to 100644
File size: 615 bytes
RevLine 
[1b01e9]1/*
2 * MPQCJob_binding.hpp
3 *
4 * Created on: Feb 11, 2013
5 * Author: heber
6 */
7
8#ifndef MPQCJOB_BINDING_HPP_
9#define MPQCJOB_BINDING_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16// force binding to libMolecuilderJobs
17#include "Jobs/MPQCJob.hpp"
18
19namespace __detail {
20 /** This is a dummy function to enforce binding of the executable to the
21 * jobs library.
22 */
23 void instantiateDummyMPQCJob()
24 {
25 const double begin[3] = { 0., 0., 0. };
[3d9a8d]26 const double end[3] = { 1., 1., 1. };
[6294b6]27 MPQCJob job(1, "test.in", begin, end, 2, 0);
[1b01e9]28 }
29}
30
31#endif /* MPQCJOB_BINDING_HPP_ */
Note: See TracBrowser for help on using the repository browser.