Coder Social home page Coder Social logo

homebrew-num's People

Contributors

dpo avatar seekingmeaning avatar sjackman avatar zbeekman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebrew-num's Issues

Updates

Subscribe to this issue to receive updates about Brewsci/num.

Location/naming scheme for MPICH toolchain

@dpo: I was discussing adding a toolchain for MPI libraries that is based on MPICH rather than OpenMPI with @sjackman.

I wanted to check with you first as to whether or not it would be acceptable to you to add them as part of brewsci/homebrew-num. The formula would need an additional level of namespacing.

I'm also interested in swapping clang for gcc/g++ but that's not quite as large of a concern at the moment. In theory, at least the C ABI should be static & standardized, allowing code built with one C compiler to be linked against when using a different one. However, build system introspection can cause differences in the way the code ends up getting built and what features are supported. This is probably more true for C++ than C. Also, in the past I've run into issues where MPI will stubbornly wrap the compiler it was built with, or, when it wraps a different compiler, builds end up failing or runtime bugs are encountered.

If you give it the go-ahead, then I'll add packages switching OpenMPI for MPICH (and add a -mpich suffix to the file/formula name)

Download problem of brewsci-mumps

I am trying to install MUMPS on Mac OS through homeberw.
$ brew tap brewsci/num
$ brew install brewsci-mumps

However, I got the error message. The error message I got is
==> Downloading https://homebrew.bintray.com/bottles-num/brewsci-mumps-5.2.1.sie #=#=#
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "brewsci-mumps"
Download failed: https://homebrew.bintray.com/bottles-num/brewsci-mumps-5.2.1.sierra.bottle.tar.gz

I am not sure how to solve this error. My guess is that the issue comes from the latest version of mumps is 5.3.1 instead of 5.2.1. Any idea? Thank you in advance.

Brew timeout while installing MUMPS

So I get a timeout when installing brewsci/brewsci-mumps and it tries to connect to http://mumps.enseeiht.fr. I am not sure what is causing this, but maybe the source server for MUMPS is down, and needs to be fixed.

OS: MacOS Ventura 13.0.1
Brew version:

Homebrew 3.6.12
Homebrew/homebrew-core (git revision 96fc626da1d; last commit 2022-11-24)
Homebrew/homebrew-cask (git revision c3bc349f40; last commit 2022-11-24)

Complete log of brew install brewsci-mumps:

==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

==> Downloading https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.21
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/074ec37db71eabcbf72850c1ab87a877c4d7d7c94bcd9b1fc6d8b3df1c3d79f1--openblas-0.3.21.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:5f2cdcefe
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/e29923fe52f3f0806dd2811948a6b6571a15d6763d0ba6a980431f1d6552e477--openblas--0.3.21.arm64_ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/scalapack/manifests/2.2.0_1
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/3b332c56e2e000693a71c46ea1c9d211b48675f5a77752905cf616bce2a6e0a6--scalapack-2.2.0_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/scalapack/blobs/sha256:29ba1d09
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/b5095417f68df1192df7a154d83f2f23cb74ed15734624e9ed7af7dcfce55a28--scalapack--2.2.0_1.arm64_ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.25.0
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/c1142e949b1976641f41a167776fba34b8abc2930766f710c2954c586b6110b7--cmake-3.25.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:80c206a6884a
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/2d46ada9690dfe69098f3cb246ef639b5711992300a829b47a180d0c865bd172--cmake--3.25.0.arm64_ventura.bottle.tar.gz
==> Downloading http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.
######################################################################## 100.0%
==> Downloading https://raw.githubusercontent.com/Homebrew/patches/f104fbb1e0940
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/24086a68bb86c555404a59cab7be7e929db08f7493333ba0e4d3df4b168ec1dc--commit-82409d68.patch
==> Downloading https://raw.githubusercontent.com/Homebrew/patches/f104fbb1e0940
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/d2969f0c126bb5814a3918d872d4cce28849a3bdf823a7bac226bb087f4188c8--commit-1c1a9fd0.patch
==> Downloading http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.
######################################################################## 100.0%
==> Downloading https://github.com/dpo/mumps_simple/archive/v0.4.tar.gz
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/664ab125362a75b100bebd464dcebbf3e55f344bf9fd9876f506e42d1c3b3074--mumps_simple-0.4.tar.gz
==> Downloading http://mumps.enseeiht.fr/MUMPS_5.3.5.tar.gz
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75013 ms: Operation timed out
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75004 ms: Operation timed out
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75007 ms: Operation timed out
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75010 ms: Operation timed out

Wget results:

--2022-11-24 14:09:47--  (try: 8)  http://mumps.enseeiht.fr/MUMPS_5.3.5.tar.gz
Connecting to mumps.enseeiht.fr (mumps.enseeiht.fr)|147.127.176.144|:80...

Error when compiling brewsci-mumps from brewsci/num

When I try to install brewsci-mumps (mumps-5.2.1), I obtain the following error:

make alllib RANLIB=echo OPTF=-O CDEFS=-DAdd_ LMETISDIR=/usr/local/opt/brewsci-parmetis/lib IMETIS=/usr/local/opt/brewsci-parmetis/include LMETIS=-L/usr/local
Last 15 lines from /Users/serge/Library/Logs/Homebrew/brewsci-mumps/01.make:
815 | CALL MUMPS_ICOPY_64TO32(XADJ8, NVTX, PARENT)
| 2
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
ana_orderings_wrappers_m.F:114:31:

114 | CALL METIS_NODEND( NCMP, IPE, IW, FRERE(1),
| 1
......
284 | CALL METIS_NODEND( NCMP, IPE8, IW, FRERE(1),
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(8)).
make[3]: *** [ana_orderings_wrappers_m.o] Error 1
make[2]: *** [c] Error 2
make[1]: *** [mumps_lib] Error 2
make: *** [c] Error 2

Thanks in advance for your response.

Import Error with brewsci-superlu-dist

The following is an import error with brewsci-superlu-dist:

ImportError: dlopen(/Users/BridgeRain/opt/anaconda3/lib/python3.8/site-packages/openseespy/opensees/mac/opensees.so, 2): Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.3.5.dylib
  
Referenced from: /usr/local/opt/brewsci-superlu-dist/lib/libsuperlu_dist.5.dylib
  
Reason: image not found

The latest version of formula "openblas" is 0.3.12 and the corresponding library file is "libopenblasp-r0.3.12.dylib" instead of "libopenblasp-r0.3.5.dylib". This may be the reason of the import error.

How to solve it? I think it is related to "libsuperlu_dist.5.dylib".

Thanks in advance for your response.

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.