Skip to content

Commit

Permalink
Merge remote-tracking branch 'yambo-gpl/tech-gpu' into tech-ydiago
Browse files Browse the repository at this point in the history
  • Loading branch information
sangallidavide committed Oct 12, 2024
2 parents 58a2a54 + 30f7480 commit 8db05ff
Show file tree
Hide file tree
Showing 24 changed files with 1,478 additions and 513 deletions.
3 changes: 3 additions & 0 deletions config/m4/acx_fpp.m4
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ case "${FC}" in
*gfortran | *g95)
if test -z "$FPP"; then FPP="${FC} -E -P -cpp"; fi
;;
*nvfortran*)
if test -z "$FPP"; then FPP="${FC} -Mpreprocess -E"; fi
;;
#
# some of the following could be uncommented once explicitly checked
#
Expand Down
4 changes: 4 additions & 0 deletions config/m4/mpi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ if test "$mpibuild" = "yes"; then
def_mpi="-D_MPI"
ACX_GET_MPI_KIND()
MPI_PATH=`which $CC |sed "s/bin\/$CC//g"`
if ! test -d "$MPI_PATH/include"; then
MPI_PATH=`$CC -show | sed "s/.*-I//g"` ;
MPI_PATH=`echo ${MPI_PATH} | sed "s/\/include.*//g"` ;
fi
#
else
#
Expand Down
Loading

0 comments on commit 8db05ff

Please sign in to comment.