Skip to content
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

make install gives an error during "Linking Fortran static library libfunit.a" #343

Open
etempel opened this issue Mar 11, 2022 · 2 comments

Comments

@etempel
Copy link

etempel commented Mar 11, 2022

When I run 'make install' after 'cmake ..' and 'make tests; in build directory, I get the following error:

[ 43%] Built target funit-main
[ 43%] Linking Fortran static library libfunit.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: libfunit.a(get_errno.c.o) cputype (16777228) does not match previous archive members cputype (16777223) (all members must match)
make[2]: *** [src/funit/libfunit.a] Error 1
make[2]: *** Deleting file `src/funit/libfunit.a'
make[1]: *** [src/funit/CMakeFiles/funit.dir/all] Error 2
make: *** [all] Error 2

I'm using Intel 2021.5.0.20211109 compiler in new MacBook Pro with M1 processor under macOS Monterey 12.2.1. Any ideas why the make install fails?

@tclune
Copy link
Member

tclune commented Mar 21, 2022

Sorry for the delay in responding. Unfortunately, I do not yet have access to an M1 system, so my ability to troubleshoot this is quite limited. At first glance, it would appear that something is inconsistent in Apple's software stack.

Another person in my group, @mathomp4, recently helped someone port a different package to M1s. I'm mentioning him here in case he has an idea on things to try.

I expect we'll have access to an M1 "soon", anywhere from 2-8 weeks.

@tclune
Copy link
Member

tclune commented Mar 21, 2022

BTW, we're a bit surprised, but glad, that the Intel compiler can run on M1. @mathomp4 did recently help someone support a similarly structured package to M1, but that was with GNU. So maybe use a different compiler on that system for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants