...
There is no direct dependency ti to impi/2018.5 in the julia's module file, so if needed it is still possible to adjust the environment to a different configuration before loading the MPI module. Please check to the MPI.jl documentation for details.
...