Fix Scotch MPI include directories in RHEL

This commit is contained in:
Antonio Trande 2024-04-01 18:11:30 +02:00
parent 4cb045c378
commit 351a2e8b62

View File

@ -257,7 +257,11 @@
%endif \
%if %{with ptscotch} \
--with-ptscotch=1 \\\
%if 0%{?rhel} \
--with-ptscotch-include=$MPI_INCLUDE \\\
%else \
--with-ptscotch-include=$MPI_INCLUDE/scotch \\\
%endif \
--with-ptscotch-lib="-L$MPI_LIB -lptscotch -lscotch -lptscotcherr -lscotcherr" \\\
%endif \
%if %{with mumps} \