Lines 72-83
Link Here
|
72 |
BIN_DATAS= Makefile SaturneGUI autovalid.xml cs_profile lance lance.help \ |
72 |
BIN_DATAS= Makefile SaturneGUI autovalid.xml cs_profile lance lance.help \ |
73 |
macros_FreeBSD.mk |
73 |
macros_FreeBSD.mk |
74 |
|
74 |
|
75 |
.if defined(WITH_LAM) |
75 |
.if defined(WITH_OPENMPI) |
76 |
MPI_HOME= ${LOCALBASE} |
|
|
77 |
BUILD_DEPENDS+= ${MPI_HOME}/lib/liblam.a:net/lam |
78 |
RUN_DEPENDS+= ${MPI_HOME}/bin/lamboot:net/lam |
79 |
MPI_LIBS= -lmpi -llam |
80 |
.elif defined(WITH_OPENMPI) |
81 |
MPI_HOME= ${LOCALBASE}/mpi/openmpi |
76 |
MPI_HOME= ${LOCALBASE}/mpi/openmpi |
82 |
BUILD_DEPENDS+= ${MPI_HOME}/bin/mpicc:net/openmpi |
77 |
BUILD_DEPENDS+= ${MPI_HOME}/bin/mpicc:net/openmpi |
83 |
RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:net/openmpi |
78 |
RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:net/openmpi |
Lines 101-107
Link Here
|
101 |
|
96 |
|
102 |
pre-everything:: |
97 |
pre-everything:: |
103 |
@${ECHO_MSG} |
98 |
@${ECHO_MSG} |
104 |
@${ECHO_MSG} "By default ncs is built with MPICH2, but you can set WITH_LAM or WITH_OPENMPI" |
99 |
@${ECHO_MSG} "By default ncs is built with MPICH2, but you can set WITH_OPENMPI" |
105 |
@${ECHO_MSG} "if you prefer." |
100 |
@${ECHO_MSG} "if you prefer." |
106 |
@${ECHO_MSG} |
101 |
@${ECHO_MSG} |
107 |
|
102 |
|