rfael0cm / RTIGER

3 stars 4 forks source link

SetupJulia() cannot find Julia #8

Closed mnshgl0110 closed 2 years ago

mnshgl0110 commented 2 years ago

When I am running setupjulia() after installing RTIGER, I am getting this error:

fatal: error thrown and no exception handler available.
InitError(mod=:Sys, error=ErrorException("PCRE compilation error: unrecognised compile-time option bit(s) at offset 0"))
error at ./error.jl:33
compile at ./pcre.jl:155
compile at ./regex.jl:82
#occursin#442 at ./regex.jl:265 [inlined]
occursin at ./regex.jl:265 [inlined]
isdirpath at ./path.jl:117 [inlined]
normpath at ./path.jl:369
abspath at ./path.jl:426
abspath at ./path.jl:435 [inlined]
__init_build at ./sysinfo.jl:125
__init__ at ./sysinfo.jl:117
jfptr___init___22348.clone_1 at /srv/netscratch/dep_mercier/grp_schneeberger/software/julia-1.7.2/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
jl_module_run_initializer at /buildworker/worker/package_linux64/build/src/toplevel.c:73
_finish_julia_init at /buildworker/worker/package_linux64/build/src/init.c:796
julia_init at /buildworker/worker/package_linux64/build/src/init.c:730
jl_repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:695
main at /buildworker/worker/package_linux64/build/cli/loader_exe.c:42
__libc_start_main at /usr/lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /srv/netscratch/dep_mercier/grp_schneeberger/bin/julia (unknown line)
Error in julia_setup() : Julia is not found.

It says that it cannot find Julia, even though Julia is installed and is accessible:

> Sys.which(c('julia'))
                                                   julia 
"/srv/netscratch/dep_mercier/grp_schneeberger/bin/julia"
rfael0cm commented 2 years ago

Hey Manish, can you try this: setupJulia(JULIA_HOME = path_to_Julia_bin_folder)

In my case, I downloaded the binaries from here:

https://julialang.org/downloads/oldreleases/ (To fastest results, download version 1.0.5) and just indicate where the bin of this folder is to the setup function.