Skip to content

Linking chgres_cube failed on macOS Monterey #717

Answered by natalie-perlin
ywangwof asked this question in Q&A
Discussion options

You must be logged in to vote

@ywangwof - I do attempt to reproduce your error.
As to the library not in the path: after you load the modulefile,
module load build_macos_gnu
there is a message asking you to export an LDFLAGS variable:
export LDFLAGS+=" -L$MPI_ROOT/lib "
(It is likely that the message in the modulefiles needs to be corrected to display exactly the one shown above)

This is where the library lmpi_cxx is expected to be found. For the MacOS, you are likely to have the following files in your $MPI_ROOT/lib directory: libmpi_cxx.la, libmpi_cxx.dylib

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ywangwof
Comment options

ywangwof Apr 10, 2023
Collaborator Author

Comment options

ywangwof
Apr 10, 2023
Collaborator Author

You must be logged in to vote
2 replies
@natalie-perlin
Comment options

Answer selected by natalie-perlin
@ywangwof
Comment options

ywangwof Apr 13, 2023
Collaborator Author

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants