-
Notifications
You must be signed in to change notification settings - Fork 383
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
Change the IBM Fortran and C wrappers on Summit #2724
Change the IBM Fortran and C wrappers on Summit #2724
Conversation
Change the IBM Fortran and C wrappers from the Fortran 77 to Fortran 90 functionality and change their MPI wrappers to the common names (i.e. mpif90, mpicc, and mpicxx)
Regarding the generic mpixx wrappers, are they guaranteed to be set properly for the right compiler family? I recall there were issues last year. Anyway if that's recommended by OLCF now, we should switch. |
Hi @sarats Yes, the MPI wrappers are recommended in the user guides of Summit. Based on the same link, the xlf_r mainly includes F77 functionality and I changed it to xlf90_r. This change removed the errors reported in the issues #2687 and #2713 |
@minxu74 Thanks for the clarification. I'm okay with Fortran compiler change but thought it might be preferable to be explicit about the Fortran variant through a flag. Btw, if one were to use the MPI wrappers, this is what they invoke. Both mpif90 and mpifort are same.
|
@sarats I do not know. The results of mpif77 --showme and mpif90 --showme and mpifort --showme are exactly same. But if you look at the wrappers by vim, they do choose the compilers based on the name of the wrapper. |
Hmm...I'm confused as well. All of them ultimately link to script below. I looked inside the script and it doesn't seem to distinguish between the Fortran variants in change_flags_xlf ()
|
@sarat in the mpif90 script:
When it is mpif90, the xlf90_r is included in the compiler list. But it is still unclear why "--showme" gives us the same results. I will ask this question in next week Summit workshop. |
What is the status of this PR? |
@rljacob I will merge it today. |
…to next (PR #2724) Change the IBM Fortran and C wrappers from the Fortran 77 to Fortran 90 functionality and change their MPI wrappers to the common names (i.e. mpif90, mpicc, and mpicxx). * minxu74/machines/summit/update-ibm-compiler-wrapper: Change the IBM Fortran and C wrappers on Summit
…#2724) Change the IBM Fortran and C wrappers from the Fortran 77 to Fortran 90 functionality and change their MPI wrappers to the common names (i.e. mpif90, mpicc, and mpicxx).
Change the IBM Fortran and C wrappers from the Fortran 77 to
Fortran 90 functionality and change their MPI wrappers to the
common names (i.e. mpif90, mpicc, and mpicxx).