Changeset 9497 for trunk


Ignore:
Timestamp:
08/18/09 14:14:53 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9493 r9497  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2009/08/18 Thomas Bretz
     22
     23   * Makefile:
     24     - replaced $OSTYPE by a call to "uname -s" converted to lower
     25       case for compatibility
     26
     27   * mjobs/MJob.cc:
     28     - output the name of the resoruce file in SetupEnv for convinience
     29
     30   * mjobs/MJCut.cc:
     31     - write command line to output
     32
     33   * mbase/MEvtLoop.cc:
     34     - improved some output
     35
     36
     37
    2138 2009/08/14 Daniela Dorner
    2239
     
    179196     - added getter for command line
    180197
    181    * mjobs/MJCalibration.cc, mjobs/MJCut.cc, mjobs/MJSpectrum.cc,
     198   * mjobs/MJCalibration.cc, mjobs/MJSpectrum.cc,
    182199     mjobs/MJStar.cc, mjobs/MJCalibrateSignal.cc:
    183200     - write command line to output
  • trunk/MagicSoft/Mars/Makefile

    r9383 r9497  
    1515#
    1616#
     17
     18OSTYPE=$(shell uname -s | tr '[:upper:]' '[:lower:]')
     19
    1720include Makefile.conf.$(OSTYPE)
    1821include Makefile.conf.general
  • trunk/MagicSoft/Mars/NEWS

    r9489 r9497  
    1919
    2020   * All programs now store the command line as TNamed "CommandLine"
     21
     22   * the environment variable OSTYPE should now be obsolete. Instead
     23     the output of "uname -s" converted to lower cases is used
    2124
    2225 ;showplot:
     
    103106
    104107   * jobmanager can be used more flexible now: via environnent variable
    105      $AUTOMATIONSETUO more than one jobmanager per user can be started
     108     $AUTOMATIONSETUP more than one jobmanager per user can be started
    106109     using the same MARS version
    107110     Usage: export AUTOMATIONSETUP=mysetup ; /fullpath/jobmanager
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r9422 r9497  
    10301030    prefix += ".";
    10311031
    1032     *fLog << inf << "Reading resources for " << prefix /*TEnv::fRcName << " from " << env.GetRcName()*/ << endl;
     1032    *fLog << inf << "Looking for resources with prefix " << prefix /*TEnv::fRcName << " from " << env.GetRcName()*/ << endl;
    10331033
    10341034    fLog->ReadEnv(env, prefix, print);
     
    10421042    if (fParList->ReadEnv(env, prefix, print)==kERROR)
    10431043    {
    1044         *fLog << err << "ERROR - Reading Environment file." << endl;
     1044        *fLog << err << "ERROR - Reading resource file." << endl;
    10451045        return kFALSE;
    10461046    }
     
    11001100    prefix += ".";
    11011101
    1102     *fLog << inf << "Writing resources: " << prefix /*TEnv::fRcName << " to " << env.GetRcName()*/ << endl;
     1102    *fLog << inf << "Writing resources with prefix " << prefix /*TEnv::fRcName << " to " << env.GetRcName()*/ << endl;
    11031103
    11041104    fLog->WriteEnv(env, prefix, print);
     
    11131113    if (fParList->WriteEnv(env, prefix, print)!=kTRUE)
    11141114    {
    1115         *fLog << err << "ERROR - Writing Environment file." << endl;
     1115        *fLog << err << "ERROR - Writing resource file." << endl;
    11161116        return kFALSE;
    11171117    }
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r9374 r9497  
    320320    if (fDisplay)
    321321        arr.Add(fDisplay);
     322
     323    TNamed cmdline("CommandLine", fCommandLine.Data());
     324    arr.Add(&cmdline);
    322325
    323326    const Int_t num = set.GetNumAnalysis();
  • trunk/MagicSoft/Mars/mjobs/MJob.cc

    r9471 r9497  
    381381        return kTRUE;
    382382
     383    *fLog << all << "Evaluating resources from: " << fEnv->GetRcName() << endl;
     384
    383385    if (!loop.ReadEnv(*fEnv, fEnvPrefix, fEnvDebug>2))
    384386        return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.