Comments (7)
Hi Ivan,
Thanks for the bug report. I don't have access to a MacOS system, but should be able to set up a CI MacOS environment via GitHub Actions. I believe their MacOS image uses Homebrew, which in turn has an OpenMPI package. Let me set this up first.
from chicken-mpi.
The Github CI action worked with their Ubuntu image, but the MacOS one failed with the same error as in your report, so at least the error is reproducible. I will look at this again later today to see if I can fix it.
from chicken-mpi.
Hi Ivan,
I believe building on Mac OS X is now fixed. The CI test still fails because mpirun thinks there are not enough CPU slots available for 8 MPI processes (but the same test works on the Linux image). I will see if I can fix that, but meanwhile you can check if the master branch works on your system.
from chicken-mpi.
I also tried with Linux Alpine via Docker, with the following Dockerfile:
FROM alpine:edge
WORKDIR /app
RUN apk add chicken zsh
RUN apk --no-cache add openmpi openmpi-dev \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/
RUN chicken-install srfi-1 list-utils gochan mpi
COPY ./ ./
CMD ["csi", "regu.scm"]
The output is:
/usr/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /root/.cache/chicken-install/compile-file -C -I/root/.cache/chicken-install/compile-file -O2 -d1 compile-file.scm -o /root/.cache/chicken-install/compile-file/compile-file.so
/usr/bin/csc -regenerate-import-libraries -M -setup-mode -static -I /root/.cache/chicken-install/compile-file -emit-link-file /root/.cache/chicken-install/compile-file/compile-file.link -host -D compiling-extension -c -unit compile-file -D compiling-static-extension -C -I/root/.cache/chicken-install/compile-file -O2 -d1 compile-file.scm -o /root/.cache/chicken-install/compile-file/compile-file.static.o
/usr/bin/csc -setup-mode -s -host -I /root/.cache/chicken-install/compile-file -C -I/root/.cache/chicken-install/compile-file -O2 -d0 compile-file.import.scm -o /root/.cache/chicken-install/compile-file/compile-file.import.so
installing compile-file
building mpi
/root/.cache/chicken-install/mpi/build.sh -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /root/.cache/chicken-install/mpi -C -I/root/.cache/chicken-install/mpi -O2 -d1 mpi.scm -o /root/.cache/chicken-install/mpi/mpi.so
executing command failed: Exec format error
Error: shell command terminated with nonzero exit code
256
"sh /root/.cache/chicken-install/mpi/mpi.build.sh"
The command '/bin/sh -c chicken-install srfi-1 list-utils gochan mpi' returned a non-zero code: 70
from chicken-mpi.
Thanks! I think it is related with the location of the libraries. Is it possible to specify a non-standard prefix? Homebrew installs to /usr/local/Cellar
, for example.
from chicken-mpi.
Awesome! I will try it and let you know if it works! Thanks!
from chicken-mpi.
I could already install the module! Thanks so much!
from chicken-mpi.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chicken-mpi.