Skip to content

Commit

Permalink
Build fix for mpqc-mpich.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maho Nakata authored and Maho Nakata committed Feb 19, 2007
1 parent eed3828 commit 8e526b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions science/mpqc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,19 @@ CONFIGURE_ARGS+=--with-cc=${CC} \
--with-coptflags="${CFLAGS}" \
--with-cxxoptflags="${CXXFLAGS}" \
--with-f77optflags="${FFLAGS}" \
--with-include="-I${WRKDIR} -I${LOCALBASE}/include" \
--enable-shared
.if defined(WITH_ICC)
CONFIGURE_ARGS+=--with-libs="-lsvml"
.endif
.if defined(WITH_MPICH)
CONFIGURE_ARGS+=--with-libdirs="-L${LOCALBASE}/lib -L${LOCALBASE}/mpich2/lib"\
--with-include="-I${LOCALBASE}/mpich2/include -I${WRKDIR}" \
--enable-always-use-mpi
.endif
.if defined(WITH_MPICH)
CONFIGURE_ARGS+=--with-include="-I${LOCALBASE}/mpich2/include -I${WRKDIR} -I${LOCALBASE}/include"
.else
CONFIGURE_ARGS+=--with-include="-I${WRKDIR} -I${LOCALBASE}/include"
.endif

MPQC_COMMAND= ${PREFIX}/bin/mpqc

Expand Down

0 comments on commit 8e526b2

Please sign in to comment.