Giter Site home page Giter Site logo

Comments (11)

ahojukka5 avatar ahojukka5 commented on September 28, 2024

What Julia version are you using? That build.jl template is taken from BinaryProvider.jl, I think. I make binaries only for Linux at first because I wanted to have something working soon. Creating binaries for other operating systems should be trivial, as long as Gmsh is compiling. We also should disable unnecessary parts (at least GUI) in the build process to reduce the size of the binary, it's over 100 MB now.

from gmsh.jl.

CrashBurnRepeat avatar CrashBurnRepeat commented on September 28, 2024

I knew there would be something obvious I'd miss; I'm using version 1.1.0 (2019-01-21). Since I have the Mac to validate on, is this something I could assist with? I'm trying to do a port of some electromagnetic code to Julia, so this would be a big help.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

Everything should work with the newest versions. It seems that the problem is this line:

url, tarball_hash = choose_download(download_info)

choose_download is returning nothing and unpacking to two variables is trying to iterate on that. Usually the function should return the tuple shown in download_info, i.e.

("$bin_prefix/gmsh.v4.1.5.x86_64-linux-gnu.tar.gz", "b037e5376bbe9a381f5938936cbea4f99feafa7f3f1705357d1a5950cfe54061")

for Linux binaries. I think the problem finally is that there is no compiled binaries for OSX at the moment.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

I copied the template from a mock package LibFoo.jl, https://github.com/JuliaPackaging/BinaryProvider.jl/blob/master/test/LibFoo.jl/deps/build.jl#L37. Maybe @staticfloat knows is there any internal changes how choose_download works or is it just me.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

I'm anyway compiling the OSX binaries now so if everything goes like in movies soon this issue should vanish.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

Ok, it looks that the structure of build.jl has been changing. After PR #2 everything should be fine, also for OSX.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

Also, it looks that 4.2.2 version has been released a couple of days ago, I also update binaries to that.

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

This package should be tagged so that it can be found from metadata as usual. Any ideas should this follow what version number, Gmsh or...? cc: @TeroFrondelius

from gmsh.jl.

ahojukka5 avatar ahojukka5 commented on September 28, 2024

Ok, now we should have support for OSX also. Have you considered doing electromagnetism using JuliaFEM? I would be happy to help with that. After all, we are aiming to be multiphysics and I'm interested to see what new challenges is electromagnetism is giving.

from gmsh.jl.

staticfloat avatar staticfloat commented on September 28, 2024

Yep, looks like you've figured it out. :)

from gmsh.jl.

CrashBurnRepeat avatar CrashBurnRepeat commented on September 28, 2024

I just got the chance to pull these updates on my Mac, and things seem to be good (at least I was able to pull the update and precompile). I also have access to a Windows machine and the correct error was shown when I pull the new code, although I don't need a Windows binary at this point.

@ahojukka5, much thanks for the speedy response, and I'll write you separately about the EM work I'm hoping to do.

from gmsh.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.