here is my suggestion, that is, just use abspath(filename)
help?> abspath
search: abspath isabspath AbstractPattern AbstractDisplay
abspath(path::AbstractString) -> String
Convert a path to an absolute path by adding the current directory if necessary. Also
normalizes the path as in normpath.
──────────────────────────────────────────────────────────────────────────────────────
abspath(path::AbstractString, paths::AbstractString...) -> String
Convert a set of paths to an absolute path by joining them together and adding the
current directory if necessary. Equivalent to abspath(joinpath(path, paths...)).
As the title says:
This error causes due to these lines
https://github.com/akio-tomiya/LatticeQCD.jl/blob/63cc7911f880ffc3a8538d322bcd2ee2494cb569/src/system/mainrun.jl#L31-L41
especially
include(pwd()*"/"*filename)
here is my suggestion, that is, just use
abspath(filename)