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

Re: [HTCondor-users] anyone ever ran tex under condor?

Is it possible that the job doesn't have "getenv = True" set and the HOME environment variable is thus not set, so the shell in the HTCondor job is not able to evaluate ~ correctly? And wherever it does try to create .texlive2007 doesn't have write permission?

An alternative to getenv including the whole pile of environment variables is to include the HOME environment variable in the submit description like so:

Environment = "HOME=$ENV(HOME)"

	-Michael Pelletier.

> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On
> Behalf Of Dimitri Maziuk
> Sent: Wednesday, March 22, 2017 2:39 PM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: [HTCondor-users] anyone ever ran tex under condor?
> Hi all,
> I'm trying to run a job that generates a fancy pdf report, it works for regular
> user but under condor the output is all blank pages. The culprit seems to be
> ~/.textlive2007/texmf-var/fonts/pk/... subdirectory where it generates
> scaled (?) font files. These don't seem to be generated under condor.
> Has anyone run into it before and knows what the fix is?
> Please share.
> (This is stock centos 6 RPMs)
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu