1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Define the -DSHAREDTMP option, since this allows one to simulate

clusters of pvm machines with jail(8).

Basically, do this:

        ifconfig lo0 10.0.0.1 netmask 255.255.255.255 alias
        ifconfig lo0 10.0.0.2 netmask 255.255.255.255 alias
        ifconfig lo0 10.0.0.3 netmask 255.255.255.255 alias
        ...
        echo "10.0.0.1 ten-1" >> /etc/hosts
        echo "10.0.0.2 ten-2" >> /etc/hosts
        echo "10.0.0.3 ten-3" >> /etc/hosts
        ...
        jail / ten-1 10.0.0.1 /usr/libexec/inetd
        jail / ten-1 10.0.0.2 /usr/libexec/inetd
        jail / ten-1 10.0.0.3 /usr/libexec/inetd

Tada!  now you have three PVM enabled computers on your laptop :-)

Submitted by:	phk
This commit is contained in:
Dmitry Sivachenko 2001-12-19 19:13:53 +00:00
parent ace49a53ef
commit 4b59ba05e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51854
2 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= pvm
PORTVERSION= 3.4.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.netlib.org/pvm3/ \
ftp://ftp.chg.ru/pub/prog/parallel/pvm/pvm3/

View File

@ -0,0 +1,10 @@
--- conf/FREEBSD.def.orig Wed Dec 19 11:09:23 2001
+++ conf/FREEBSD.def Wed Dec 19 11:09:39 2001
@@ -1,6 +1,6 @@
ARCHCFLAGS = -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" \
-DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS \
- -DFAKEXDRFLOAT -DSYSERRISCONST
+ -DFAKEXDRFLOAT -DSYSERRISCONST -DSHAREDTMP
ARCHDLIB =
ARCHDOBJ =
ARCHLIB = -lrpcsvc