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

bfit package on intel/M2 machine #113

Closed
chengdang opened this issue Feb 25, 2024 · 3 comments
Closed

bfit package on intel/M2 machine #113

chengdang opened this issue Feb 25, 2024 · 3 comments
Assignees
Labels
CRTM CRTM documentation Improvements or additions to documentation

Comments

@chengdang
Copy link
Contributor

Update instruction of for building delta fit package https://github.com/JCSDA-internal/crtm/tree/feature/CD_bfit

Encountered multiple issues with f2py on both Intel and M2 machines, will document the solution here for future LUT generation.

@chengdang chengdang added documentation Improvements or additions to documentation CRTM CRTM labels Feb 25, 2024
@chengdang chengdang self-assigned this Feb 25, 2024
@chengdang
Copy link
Contributor Author

On intel machine, I encountered the following error:

ld: library not found for -lSystem
collect2: error: ld returned 1 exit status

Which is resolved by adding the following line in .zshrc:

export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"

@chengdang
Copy link
Contributor Author

On M1/M2 machine, I encountered the following error when importing bfit:

mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')

Tried to install/reinstall various packages, but couldn't find a solution by far.

@chengdang
Copy link
Contributor Author

Closing this issue for now.

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

No branches or pull requests

1 participant