void KV_CCIN2P3_GE::ChooseJobMemory() { KVString tmp = ""; cout << "Enter max memory per job (xKB/xMB/xGB) [" << fDefJobMem.Data() << "] : "; cout.flush(); tmp.ReadToDelim(cin); SetJobMemory(tmp.Data()); }
void KV_CCIN2P3_GE::ChooseJobDisk() { KVString tmp = ""; cout << "Enter max scratch disk per job (xKB/xMB/xGB) [" << fDefJobDisk.Data() << "] : "; cout.flush(); tmp.ReadToDelim(cin); SetJobDisk(tmp.Data()); }
void KV_CCIN2P3_GE::ChooseJobTime() { KVString tmp = ""; cout << "Enter max CPU time per job (ss/mn:ss/hh:mn:ss) [" << fDefJobTime << "] : "; cout.flush(); tmp.ReadToDelim(cin); if (!tmp.Length()) { SetJobTime(); return; } else SetJobTime(tmp); }