Running latexmk on multiple documents in parallel errors due to lualatex font cache

Alexander Krumeich alexander.krumeich at gmail.com
Sat Mar 26 11:40:08 CET 2022


Thanks, Marei! This is a viable workaround for an issue that is
described at https://github.com/latex3/luaotfload/issues/157

Your solution is better than setting an individual TEXMFCACHE variable
per concurrent run.

   Alexander

On Fri, Mar 25, 2022 at 3:47 PM Marei Peischl via tex-live
<tex-live at tug.org> wrote:
>
> Hi Max,
>
> On 25.03.22 13:39, Maximilian Nöthe wrote:
> >
> > Hi everyone,
> >
> > Running multiple latexmk commands in parallel to produce many documents,
> > I encountered the issue that latexmk does not finish and runs into its
> > limit for
> > the number of compilations due to the updating of the lualatex font
> > cache of
> > the different parallel jobs:
> >
> > Latexmk: applying rule 'pdflatex'...
> > Rule 'pdflatex': File changes, etc:
> >     Changed files, or newly in use since previous run(s):
> >    /root/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc
> >
> > Latexmk: Failure in processing file 'smda00_organisation.tex':
> >     'pdflatex' needed too many passes
> > ----------------------
>
> You can tell latexmk to ignore changes in the luc files by adding
>
> $hash_calc_ignore_pattern{'luc'}='^';
>
> to your latexmk configuration files. That should help.
>
>
> Though I'd expect such a question rather via texhax
> (https://tug.org/mailman/listinfo/texhax) instead of the TeX Live list.
>
> Best,
>
> Marei
>
> > Is there any way to avoid this?
> >
> > Cheers
> > Max
> >
> > --
> > Dr.
> > Maximilian Nöthe
> > PostDoc Astroteilchenphysik
> >
> > Technische Universität Dortmund
> > Fakultät Physik / Astroteilchenphysik
> > Otto-Hahn-Str. 4a
> > 44227 Dortmund
> >
> > Tel.: +49 231 755 8895
> > maximilian.noethe at tu-dortmund.de
> > https://app.tu-dortmund.de



More information about the tex-live mailing list.