droodman / julia.ado

Bridge from Stata to Julia
MIT License
11 stars 2 forks source link

Could not load plugin #5

Closed reisportela closed 8 months ago

reisportela commented 10 months ago

Dear David, thank you for your command. I am running an Ubuntu 20.04 with Julia 1.94., and exploring reghdfejl. Typing which jl I get version 0.8.0 28 December. Typing jl I get the following error:

Could not load plugin: /usr/local/stata18/ado/plus/j/jl.plugin (error occurred while loading jl.ado)

I confirmed that the jl.pluginis located here: /usr/local/stata18/ado/plus/j/

I installed julia.ado using

require julia, install from("https://raw.githubusercontent.com/labordynamicsinstitute/ssc-mirror/2024-01-15/fmwww.bc.edu/repec/bocode/`first'")

Could you please let me know how I can sove this issue?

Thank you, miguel

droodman commented 10 months ago

In that requires command line, what is the value of the first macro?

Did you try the simpler

ssc install julia, replace
reisportela commented 10 months ago

thank you very much for the reply

I have the same problem, both using ssc install julia, replace, or net install julia, replace from(https://raw.github.com/droodman/julia.ado/v0.5.8)

the require "replicates" the net install, but allows to set a "frozen" repository

droodman commented 10 months ago

Interesting. I've been compiling in Ubuntu 22.04 and the result doesn't run in Ubuntu 20.04. But compiling in 20.04 seems to work in both Ubuntu's, Debian, and Pengwin.

Can you try this?

 net install julia, replace from(https://raw.github.com/droodman/julia.ado/v0.8.1)

Then restart Stata.

reisportela commented 10 months ago

thank you very much. jl now loads the plugin. running jl: sqrt(2) Stata crashes, but I am almost sure the problem is on my side, probably due to the installation of Julia, I am analysing the problem and will post here the solution

fast context. I am building a singularity container running Ubuntu 20.04 that has inside Stata 18 and Julia, and I want to use reghdfejl with a GPU. it might be the case that in the building process I miss some library, or Julia package

droodman commented 10 months ago

Excellent. You probably don't need the advice, but just in case: I would see if you can execute the examples at https://github.com/FixedEffects/FixedEffectModels.jl directly in Julia.

On Wed, Jan 17, 2024, 12:23 PM Miguel Portela @.***> wrote:

thank you very much. jl now loads the plugin. running jl: sqrt(2) Stata crashes, but I am almost sure the problem is on my side, probably due to the installation of Julia, I am analysing the problem and will post here the solution

fast context. I am building a singularity container running Ubuntu 20.04 that has inside Stata 18 and Julia, and I want to use reghdfejl with a GPU. it might be the case that in the building process I miss some library, or Julia package

— Reply to this email directly, view it on GitHub https://github.com/droodman/julia.ado/issues/5#issuecomment-1896264151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2Z2JQNKY672B6E63JPATYPACKHAVCNFSM6AAAAABB5LKMUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGI3DIMJVGE . You are receiving this because you commented.Message ID: <droodman/julia. @.***>