-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Silicon support? #26
Comments
You probably just need to re- |
Thanks! I know next to nothing about these gnu tools. That got me further. I'll tinker with it some more. I guess now it's complaining about not having MKL (which doesn't exist for Apple Silicon). I guess there's probably a way to link with a different BLAS/Lapack? |
That shouldn't be a problem, starpu itself doesn't need a blas library. Do you actually get an error message? |
Looks like it's trying to link with the x86 MKL:
When I add
I have hwloc installed via conda. How do I tell it where that is located? If I add
No idea why it's trying to build Update after I pasted all this in I noticed the |
If libhwloc is installed in a standard location, no option is required, it will be detected automatically, otherwise --with-hwloc= should be used to specify its location. Another (standard) way is to set the |
I just can't quite get this working. Here's my script. I gave up on conda and now just trying to use homebrew: #!/bin/bash
# now: before running this, install homebrew and:
#
# brew install libtool
# brew install wget
# brew install autoconf
# brew install automake
# brew install gcc
# brew install pkg-config
# brew install hwloc
set -e
STARPUVERSION=1.4.1
STARPUDIR=$PWD/starpu
STARPUINSTALLDIR=$STARPUDIR/install
rm -rf $STARPUDIR
rm -rf $INSTALLDIR
# try from brew:
export CXX=/opt/homebrew/bin/g++-13
export CPP=/opt/homebrew/bin/cpp-13
export CC=/opt/homebrew/bin/gcc-13
export FC=/opt/homebrew/bin/gfortran-13
export F77=/opt/homebrew/bin/gfortran-13
export AR=/usr/bin/ar
export RANLIB=/usr/bin/ranlib
export NM=/usr/bin/nm
export AS=/usr/bin/as
# build StarPU
mkdir $STARPUDIR
cd $STARPUDIR
STARPUINSTALLDIR=$PWD/install
wget https://files.inria.fr/starpu/starpu-$STARPUVERSION/starpu-${STARPUVERSION}.tar.gz
tar xf starpu-${STARPUVERSION}.tar.gz
cd starpu-${STARPUVERSION}
./autogen.sh
mkdir build
cd build
../configure --prefix=$STARPUINSTALLDIR --disable-build-tests --disable-build-doc --enable-blas-lib=none
make -j 4
make install The result is that it starts to compile. I do get a million warnings like this:
But in the end it errors out with this:
|
Your c++ compiler doesn't have the standard |
update: I've gotten it to compile. The main problem was the presence of the Still trying to figure out if it's actually working. I'll post the updated script here for reference once I verify that it's working. |
Is support for Apple Silicon processors planned or possible?
Currently, I get this error if I try to compile on an Apple M1 system:
The text was updated successfully, but these errors were encountered: