After migrating to a new machine (running Mathematica 11.2 on Linux), I am experience a problem with packages in the autoload directory not loading when I launch parallel kernels.
The setup I use is as follows (I've used this before on previous Mathematica versions, where it worked perfectly.)
- In
\$UserBaseDirectory/Autoload/AddPaththere is a single fileinit.m. - This file contains a single line:
AppendTo[\$Path,(some directory)]
This works perfectly when launch a main kernel, adding the necessary directory to my $Path. However, the path is not added when launching parallel kernels using LaunchKernels[]. This is weird since this worked on other machines (running earlier versions). Has something changed in this new version? Alternative, is there something the system administrator (not me in this case) could have messed up when setting op Mathematica?
Autoload/AddPath/Kernel/init.mdoes it work now? – Kuba Mar 14 '18 at 10:55