Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridapGmsh is not loaded or installed properly. #51

Open
LeoXXVII opened this issue Dec 7, 2021 · 18 comments
Open

GridapGmsh is not loaded or installed properly. #51

LeoXXVII opened this issue Dec 7, 2021 · 18 comments

Comments

@LeoXXVII
Copy link

LeoXXVII commented Dec 7, 2021

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?

@fverdugo
Copy link
Member

fverdugo commented Dec 7, 2021

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).

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 7, 2021

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
Copy link
Author

LeoXXVII commented Dec 7, 2021

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

@fverdugo
Copy link
Member

fverdugo commented Dec 7, 2021

Try to build the package with ]

pkg> build

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 7, 2021

Same error
image

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 7, 2021

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

@fverdugo
Copy link
Member

fverdugo commented Dec 7, 2021

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.

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 9, 2021

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

@fverdugo
Copy link
Member

@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?

@LeoXXVII
Copy link
Author

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
Copy link
Author

LeoXXVII commented Dec 15, 2021

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

@fverdugo
Copy link
Member

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

@oriolcg
Copy link
Member

oriolcg commented Dec 15, 2021

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
Copy link
Member

oriolcg commented Dec 15, 2021

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.

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 20, 2021

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
Copy link
Author

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

@oriolcg
Copy link
Member

oriolcg commented Dec 21, 2021

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.

@LeoXXVII
Copy link
Author

LeoXXVII commented Dec 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants