Here is a reproducible test case: -------------- start of test.do ------------------ ## requires stata and ssc install runmlwin describe ! ulimit -a ## this call to runmlwin writes out a script and calls a windows program via wine1.3 with the script as an argument. runmlwin normexam cons standlrt, level2(school:) level1(student: cons) mlwinsettings(size(85000)) batch ----------- end of test.do------------------------ -------------test.submit--------------------- ######################################################## ## ## ## CONDOR SUBMIT FILE FOR LINUX ## ## ######################################################## universe = vanilla # I'm using NFS: should_transfer_files = no getenv = true executable = /path/to/stata arguments = -s do test.do output = test_stata_submit.cout error = test_stata_submit.cerr log = /tmp/test_stata_submit.clog queue ------------ END OF test.submit ----------------- The STATA file test.do works when run from the command line (# stata -s do test.do). But when i run it via condor (# condor_submit test.submit). I get the following error (i've modified runmlwin.ado to produce more debug output): ---------start of output------------ NOTE Initialise MLwiN storage INIT 3 85000 1500 3 error while obeying batch file /var/lib/condor/execute/dir_7545/St07546.000008 at line number 9: INIT 3 85000 1500 3 Unable to allocate 85000 k worksheet cells. Worksheet size unchanged. number of levels : 3 worksheet size(k cells) :50000 number of columns : 1500 number of expl. vars. : 3 number of links : 20 error while obeying batch file /var/lib/condor/execute/dir_7545/St07546.000008 at line number 9: INIT 3 85000 1500 3 Unable to allocate 85000 k worksheet cells. Worksheet size unchanged.. Execution completed --- Begin MLwiN error log --- ---------end of output------------ We've already gone to great lengths to make sure linux & condor isn't configured to limit memory allocation. This makes me think perhaps wine is considering libraries condor shares with stata as part of the mlwin processes' address space thus effectively limiting the memory available - but i'm reaching beyond my expertise here. hence the plea for help! thanks, jason On Mar 28, 2012, at 5:48 PM, Ian Chesal wrote:
|