Running latexmk on multiple documents in parallel errors due to lualatex font cache
Marei Peischl
tex at mareipeischl.de
Fri Mar 25 14:57:54 CET 2022
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.