Giter Site home page Giter Site logo

iraikov / chicken-mpi Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 121 KB

Message-passing Interface (MPI) bindings for Chicken Scheme

License: GNU General Public License v3.0

Scheme 99.29% Shell 0.03% C 0.68%
mpi mpi-library mpi-bindings scheme-language chicken-scheme chicken-scheme-eggs

chicken-mpi's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bkmgit

chicken-mpi's Issues

Add support for MPI_Alltoallw

MPI_Alltoallw is the generalized all-to-all communication collective that allows user-defined datatypes for each element in the input arrays.

Separate creation of error handler

The current initialization strategy creates a default MPI error handler, which relies on a non-existent Chicken internal, abort-hook to create a Scheme exception. A new strategy is necessary, where a pure Scheme error handler can be passed to MPI_Comm_create_errhandler.

csc: file `' does not exist / csc: file `mpi.import.scm' does not exist.

I already have open-mpi installed on my system under /usr/local/lib and /usr/local/include, but when I try to install the egg (even if I set the LDFLAGS LDFLAGS="-L/usr/local/lib/openmpi -I/usr/local/include/openmpi" sudo chicken-install mpi), I keep getting the following error:

building mpi
   /Users/avalos/.cache/chicken-install/mpi/build.sh -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /Users/avalos/.cache/chicken-install/mpi -C -I/Users/avalos/.cache/chicken-install/mpi -O2 -d1 mpi.scm -o /Users/avalos/.cache/chicken-install/mpi/mpi.so
header: #include <mpi.h> cppflags:  ldflags: -lmpi
clang   -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer '/tmp/temp529b.96250.c' -o '/tmp/temp529b.96250.o' -L/usr/local/Cellar/chicken/5.2.0/lib -lmpi -lm ...
succeeded.
csc: file `' does not exist
   /Users/avalos/.cache/chicken-install/mpi/build.sh -regenerate-import-libraries -M -setup-mode -static -I /Users/avalos/.cache/chicken-install/mpi -emit-link-file /Users/avalos/.cache/chicken-install/mpi/mpi.link -host -D compiling-extension -c -unit mpi -D compiling-static-extension -C -I/Users/avalos/.cache/chicken-install/mpi -O2 -d1 mpi.scm -o /Users/avalos/.cache/chicken-install/mpi/mpi.static.o
header: #include <mpi.h> cppflags:  ldflags: -lmpi
clang   -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer '/tmp/temp529b.96260.c' -o '/tmp/temp529b.96260.o' -L/usr/local/Cellar/chicken/5.2.0/lib -lmpi -lm ...
succeeded.
csc: file `' does not exist
   /usr/local/Cellar/chicken/5.2.0/bin/csc -setup-mode -s -host -I /Users/avalos/.cache/chicken-install/mpi -C -I/Users/avalos/.cache/chicken-install/mpi -O2 -d0 mpi.import.scm -o /Users/avalos/.cache/chicken-install/mpi/mpi.import.so
csc: file `mpi.import.scm' does not exist

Error: shell command terminated with nonzero exit code
16384
"sh /Users/avalos/.cache/chicken-install/mpi/mpi.build.sh"

I built open-mpi from sources, following the normal instructions. I'm using macOS 10.15.4, btw.

./configure
make all
sudo make install

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.