[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] _CONDOR_SCRATCH_DIR in submit file?



On 10/25/2016 02:40 PM, Brian Bockelman wrote:

> Would MOUNT_UNDER_SCRATCH=/tmp work here?

Yes, thank you, we have a winner.

Unfortunately it still terminates with signal 1 so perhaps PostCmd would
have worked too. I'll have to look at that matlab program... but anyway:

> universe = vanilla
> executable = //compiled_matlab_program//
> environment = "LD_LIBRARY_PATH=""${LD_LIBRARY_PATH}://MCR_LIBRARY_PATHS//"" "

will run a "compiled" matlab program without a wrapper script -- with
preinstalled matlab runtime of course, and "MOUNT_UNDER_SCRATCH = /tmp"
on the worker node.

Might be worth getting into matlab jobs howto.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature