GridapGmsh.jl icon indicating copy to clipboard operation
GridapGmsh.jl copied to clipboard

GridapGmsh is not loaded or installed properly.

Open LeoXXVII opened this issue 3 years ago • 18 comments
trafficstars

I was using the package of Gridap v0.15.5 and GridapGmsh v0.4.5 without any problem before. But, when I add the package GridapFSI and no example give any result, I tried updating all the packages, and now every time I tried to run a code using GridapGmsh appears the error: "GridapGmsh is not loaded or installed properly." I tried: >Removing and adding again Gridap and GridapGmsh

Installing old versions Using the command: pkg> build GridapGmsh

I don't know what to do now, any idea?

LeoXXVII avatar Dec 07 '21 10:12 LeoXXVII

Hi @LeoXXVII, from the info you tell it is difficult to know what is going on.

In any case, try to use the latest versions of Gridap (v0.17.7) and GridapGmsh (0.5.0).

fverdugo avatar Dec 07 '21 10:12 fverdugo

Hi @LeoXXVII, from the info you tell it is difficult to know what is going on.

In any case, try to use the latest versions of Gridap (v0.17.7) and GridapGmsh (0.5.0).

In that case, I'm sorry for my ignorance, but how can I update to the latest versions manually?? I mean, if write ">pkg add Gridap" it just installs the v0.15.5 and GridapGmsh 0.4.5 there is an image of reference image

LeoXXVII avatar Dec 07 '21 11:12 LeoXXVII

it's work using Pkg.add(url="https://github.com/gridap/Gridap.jl", rev="master") now Gridap and GridapGmsh are updated to the latest version!

But, the error persists image

LeoXXVII avatar Dec 07 '21 11:12 LeoXXVII

Try to build the package with ]

pkg> build

fverdugo avatar Dec 07 '21 12:12 fverdugo

Same error image

LeoXXVII avatar Dec 07 '21 13:12 LeoXXVII

Also, apart from this, does the pkg GridapFSI.jl only work on Gridap v0.16.x? Because right now, the pkg is not found in the project/manifest or registry. And before I installed it to try how it's work. image

LeoXXVII avatar Dec 07 '21 13:12 LeoXXVII

The issue about GridapFSI seems to be independent.

I would try to install GridapGmsh in a CLEAN environment. That is, create a new folder and launch Julia as

julia --project=path_of_the_new_folder

Then, pkg> add GridapGmsh. If you have any error, please report the build.log file resulting from building the package.

fverdugo avatar Dec 07 '21 14:12 fverdugo

welp, finally I created a new environment, and appears the same error. here is a screencap of the build.log it's weird that appear the error on the SDK, because before update GridaGmsh, it work well image

LeoXXVII avatar Dec 09 '21 17:12 LeoXXVII

@LeoXXVII it seems that the file gmsh.jl is missing. Have you installed the gmsh sdk? You can also remove the environment variable GMSHROOT and try again to see if the default gmsh installation works.

@oriolcg are you using GridapGmsh on Windows? Have you seen such problems?

fverdugo avatar Dec 14 '21 08:12 fverdugo

I mean, that's the reason I send the pic, is right there the gmsh.jl and is the gmsh sdk. I tried removing the GMSHROOT too.

LeoXXVII avatar Dec 15 '21 03:12 LeoXXVII

Also, removing GMSHROOT and creating a new build log, now the log is different. Still nothing image

LeoXXVII avatar Dec 15 '21 03:12 LeoXXVII

@LeoXXVII Your last log looks OK! Now you should have a working GriadpGmsh.

fverdugo avatar Dec 15 '21 06:12 fverdugo

Hi @fverdugo , @LeoXXVII . I had similar issues with Windows and switched to Mac to use GridapGmsh, but I think there are a couple of students that succeeded using it in Windows. I'll try to see if I can build it with a newer version.

By the way, @LeoXXVII , GridapFSI is not updated to the latest versions of Gridap. I'll work on it in the coming days.

oriolcg avatar Dec 15 '21 18:12 oriolcg

I just tried to generate a discrete model with the latest versions of Gridap (v17.7) and GridapGmsh (v0.5.0) in a fresh environment. Everything worked well.

oriolcg avatar Dec 15 '21 19:12 oriolcg

Hi again, sorry for not replying before, some agitated days. Now, it's working, I don't know why removing the variable was the solution. Now, I have new problems, the command DiscreteModel() don't use "tags" so it will not work on FSI tutorial on Gridap. But that is for another thread? no? Also, the tutorial of Gridap work on Gridap v0.17.7 too or only v.0.16.x and below?

LeoXXVII avatar Dec 20 '21 21:12 LeoXXVII

Update: using differents environments, using Gridap v0.16.5 appears the same error as before. But no using Gridap v.0.17.x

LeoXXVII avatar Dec 21 '21 09:12 LeoXXVII

I would open an issue in Tutorials if there is a tutorial that is not working (probably needs to be updated to the new version). Regarding GridapFSI, I did some progress on the update and I hope to have it ready soon.

oriolcg avatar Dec 21 '21 11:12 oriolcg

mmmm... yeah, I'll post some issues. I'm currently using Gridap v0.16.5 and GridapGmsh v0.4.2 to properly run the programs. Also, thank you @fverdugo and @oriolcg for the help.

LeoXXVII avatar Dec 21 '21 12:12 LeoXXVII