Git Product home page Git Product logo

homebrew-tap's Introduction

Homebrew tap for ABINIT

This is a Homebrew tap for the Abinit code.

Installing ABINIT

Install Homebrew and run

brew tap abinit/tap
brew install abinit

Notes:

  • Always use the latest Homebrew version (use brew upgrade).
  • Bottles for all macOS versions and hardware (Intel and Mac Silicon arm64) are not always provided. If so, abinit will be built on the fly during installation process. The build only takes 5' on a Macbook M1 (2022).

If you experience difficulties with precompiled bottles (following an update of homebrew, for example), you can force the re-compilation of abinit: brew install --build-from-source abinit If you experience an error like curl: (60) SSL certificate problem, try this: HOMEBREW_FORCE_BREWED_CURL=1 brew install abinit

Installing post-processing tool AGATE

This tap also contains agate (Abinit Graphical Analysis Tool Engine) and its Qt interface qAgate. You can install agate with

brew install agate

Independently, you can install qAgate (graphical interface for agate) with

brew install qagate

The .app will be place in ${HOMEBREW_PREFIX}/opt/qagate/bin To make the app appear in the launcher, you can then make a symlink to /Applications/. Just type: ln -s ${HOMEBREW_PREFIX}/opt/qagate/bin/qAgate.app /Applications.

You also can install qagate via a cask(a precompiled version):

brew install --cask qagate

The app will directly appear in the launcher.

Note: if macOS complains because qAgate is from an unidentified developer, allow it in the MacOS settings.
If macOS reports that the app is damaged, type sudo spctl --master-disable in a terminal and select Anywhere In Settings/Privacy & Security/Security (see this).

Building bottles

This section is for the abinit maintainers...

Homebrew formulae can include compiled binaries, which it calls "bottles". To build a new bottle (perhaps for a new operating system or Abinit release):

  1. brew install --build-bottle abinit (or brew install --build-bottle abinit --with-testsuite to install the whole test suite).
  2. brew bottle abinit --keep-old --root-url=http://forge.abinit.org/homebrew and note the lines of output it gives you (root_url, sha256, etc.).
  3. Rename the bottle to use a single hyphen (e.g. abinit--9.10.1.catalina.bottle.tar.gz to abinit-9.10.1.catalina.bottle.tar.gz). On linux, run sha256sum on the renamed file, and use the result to replace the bottle hash from previous item.
  4. Upload the resulting file to http://forge.abinit.org/homebrew.
  5. Update the abinit formula with the bottle SHA and tag, in the bottle section with the custom URL.

New installs will then use this bottle.

homebrew-tap's People

Contributors

mtorrent avatar piti-diablotin avatar jmbeuken avatar

Watchers

 avatar

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.