sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.

Ticket #24: lhapdf-mem.patch

File lhapdf-mem.patch, 672 bytes (added by Frank Siegert, 16 years ago)
  • ATOOLS/Org/Run_Parameter.C

     
    88#include "MyStrStream.H"
    99#include "Shell_Tools.H"
    1010#include "Library_Loader.H"
     11#include "CXXFLAGS_PACKAGES.H"
    1112#include <stdlib.h>
    1213#include <termios.h>
    1314#include <unistd.h>
     
    180181  rlimit lims;
    181182  getrlimit(RLIMIT_AS,&lims);
    182183  long int slim(getpmem());
     184#ifdef USING__LHAPDF
     185  slim+=400000000;
     186#endif
    183187  msg_Tracking()<<METHOD<<"(): Getting memory limit "
    184188                <<slim/double(1<<30)<<" GB."<<std::endl;
    185189  std::vector<std::string> aspars;