-
Notifications
You must be signed in to change notification settings - Fork 27
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
cannot find lgrid2grid #84
Comments
Dear Yi, thanks for spotting this! You are totally right, grid2grid was changed to COSTA and this will be corrected in the README soon, we are preparing a new release for both COSTA and COSMA. In your case, you should link to COSMA/src/cosma/CMakeLists.txt Line 54 in 35e2dda
Let me know if it works for you! |
In general, if you use pure |
Dear Marko, Thank you so much. So, I end up using these commands to compile a Fortran test file. It seems the
The test file is Scalapack.f90
|
Dear Marko, However, if I tried this test file Scalapack.f90
It gave me
Am I missing anything? |
Dear Yi, thanks for checking. The latter caused by COSMA using an outdated version of COSTA. I have just updated the COSTA submodule in COSMA. Can you git clone recursively again the whole COSMA repo and try again? The latter should now be fixed. |
Sorry, I would need some more time, I have to adapt few more things in COSMA to the latest COSTA version before it can work. |
I see. No worry. Thank you for letting me know. |
The latest commit should fix the issues with the latest version of COSTA. Since the COSTA library was also modified, it would be best to get a fresh new git clone of COSMA. To answer your question regarding the OpenMP: you are right, we require it. However, most user codes already have OpenMP as a dependency (especially if they use a multithreaded versions of scalapack/lapack/blas). Your way of linking seems correct to me. Let me know if this works for you and if you have any other issues! |
Hi Yi (@yaoyi92), i just wanted to follow up on my previous comment: does it work for you now? |
Yes, it works! Thank you so much! |
Great, thanks for the feedback, I am glad it works now! The README will be improved soon, so I will now close this issue. |
Dear developers, I am trying to link against COSMA via the USE COSMA in 30 seconds. However, it tells me grid2grid is not found. I saw you updated grid2grid to COSTA. Should the linking libs also update? If yes, what's the correct lib to be linked? I saw libcosta.a, libcosta_prefixed_scalapack.a, and libcosta_scalapack.a.
Thank you so much.
The text was updated successfully, but these errors were encountered: