You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking manually specified GSL...
Looking for hdf5...
Found hdf5 version 1.10.4 via executables in $PATH
Checking manually specified SQUIDS...
Generating config file...
Generating version header...
Generating data path header...
Generating makefile...
./configure: line 868: pkg-config: command not found
Done.
To build the library, run the following: make
After, to build examples: make examples
The doing
make
produced the following error:
Compiling src/body.cpp to build/body.o
Compiling src/nuSQuIDS.cpp to build/nuSQuIDS.o
Compiling src/resources.cpp to build/resources.o
Compiling src/taudecay.cpp to build/taudecay.o
Compiling src/tools.cpp to build/tools.o
Compiling src/xsections.cpp to build/xsections.o
Linking lib/libnuSQuIDS.a
Linking lib/libnuSQuIDS.dylib
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
ld: warning: ignoring file '/opt/anaconda3/lib/libhdf5_hl.100.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/opt/anaconda3/lib/libhdf5.103.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/opt/anaconda3/lib/libz.1.2.11.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: warning: ignoring file '/opt/anaconda3/lib/libc++.1.0.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: Undefined symbols:
_H5Aclose, referenced from:
........
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib/libnuSQuIDS.dylib] Error 1
I have no root access.
The text was updated successfully, but these errors were encountered:
Seems like you need to build the hdf5 library from source (https://portal.hdfgroup.org/downloads/) and tell its location to the configure script using --with-hdf5=/Location/of/hdf5.
HDF5 can be built the same way as nuSQuIDS by invoking the configure script with options --prefix=/Location/of/hdf5 and --enable-cxx for the required c bindings.
Can you tell me if nuSQuIDS works on your arm mac? I have a M1 Max machine and was able to install nuSQuIDS (without python bindings) but as soon as I execute my program it is immediately killed by zsh.
On my Intel Mac I do not encounter this problem... SQuIDS for instance works...
I was trying to install nuSQuIDS on a Mac with the Apple M2 Max chip.
./configure --prefix="../nusquids" --with-gsl-incdir="../gsl/include" --with-gsl-libdir="../gsl/lib" --with-squids-incdir="../include" --with-squids-libdir="../squids/lib"
The doing
make
produced the following error:
I have no root access.
The text was updated successfully, but these errors were encountered: