Ticket #24: lhapdf-mem.patch
File lhapdf-mem.patch, 672 bytes (added by , 16 years ago) |
---|
-
ATOOLS/Org/Run_Parameter.C
8 8 #include "MyStrStream.H" 9 9 #include "Shell_Tools.H" 10 10 #include "Library_Loader.H" 11 #include "CXXFLAGS_PACKAGES.H" 11 12 #include <stdlib.h> 12 13 #include <termios.h> 13 14 #include <unistd.h> … … 180 181 rlimit lims; 181 182 getrlimit(RLIMIT_AS,&lims); 182 183 long int slim(getpmem()); 184 #ifdef USING__LHAPDF 185 slim+=400000000; 186 #endif 183 187 msg_Tracking()<<METHOD<<"(): Getting memory limit " 184 188 <<slim/double(1<<30)<<" GB."<<std::endl; 185 189 std::vector<std::string> aspars;