Commit 2c64f6d4 authored by hrchilds's avatar hrchilds
Browse files

Update from July 9, 2003

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@30 18c085ea-50e0-402c-830e-de6fd14e8384
parent 0f246e95
......@@ -49,8 +49,14 @@ operating systems. It is suggested that you use the same compilers.
Solaris 7 g++ 2.95.2
Tru64 5.1 g++ 3.0.4
The following compilers will *NOT* work with VisIt. They will either not
compile VisIt or will generate bad code.
It is essential that you build all the dependent packages and visit using
Operating System Compiler
================ ========
IRIX64 6.5 MIPSpro 7.4
It is essential that you build all the dependent packages and VisIt using
the same c++ compiler or you will encounter linking problems because different
compilers or different versions of the same compiler may use different name
mangling schemes.
......@@ -66,7 +72,7 @@ and for an SGI the command would be
env PARALLEL="# of processors" make -P
Lets go ahead and build VisIt. Start off by creating a directory to hold
visit and the installed versions of each of the dependent libraries.
VisIt and the installed versions of each of the dependent libraries.
mkdir visit
echo `pwd`/visit > visitpath
......@@ -408,22 +414,22 @@ More information about building VisIt follows after that.
#
# Build and install it in the visit directory.
#
gunzip visit030616.tar.gz
tar xf visit030616.tar
cd visit030616/config-site
gunzip visit030709.tar.gz
tar xf visit030709.tar
cd visit030709/config-site
echo VISITHOME=`cat ../../visitpath` > `hostname`.conf
cat Template.conf >> `hostname`.conf
cd ..
env CXXFLAGS=-O2 ./configure
make
clearcase_bin/visit-bin-dist -v 1.1.5
clearcase_bin/visit-bin-dist -v 1.1.6
# Use the appropriate install command based on the operating system on
# which you built VisIt.
clearcase_bin/visit-install 1.1.5 aix `cat ../visitpath`
clearcase_bin/visit-install 1.1.5 irix6 `cat ../visitpath`
clearcase_bin/visit-install 1.1.5 linux `cat ../visitpath`
clearcase_bin/visit-install 1.1.5 osf1 `cat ../visitpath`
clearcase_bin/visit-install 1.1.5 sunos5 `cat ../visitpath`
clearcase_bin/visit-install 1.1.6 aix `cat ../visitpath`
clearcase_bin/visit-install 1.1.6 irix6 `cat ../visitpath`
clearcase_bin/visit-install 1.1.6 linux `cat ../visitpath`
clearcase_bin/visit-install 1.1.6 osf1 `cat ../visitpath`
clearcase_bin/visit-install 1.1.6 sunos5 `cat ../visitpath`
When running the configure script you can enable or disable certain dependent
packages. All the configure options are listed at the beginning of the
......
......@@ -17,7 +17,7 @@ Unix:
where
"version" will be 1.1.5 for the current distribution.
"version" will be 1.1.6 for the current distribution.
"platform" will be one of the following: aix, irix6, linux, osf1,
or sunos5 depending on the machine. The one you use should match
......@@ -28,17 +28,17 @@ Unix:
For example
visit-install 1.1.5 irix6 /usr/local/visit
visit-install 1.1.6 irix6 /usr/local/visit
will install the irix6, 1.1.5 version of visit in the directory
will install the irix6, 1.1.6 version of visit in the directory
"/usr/local/visit". Note that you will need to have the file
"visit1_1_5.irix6.tar.gz" present in the current directory for this
"visit1_1_6.irix6.tar.gz" present in the current directory for this
to function properly. You can install multiple binaries into the
same directory. For example, you could then execute
visit-install -a 1.1.5 linux /usr/local/visit
visit-install -a 1.1.6 linux /usr/local/visit
to add a linux, 1.1.5 version of visit to the same directory.
to add a linux, 1.1.6 version of visit to the same directory.
2. Add the bin directory below the installation directory
(/usr/local/visit/bin in our example) to each user's search path.
......@@ -76,15 +76,15 @@ Unix:
Windows:
1. Copy the file visit1.1.5.exe to your desktop.
1. Copy the file visit1.1.6.exe to your desktop.
2. Right click on the visit1.1.5.exe icon using your mouse and selecting
"Extract to folder C:\...\Desktop\visit1.1.5" from the popup menu. A
2. Right click on the visit1.1.6.exe icon using your mouse and selecting
"Extract to folder C:\...\Desktop\visit1.1.6" from the popup menu. A
window will popup as the file is extracted into the directory. Once
the process is complete a "visit1.1.5" directory icon should appear on
the process is complete a "visit1.1.6" directory icon should appear on
your desktop.
3. Double click on the "visit1.1.5" directory icon bringing up a file
3. Double click on the "visit1.1.6" directory icon bringing up a file
system browsing window.
4. Double click on the SETUP icon with the computer display icon to run
......
......@@ -19,6 +19,7 @@ user=`whoami`
#
# Parse the execute line, providing default values for error checking.
#
hitit=true
warp=false
sc=true
tidalwave=true
......@@ -36,6 +37,7 @@ for abc
do
case $1 in
-none)
hitit=false
warp=false
sc=false
tidalwave=false
......@@ -43,6 +45,14 @@ do
emperor=false
shift
;;
-hitit)
hitit=false
shift
;;
+hitit)
hitit=true
shift
;;
-warp)
warp=false
shift
......@@ -109,6 +119,43 @@ then
exit
fi
#
# Build on hitit.
#
rm -f hitit
cat <<EOF > hitit
#!/bin/sh
if test ! -e /var/tmp/$user ; then
mkdir /var/tmp/$user
fi
if test ! -e /var/tmp/$user/hitit ; then
mkdir /var/tmp/$user/hitit
fi
rm -rf /var/tmp/$user/hitit/visitbuild
mkdir /var/tmp/$user/hitit/visitbuild
mv hitit_$dist.tar.gz /var/tmp/$user/hitit/visitbuild/$dist.tar.gz
cd /var/tmp/$user/hitit/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
./configure >> ../buildlog 2>&1
make -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.linux.tar.gz ..
cd ..
EOF
if [ $hitit = true ]
then
if [ $test = no ]
then
scp -P 22 hitit hitit:hitit_buildit
scp -P 22 $dist.tar.gz hitit:hitit_$dist.tar.gz
ssh -p 22 hitit "chmod 750 hitit_buildit;./hitit_buildit" &
fi
fi
#
# Build on warp.
#
......@@ -133,9 +180,7 @@ env CXXFLAGS=-O2 ./configure >> ../buildlog 2>&1
env PARALLEL=4 make -P >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.irix6.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver irix6 visit >> buildlog 2>&1
EOF
if [ $warp = true ]
......@@ -172,18 +217,16 @@ env CXXFLAGS=-O2 ./configure --enable-parallel >> ../buildlog 2>&1
make >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.osf1.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver osf1 visit >> buildlog 2>&1
EOF
if [ $sc = true ]
then
if [ $test = no ]
then
scp -P 22 sc sc1:sc_buildit
scp -P 22 $dist.tar.gz sc1:sc_$dist.tar.gz
ssh -p 22 sc1 "chmod 750 sc_buildit;./sc_buildit" &
scp sc sc1:sc_buildit
scp $dist.tar.gz sc1:sc_$dist.tar.gz
ssh sc1 "chmod 750 sc_buildit;./sc_buildit" &
fi
fi
......@@ -211,9 +254,7 @@ env CXXFLAGS=-O2 ./configure --enable-parallel >> ../buildlog 2>&1
env PARALLEL=20 make -P >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.irix6.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver irix6 visit >> buildlog 2>&1
EOF
if [ $tidalwave = true ]
......@@ -251,9 +292,7 @@ env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 6 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver aix visit >> buildlog 2>&1
EOF
if [ $white = true ]
......@@ -290,9 +329,7 @@ ver2=\`echo \$ver | tr "." "_"\`
make -j 3 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.linux.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver linux visit >> buildlog 2>&1
EOF
if [ $emperor = true ]
......@@ -310,5 +347,5 @@ fi
#
if [ $test = no ]
then
rm -f warp sc tidalwave white emperor
rm -f hitit warp sc tidalwave white emperor
fi
......@@ -51,7 +51,7 @@ esac
#
kickit=true
sunspot=true
hyper=true
hyper=false
gps=true
riptide=true
frost=true
......@@ -173,12 +173,12 @@ ver2=\`echo \$ver | tr "." "_"\`
make -j 2 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.linux.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver linux visit >> buildlog 2>&1
scp visit\$ver2.linux.tar.gz kickit:/scratch/$user/$dist
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on kickit" > resultlog 2>&1
echo " --------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......@@ -216,12 +216,12 @@ env CXXFLAGS=-O2 ./configure >> ../buildlog 2>&1
make -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.sunos5.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver sunos5 visit >> buildlog 2>&1
scp visit\$ver2.sunos5.tar.gz kickit:/scratch/$user/$dist
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on sunspot" > resultlog 2>&1
echo " ---------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......@@ -259,13 +259,12 @@ env CXXFLAGS=-O2 ./configure >> ../buildlog 2>&1
env PARALLEL=4 make -P >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.irix6.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver irix6 visit >> buildlog 2>&1
scp $dist/clearcase_bin/visit-install kickit:/scratch/$user/$dist
scp visit\$ver2.irix6.tar.gz kickit:/scratch/$user/$dist
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on hyper" > resultlog 2>&1
echo " -------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......@@ -303,12 +302,12 @@ env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 3 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.osf1.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver osf1 visit >> buildlog 2>&1
scp visit\$ver2.osf1.tar.gz kickit:/scratch/$user/$dist
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on gps" > resultlog 2>&1
echo " -----------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......@@ -328,16 +327,16 @@ fi
rm -f riptide
cat <<EOF > riptide
#!/bin/sh
if test ! -e /nfs/tmp1/$user ; then
mkdir /nfs/tmp1/$user
if test ! -e /fc/tmp0/fcdata/$user ; then
mkdir /fc/tmp0/fcdata/$user
fi
if test ! -e /nfs/tmp1/$user/riptide ; then
mkdir /nfs/tmp1/$user/riptide
if test ! -e /fc/tmp0/fcdata/$user/riptide ; then
mkdir /fc/tmp0/fcdata/$user/riptide
fi
rm -rf /nfs/tmp1/$user/riptide/visitbuild
mkdir /nfs/tmp1/$user/riptide/visitbuild
mv riptide_$dist.tar.gz /nfs/tmp1/$user/riptide/visitbuild/$dist.tar.gz
cd /nfs/tmp1/$user/riptide/visitbuild
rm -rf /fc/tmp0/fcdata/$user/riptide/visitbuild
mkdir /fc/tmp0/fcdata/$user/riptide/visitbuild
mv riptide_$dist.tar.gz /fc/tmp0/fcdata/$user/riptide/visitbuild/$dist.tar.gz
cd /fc/tmp0/fcdata/$user/riptide/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
ver=\`cat VERSION\`
......@@ -346,11 +345,12 @@ env CXXFLAGS=-O2 ./configure --enable-parallel >> ../buildlog 2>&1
env PARALLEL=8 make -P >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.irix6.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver irix6 visit >> buildlog 2>&1
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on riptide" > resultlog 2>&1
echo " ---------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......@@ -388,12 +388,12 @@ env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 6 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cp clearcase_bin/visit-install ..
cd ..
./visit-install \$ver aix visit >> buildlog 2>&1
scp visit\$ver2.aix.tar.gz kickit:/scratch/$user/$dist
rm -f resultlog
ls -l > resultlog 2>&1
echo " build of visit on frost" > resultlog 2>&1
echo " -------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
mail $emailName < resultlog
EOF
......
......@@ -8,7 +8,7 @@
# Date: February 12, 2001
#
# Usage:
# visit-install-closed [-beta | -private] -v <version>
# visit-install-closed [-beta | -private | -public] -v <version>
#
#-----------------------------------------------------------------------
......@@ -19,14 +19,15 @@ user=`whoami`
#
# Parse the execute line, providing default values for error checking.
#
warp=false
hitit=true
warp=true
sc=true
tidalwave=true
white=true
emperor=true
ver=undefined
verflag=
verflag=-private
#
# The loop is executed once for each symbol on the execute line. This means
......@@ -37,6 +38,7 @@ for abc
do
case $1 in
-none)
hitit=false
warp=false
sc=false
tidalwave=false
......@@ -44,6 +46,14 @@ do
emperor=false
shift
;;
-hitit)
hitit=false
shift
;;
+hitit)
hitit=true
shift
;;
-warp)
warp=false
shift
......@@ -89,11 +99,15 @@ do
shift 2
;;
-beta)
verflag=-beta;
verflag=-beta
shift
;;
-private)
verflag=-private;
verflag=-private
shift
;;
-public)
verflag=
shift
;;
esac
......@@ -104,7 +118,16 @@ done
#
if [ $ver = undefined ]
then
echo "Usage: [-beta | -private] [-none] [-<machine name>] -v <version>"
echo "Usage: [-beta | -private | -public] [-none] [-<machine name>] -v <version>"
exit
fi
#
# Check that the visit install script is present.
#
if [ ! -e visit-install ]
then
echo "visit-install is missing."
exit
fi
......@@ -120,14 +143,57 @@ fi
ver2=`echo $ver | tr "." "_"`
ver=`echo $ver2 | tr "_" "."`
#
# Install on hitit.
#
rm -f hitit
cat <<EOF > hitit
#!/bin/sh
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install -private -a -g bdiv -gw $ver linux /usr/gapps/visit > installlog 2>&1
else
./visit-install -private -g bdiv -gw $ver linux /usr/gapps/visit > installlog 2>&1
fi
rm -f resultlog
echo " install of visit on hitit" > resultlog 2>&1
echo " ---------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
df -k /usr/gapps/visit >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l /usr/gapps/visit/$ver/sgi-linux-mips2/bin >> resultlog 2>&1
EOF
if [ $hitit = true ]
then
if [ $test = no ]
then
scp -P 22 hitit:/var/tmp/$user/hitit/visitbuild/visit$ver2.linux.tar.gz .
scp -P 22 visit$ver2.linux.tar.gz hitit:
scp -P 22 visit-install hitit:
scp -P 22 hitit hitit:hitit_install
ssh -p 22 hitit "chmod 750 hitit_install;./hitit_install"
fi
fi
#
# Install on warp.
#
rm -f warp
cat <<EOF > warp
#!/bin/sh
cd /scratch/$user/warp/visitbuild
./visit-install $verflag -g bdiv -gw $ver irix6 /usr/gapps/visit > installlog 2>&1
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install $verflag -a -g bdiv -gw $ver irix6 /usr/gapps/visit > installlog 2>&1
else
./visit-install $verflag -g bdiv -gw $ver irix6 /usr/gapps/visit > installlog 2>&1
fi
mkdir /usr/gapps/visit/$ver/.visit
chmod 775 /usr/gapps/visit/$ver/.visit
chgrp visit /usr/gapps/visit/$ver/.visit
cp visit-config-closed /usr/gapps/visit/$ver/.visit/config
chmod 664 /usr/gapps/visit/$ver/.visit/config
chgrp visit /usr/gapps/visit/$ver/.visit/config
rm -f resultlog
echo " install of visit on warp" > resultlog 2>&1
echo " --------------------------" >> resultlog 2>&1
......@@ -141,7 +207,11 @@ if [ $warp = true ]
then
if [ $test = no ]
then
scp tidalwave:/fc/san1/$user/tidalwave/visitbuild/visit$ver2.irix6.tar.gz .
scp -P 22 visit$ver2.irix6.tar.gz warp:
scp -P 22 visit-install warp:
scp -P 22 warp warp:warp_install
scp -P 22 visit-config-closed warp:visit-config-closed
ssh -p 22 warp "chmod 750 warp_install;./warp_install"
fi
fi
......@@ -152,7 +222,6 @@ fi
rm -f sc
cat <<EOF > sc
#!/bin/sh
cd /nfs/tmp2/$user/sc/visitbuild
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install -private -a -g bdiv -gw $ver osf1 /usr/gapps/visit > installlog 2>&1
......@@ -172,6 +241,9 @@ if [ $sc = true ]
then
if [ $test = no ]
then
scp sc1:/nfs/tmp2/$user/sc/visitbuild/visit$ver2.osf1.tar.gz .
scp visit$ver2.osf1.tar.gz sc1:
scp visit-install sc1:
scp sc sc1:sc_install
ssh sc1 "chmod 750 sc_install;./sc_install"
fi
......@@ -183,7 +255,6 @@ fi
rm -f tidalwave
cat <<EOF > tidalwave
#!/bin/sh
cd /fc/san1/$user/tidalwave/visitbuild
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install -private -a -g bdiv -gw $ver irix6 /usr/gapps/visit > installlog 2>&1
......@@ -203,6 +274,9 @@ if [ $tidalwave = true ]
then
if [ $test = no ]
then
scp tidalwave:/fc/san1/$user/tidalwave/visitbuild/visit$ver2.irix6.tar.gz .
scp visit$ver2.irix6.tar.gz tidalwave:
scp visit-install tidalwave:
scp tidalwave tidalwave:tidalwave_install
ssh tidalwave "chmod 750 tidalwave_install;./tidalwave_install"
fi
......@@ -214,7 +288,6 @@ fi
rm -f white
cat <<EOF > white
#!/bin/sh
cd /p/gw1/$user/white/visitbuild
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install -private -a -g bdiv -gw $ver aix /usr/gapps/visit > installlog 2>&1
......@@ -234,6 +307,9 @@ if [ $white = true ]
then
if [ $test = no ]
then
scp white:/p/gw1/$user/tidalwave/visitbuild/visit$ver2.aix.tar.gz .
scp visit$ver2.aix.tar.gz white:
scp visit-install white:
scp white white:white_install
ssh white "chmod 750 white_install;./white_install"
fi
......@@ -245,8 +321,6 @@ fi
rm -f emperor
cat <<EOF > emperor
#!/bin/sh
mv visit-config-closed /usr/tmp/$user/emperor/visitbuild
cd /usr/tmp/$user/emperor/visitbuild
if [ -d /usr/gapps/visit/$ver ]
then
./visit-install $verflag -a -g bdiv -gw $ver linux /usr/gapps/visit > installlog 2>&1
......@@ -272,6 +346,9 @@ if [ $emperor = true ]
then
if [ $test = no ]
then
scp emperor0:/usr/tmp/$user/emperor/visitbuild/visit$ver2.linux.tar.gz .
scp visit$ver2.linux.tar.gz emperor0:
scp visit-install emperor0:
scp emperor emperor0:emperor_install
scp visit-config-closed emperor0:visit-config-closed
ssh emperor0 "chmod 750 emperor_install;./emperor_install"
......@@ -283,5 +360,5 @@ fi
#
if [ $test = no ]
then
rm -f warp sc tidalwave white emperor
rm -f hitit warp sc tidalwave white emperor
fi
......@@ -8,7 +8,7 @@
# Date: October 27, 2000
#
# Usage:
# visit-install-open [-beta | -private] -v <version>
# visit-install-open [-beta | -private | -public] -v <version>
#
#-----------------------------------------------------------------------
......@@ -59,7 +59,7 @@ frost=true
pengra=true
ver=undefined
verflag=
verflag=-private
#
# The loop is executed once for each symbol on the execute line. This means
......@@ -140,11 +140,15 @@ do
shift 2
;;
-beta)
verflag=-beta;
verflag=-beta
shift
;;
-private)
verflag=-private;
verflag=-private
shift