File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 55# to your liking before invoking this script.
66#
77
8- # Abort on error
9- set -e
10-
118# Where to install PCL to
129export PCL_PREFIX=$PWD /build
1310
@@ -30,6 +27,14 @@ export SNET_REPO=https://github.com/snetdev/snet-rts.git
3027export COMPILER_LINUX_64=" https://raw.github.com/snetdev/releases/master/2013/snetc-20130626.x86_64.bz2"
3128export COMPILER_LINUX_32=" https://raw.github.com/snetdev/releases/master/2013/snetc-20130626.i686.bz2"
3229
30+ # Whether to disable/enable Distributed S-Net with MPI. Enable this only when
31+ # you have a working installation of MPI with a working mpicc + mpirun.
32+ export DIST_MPI=--enable-dist-mpi
33+
34+ # Abort on error
35+ set -e
36+
37+ # Construct destination directories, if needed.
3338mkdir -p $PCL_PREFIX $LPEL_PREFIX $SNET_PREFIX
3439
3540function get_pcl () {
@@ -104,7 +109,7 @@ function build_snet_rts () {
104109
105110 ./configure --with-lpel-includes=$LPEL_PREFIX /include \
106111 --with-lpel-libs=$lpel \
107- --disable-dist-mpi \
112+ $DIST_MPI \
108113 --prefix=$SNET_PREFIX
109114
110115 make
@@ -129,6 +134,9 @@ function get_snetc () {
129134 fi
130135 bunzip2 " $bz2 "
131136 chmod +x " $snc "
137+ echo
138+ echo " ### Please move $snc to a directory in your PATH as snetc."
139+ echo
132140 fi
133141}
134142
You can’t perform that action at this time.
0 commit comments