Commit 55a47ab5 authored by hrchilds's avatar hrchilds

Update from April 5, 2007

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@868 18c085ea-50e0-402c-830e-de6fd14e8384
parent c16faf38
......@@ -139,6 +139,13 @@ setenv VISITARCH tru64_5_gcc_3.3.3
Now build each of the dependent libraries followed by VisIt.
If you are building on AIX you should set the object mode to specify if you
are building a 32 or a 64 bit executable. You should always build a 32 bit
version and then you may also optionally build a 64 bit version. To set the
object mode issue one of the following two commands.
setenv OBJECT_MODE 32
setenv OBJECT_MODE 64
Mesa
=====
......@@ -236,7 +243,7 @@ env CXXFLAGS="" CFLAGS="" ./bootstrap
# (ccmake) either with the curses header or library. (Mainly with AIX).
# To prevent CMake from attempting to build ccmake, open CMakeCache.txt
# and set CURSES_LIBRARY:FILEPATH= to ""
make
gmake
#
# Build VTK
......@@ -253,17 +260,13 @@ cd VTK
#
../cmake-2.2.3/bin/cmake .
#
# Edit CMakeCache.txt. Turn BUILD_SHARED_LIBS, VTK_USE_MANGLED_MESA, and
# VTK_USE_ANSI_STDLIB on (Note that some platforms will have a definition
# for VTK_USE_ANSI_STDLIB and some will not). Turn BUILD_TESTING off.
# Edit CMakeCache.txt. Turn BUILD_SHARED_LIBS and VTK_USE_MANGLED_MESA on.
# Turn BUILD_TESTING off.
#
# If you want to change the compilers you should modify CMAKE_CXX_COMPILER
# and CMAKE_C_COMPILER. If you want to change the compiler flags you should
# modify CMAKE_C_FLAGS and CMAKE_CXX_FLAGS. You might want to specify "-O2"
# as a compiler flag to build an optimized version. If you want to specify
# the location of the OpenGL library you should modify OPENGL_gl_LIBRARY and
# OPENGL_glu_LIBRARY (/usr/shlib/libGL.so and /usr/shlib/libGLU.so on tru64
# systems.)
# as a compiler flag to build an optimized version.
#
# On irix systems you will need to specify "-LANG:std" for the compiler and
# linker flags. If you are building a 64 bit version you will also need
......@@ -361,8 +364,7 @@ cd VTK
# Again, this change has only been found to be necessary for Altix systems
# gcc 3.3.3.
#
make
gmake
#
# Install it in the visit directory under the vtk directory.
......@@ -392,9 +394,9 @@ cp VolumeRendering/*.h $VISITDIR/vtk/5.0.0c/$VISITARCH/VolumeRender
cp MangleMesaInclude/*.h $VISITDIR/vtk/5.0.0c/$VISITARCH/MangleMesaInclude
cp vtkstd/* $VISITDIR/vtk/5.0.0c/$VISITARCH/vtkstd
cp -d bin/*.so* $VISITDIR/vtk/5.0.0c/$VISITARCH/lib
# For IRIX, solaris
# For aix, IRIX, solaris
# cp -R bin/*.so* $VISITDIR/vtk/5.0.0c/$VISITARCH/lib
# For true64,
# For true64
# cp bin/*.so $VISITDIR/vtk/5.0.0c/$VISITARCH/lib
cd ..
......@@ -1205,9 +1207,9 @@ More information about building VisIt follows after that.
#
# Build and install it in the visit directory.
#
gunzip visit061218.tar.gz
tar xf visit061218.tar
cd visit061218/config-site
gunzip visit070330.tar.gz
tar xf visit070330.tar
cd visit070330/config-site
echo VISITHOME=$VISITDIR > `hostname`.conf
sed "s/ARCH/$VISITARCH/" Template.conf >> `hostname`.conf
cd ..
......@@ -1225,14 +1227,15 @@ clearcase_bin/visit-bin-dist
# Use the appropriate install command based on the operating system on
# which you built VisIt.
#
clearcase_bin/visit-install 1.5.5 aix $VISITDIR
clearcase_bin/visit-install 1.5.5 darwin $VISITDIR
clearcase_bin/visit-install 1.5.5 irix6 $VISITDIR
clearcase_bin/visit-install 1.5.5 linux $VISITDIR
clearcase_bin/visit-install 1.5.5 linux-ia64 $VISITDIR
clearcase_bin/visit-install 1.5.5 linux-x86_64 $VISITDIR
clearcase_bin/visit-install 1.5.5 osf1 $VISITDIR
clearcase_bin/visit-install 1.5.5 sunos5 $VISITDIR
clearcase_bin/visit-install 1.6 aix $VISITDIR
clearcase_bin/visit-install 1.6 aix64 $VISITDIR
clearcase_bin/visit-install 1.6 darwin $VISITDIR
clearcase_bin/visit-install 1.6 irix6 $VISITDIR
clearcase_bin/visit-install 1.6 linux $VISITDIR
clearcase_bin/visit-install 1.6 linux-ia64 $VISITDIR
clearcase_bin/visit-install 1.6 linux-x86_64 $VISITDIR
clearcase_bin/visit-install 1.6 osf1 $VISITDIR
clearcase_bin/visit-install 1.6 sunos5 $VISITDIR
When running the configure script you can enable or disable certain dependent
packages. All the configure options are listed at the beginning of the
......
This diff is collapsed.
......@@ -17,7 +17,7 @@ Unix and Mac OS X:
where
"version" will be 1.5.5 for the current distribution.
"version" will be 1.6 for the current distribution.
"platform" will be one of the following: aix, aix64-xlc, darwin,
irix6, linux-altix, linux-ia64, linux-x86_64, linux_chaos, linux_rhel3,
......@@ -29,17 +29,17 @@ Unix and Mac OS X:
For example
visit-install 1.5.5 irix6 /usr/local/visit
visit-install 1.6 irix6 /usr/local/visit
will install the irix6, 1.5.5 version of visit in the directory
will install the irix6, 1.6 version of visit in the directory
"/usr/local/visit". Note that you will need to have the file
"visit1_5_5.irix6.tar.gz" present in the current directory for this
"visit1_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 1.5.5 linux /usr/local/visit
visit-install 1.6 linux /usr/local/visit
to add a linux, 1.5.5 version of visit to the same directory.
to add a linux, 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.
......@@ -77,8 +77,8 @@ Unix and Mac OS X:
Windows:
1. Copy the file visit1.5.5.exe to your desktop.
1. Copy the file visit1.6.exe to your desktop.
2. Double click on the visit1.5.5.exe icon to run the installer.
2. Double click on the visit1.6.exe icon to run the installer.
3. Follow the directions provided by the installer.
......@@ -160,6 +160,13 @@ $0 = shift @ARGV;
# MPICH-2, for example, has a python-based launcher, and setting this
# unconditionally will prevent parallel engines from launching.
#
# Eric Brugger, Wed Apr 4 10:07:51 PDT 2007
# Added support for specifying 32 or 64 bit executables for aix.
#
# Thomas R. Treadway, Wed Apr 4 18:02:52 PDT 2007
# Treat the platformDir like all of the others, allowing darwin-ppc,
# darwin-i386, [or darwin (universal) directory].
#
###############################################################################
use POSIX qw(ceil);
......@@ -358,6 +365,7 @@ $fullusage = "$usage
-publicpluginsonly Disable all plugins but the default ones.
-compiler <cc> Require version built with the specified compiler.
-switch <switch> Require version built for the specified switch.
-objectmode <mode> Require a specific object file mode.
Developer options
---------------------------------------------------------------------------
......@@ -474,6 +482,7 @@ $envonly = 0;
$logging = 0;
$req_compiler = "";
$req_switch = "";
$req_object_mode = "";
$use_new_console = 0;
$visit_sets_up_environment = 0;
$pre_command = "";
......@@ -536,6 +545,7 @@ while (scalar(@ARGV) > 0) {
elsif ($arg eq "-break") { if($debug_gdb) {$bp = shift; push @breakpoints, $bp; } else {push @visitargs, $arg;}}
elsif ($arg eq "-compiler") { $req_compiler = shift; }
elsif ($arg eq "-switch") { $req_switch = shift; push @visitargs, "-switch", $req_switch; }
elsif ($arg eq "-objectmode") { $req_object_mode = shift; push @visitargs, "-objectmode", $req_object_mode; }
elsif ($arg eq "-totalview" ) {
$debug_totalview = shift;
push @norun, $debug_totalview;
......@@ -761,7 +771,7 @@ for ($os) {
last;
};
/aix/ && do {
if ($ENV{OBJECT_MODE} and $ENV{OBJECT_MODE} eq "64")
if ($req_object_mode eq "64")
{
if ($req_compiler eq "xlc") {
push @supportedarchs, "ibm-aix-pwr64-xlc";
......@@ -770,10 +780,13 @@ for ($os) {
push @supportedarchs, "ibm-aix-pwr64";
}
}
if ($req_compiler eq "xlc") {
push @supportedarchs, "ibm-aix-pwr-xlc";
} else {
push @supportedarchs, "ibm-aix-pwr";
else
{
if ($req_compiler eq "xlc") {
push @supportedarchs, "ibm-aix-pwr-xlc";
} else {
push @supportedarchs, "ibm-aix-pwr";
}
}
$launch = "poe" if ($procs_set && $launch eq "");
last;
......@@ -811,7 +824,32 @@ for ($os) {
last;
};
/darwin/ && do {
push @supportedarchs, "darwin-ppc";
if ($req_compiler eq "ppc") {
push @supportedarchs, "darwin-ppc";
}
elsif ($req_compiler eq "i386") {
push @supportedarchs, "darwin-i386";
}
elsif ( -d "$visitdir/darwin")
{
push @supportedarchs, "darwin";
}
else
{
chomp( $mach = `uname -m` );
if ($mach =~ /i386/) {
push @supportedarchs, "darwin-i386";
}
elsif ($mach =~ /x86_64/) {
push @supportedarchs, "darwin-x86_64";
}
elsif ($mach =~ /ppc/) {
push @supportedarchs, "darwin-ppc";
}
elsif ($mach =~ /ppc_64/) {
push @supportedarchs, "darwin-ppc_64";
}
}
$launch = "mpirun" if ($procs_set && $launch eq "");
last;
};
......@@ -1049,7 +1087,7 @@ $ENV{LD_LIBRARY_PATH} = "$ENV{LD_LIBRARY_PATH}:/usr/local/lib";
# Set up some environment flags that let VisIt run on Darwin.
if($os eq "darwin")
{
$ENV{DYLD_LIBRARY_PATH} = "$visitlibdir:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries:$ENV{DYLD_LIBRARY_PATH}";
$ENV{DYLD_LIBRARY_PATH} = "$visitlibdir:$ENV{HOME}/.visit/$archdir/plugins:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries:$ENV{DYLD_LIBRARY_PATH}";
}
# Set up plugin search paths in the correct order
......
......@@ -356,6 +356,11 @@ $0 = shift @ARGV;
#
# Mark C. Miller, Tue Nov 22 09:42:57 PST 2005
# Removed refs to sl_io subdirectory
#
# Thomas R. Treadway, Wed Apr 4 18:02:52 PDT 2007
# Treat the platformDir like all of the others, allowing darwin-ppc,
# darwin-i386, [or darwin (universal) directory].
#
###############################################################################
......@@ -928,7 +933,19 @@ for ($os) {
last;
};
/darwin/ && do {
$archdir = "darwin-ppc";
chomp( $mach = `uname -m` );
if ($mach =~ /i386/) {
push @supportedarchs, "darwin-i386";
}
elsif ($mach =~ /x86_64/) {
push @supportedarchs, "darwin-x86_64";
}
elsif ($mach =~ /ppc/) {
push @supportedarchs, "darwin-ppc";
}
elsif ($mach =~ /ppc_64/) {
push @supportedarchs, "darwin-ppc_64";
}
$launch = "mpirun" if ($procs_set && $launch eq "");
last;
};
......@@ -1155,7 +1172,7 @@ $ENV{LD_LIBRARY_PATH} = "$ENV{LD_LIBRARY_PATH}:/usr/local/lib";
# Set up some environment flags that let VisIt run on Darwin.
if($os eq "darwin")
{
$ENV{DYLD_LIBRARY_PATH} = "$visitlibdir:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries:$ENV{DYLD_LIBRARY_PATH}";
$ENV{DYLD_LIBRARY_PATH} = "$visitlibdir:$ENV{HOME}/.visit/$archdir/plugins:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries:$ENV{DYLD_LIBRARY_PATH}";
}
# Set up plugin search paths in the correct order
......
......@@ -128,7 +128,7 @@ end
# If we're doing more than converting then run mif2help.
if ("$MIFOnly" == "FALSE") then
# If the tool is built then proceed.
if(-e mif2help) then
if(-e $helpPath/mif2help) then
# Create a list of MIF files to pass to mif2help.
set mifargs = " "
foreach input ($inputFiles)
......@@ -137,7 +137,7 @@ if ("$MIFOnly" == "FALSE") then
set mifargs = "$tmpvar"
end
mif2help $mifargs
$helpPath/mif2help $mifargs
else
echo "The mif2help tool failed to build."
endif
......
This diff is collapsed.
......@@ -19,11 +19,9 @@ user=`whoami`
#
# Parse the execute line, providing default values for error checking.
#
hitit=true
crier=true
sunset=true
sc=true
ice=true
purple=true
lilac=true
gauss=true
......@@ -40,25 +38,15 @@ for abc
do
case $1 in
-none)
hitit=false
crier=false
sunset=false
sc=false
ice=false
purple=false
lilac=false
gauss=false
hopi=false
shift
;;
-hitit)
hitit=false
shift
;;
+hitit)
hitit=true
shift
;;
-crier)
crier=false
shift
......@@ -83,14 +71,6 @@ do
sc=true
shift
;;
-ice)
ice=false
shift
;;
+ice)
ice=true
shift
;;
-purple)
purple=false
shift
......@@ -149,62 +129,6 @@ then
exit
fi
#
# Build on hitit.
#
rm -f hitit
cat <<EOF > hitit
#!/bin/sh
if test ! -e /gscratch/$user ; then
mkdir /gscratch/$user
fi
if test ! -e /gscratch/$user/hitit ; then
mkdir /gscratch/$user/hitit
fi
rm -rf /gscratch/$user/hitit/visitbuild
mkdir /gscratch/$user/hitit/visitbuild
mv hitit_$dist.tar.gz /gscratch/$user/hitit/visitbuild/$dist.tar.gz
cd /gscratch/$user/hitit/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/gapps/visit/gcc/3.2.3/linux_redhat7/lib
export LD_LIBRARY_PATH
env CXXFLAGS=-O2 ./configure >> ../buildlog 2>&1
cp /usr/gapps/visit/gcc/3.2.3/linux_redhat7/lib/libgcc_s.so.1 lib
cp /usr/gapps/visit/gcc/3.2.3/linux_redhat7/lib/libstdc++.so.5 lib
cd databases/Fluent
sed "s/\\\$(CXXFLAGSORIG)/-D_LARGEFILE64_SOURCE/" Makefile > Makefile+;rm Makefile;mv Makefile+ Makefile
cd ../..
make -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.linux.tar.gz ..
cd ..
rm -f resultlog
echo " build of visit on hitit" > resultlog 2>&1
echo " -------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "number of database plugins = "\`ls $dist/plugins/databases/libI* | wc -l\` >> resultlog 2>&1
echo "number of operator plugins = "\`ls $dist/plugins/operators/libI* | wc -l\` >> resultlog 2>&1
echo "number of plot plugins = "\`ls $dist/plugins/plots/libI* | wc -l\` >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "The database plugins:" >> resultlog 2>&1
ls $dist/plugins/databases/libI* | sed "s/$dist\/plugins\/databases\/libI//" | sed "s/Database.so//" >> resultlog 2>&1
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 crier.
#
......@@ -362,56 +286,6 @@ then
fi
fi
#
# Build on ice, both serial and parallel versions.
#
rm -f ice
cat <<EOF > ice
#!/bin/sh
PATH=/usr/local/bin:\$PATH
if test ! -d /p/gi1/$user ; then
mkdir /p/gi1/$user
fi
if test ! -d /p/gi1/$user/ice ; then
mkdir /p/gi1/$user/ice
fi
rm -rf /p/gi1/$user/ice/visitbuild
mkdir /p/gi1/$user/ice/visitbuild
mv ice_$dist.tar.gz /p/gi1/$user/ice/visitbuild/$dist.tar.gz
cd /p/gi1/$user/ice/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
cp /usr/gapps/visit/bz2/bzlib.h include
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 6 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cd ..
echo " build of visit on ice" > resultlog 2>&1
echo " -----------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "number of database plugins = "\`ls $dist/plugins/databases/libI* | wc -l\` >> resultlog 2>&1
echo "number of operator plugins = "\`ls $dist/plugins/operators/libI* | wc -l\` >> resultlog 2>&1
echo "number of plot plugins = "\`ls $dist/plugins/plots/libI* | wc -l\` >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "The database plugins:" >> resultlog 2>&1
ls $dist/plugins/databases/libI* | sed "s/$dist\/plugins\/databases\/libI//" | sed "s/Database.so//" >> resultlog 2>&1
EOF
if [ $ice = true ]
then
if [ $test = no ]
then
scp ice ice:ice_buildit
scp $dist.tar.gz ice:ice_$dist.tar.gz
ssh ice "chmod 750 ice_buildit;./ice_buildit" &
fi
fi
#
# Build on purple, both serial and parallel versions.
#
......@@ -430,19 +304,42 @@ mkdir /p/gscratch3/$user/purple/visitbuild
mv purple_$dist.tar.gz /p/gscratch3/$user/purple/visitbuild/$dist.tar.gz
cd /p/gscratch3/$user/purple/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
mv $dist ${dist}_32
cd ${dist}_32
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
OBJECT_MODE=32
export OBJECT_MODE
env CXXFLAGS=-O2 MAKE=gmake ./configure --with-config=config-site/purple1441_32.conf >> ../buildlog 2>&1
gmake -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cd ..
gunzip -c $dist.tar.gz | tar xvf - >> buildlog 2>&1
cd $dist
OBJECT_MODE=64
export OBJECT_MODE
env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -compiler xlc -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix64-xlc.tar.gz ..
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix64.tar.gz ..
cd ..
echo " build of visit on purple" > resultlog 2>&1
echo " --------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo " 32 bit build" >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "number of database plugins = "\`ls ${dist}_32/plugins/databases/libI* | wc -l\` >> resultlog 2>&1
echo "number of operator plugins = "\`ls ${dist}_32/plugins/operators/libI* | wc -l\` >> resultlog 2>&1
echo "number of plot plugins = "\`ls ${dist}_32/plugins/plots/libI* | wc -l\` >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "The database plugins:" >> resultlog 2>&1
ls ${dist}_32/plugins/databases/libI* | sed "s/${dist}_32\/plugins\/databases\/libI//" | sed "s/Database.so//" >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo " 64 bit build" >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "number of database plugins = "\`ls $dist/plugins/databases/libI* | wc -l\` >> resultlog 2>&1
echo "number of operator plugins = "\`ls $dist/plugins/operators/libI* | wc -l\` >> resultlog 2>&1
echo "number of plot plugins = "\`ls $dist/plugins/plots/libI* | wc -l\` >> resultlog 2>&1
......@@ -616,5 +513,5 @@ fi
#
if [ $test = no ]
then
rm -f hitit crier sunset sc ice purple lilac gauss hopi
rm -f crier sunset sc purple lilac gauss hopi
fi
......@@ -50,10 +50,7 @@ esac
hoth=true
sunspot=true
quad=true
berg=true
up=true
pengra=true
pengra_icc=true
thunder=true
prism=true
yana=true
......@@ -74,10 +71,7 @@ do
hoth=false
sunspot=false
quad=false
berg=false
up=false
pengra=false
pengra_icc=false
thunder=false
prism=false
yana=false
......@@ -109,14 +103,6 @@ do
quad=true
shift
;;
-berg)
berg=false
shift
;;
+berg)
berg=true
shift
;;
-up)
up=false
shift
......@@ -125,22 +111,6 @@ do
up=true
shift
;;
-pengra)
pengra=false
shift
;;
+pengra)
pengra=true
shift
;;
-pengra_icc)
pengra_icc=false
shift
;;
+pengra_icc)
pengra_icc=true
shift
;;
-thunder)
thunder=false
shift
......@@ -227,7 +197,7 @@ gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
env CXXFLAGS=-O2 ./configure --enable-parallel --enable-visitmodule >> ../buildlog 2>&1
env CXXFLAGS=-O2 ./configure --enable-parallel --enable-viewer-mesa-stub --enable-visitmodule >> ../buildlog 2>&1
make -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist >> ../buildlog 2>&1
mv visit\$ver2.linux.tar.gz ..
......@@ -360,63 +330,13 @@ then
fi
fi
#
# Build on berg, both serial and parallel versions.
#
rm -f berg
cat <<EOF > berg
#!/bin/sh
if test ! -e /g/g17/$user ; then
mkdir /g/g17/$user
fi
if test ! -e /g/g17/$user/berg ; then
mkdir /g/g17/$user/berg
fi
rm -rf /g/g17/$user/berg/visitbuild
mkdir /g/g17/$user/berg/visitbuild
mv berg_$dist.tar.gz /g/g17/$user/berg/visitbuild/$dist.tar.gz
cd /g/g17/$user/berg/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cd ..
rm -f resultlog
echo " build of visit on berg" > resultlog 2>&1
echo " ------------------------" >> resultlog 2>&1
echo "" >> resultlog 2>&1
ls -l >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "number of database plugins = "\`ls $dist/plugins/databases/libI* | wc -l\` >> resultlog 2>&1
echo "number of operator plugins = "\`ls $dist/plugins/operators/libI* | wc -l\` >> resultlog 2>&1
echo "number of plot plugins = "\`ls $dist/plugins/plots/libI* | wc -l\` >> resultlog 2>&1
echo "" >> resultlog 2>&1
echo "The database plugins:" >> resultlog 2>&1
ls $dist/plugins/databases/libI* | sed "s/$dist\/plugins\/databases\/libI//" | sed "s/Database.so//" >> resultlog 2>&1
mail $emailName < resultlog
EOF
if [ $berg = true ]
then
if [ $test = no ]
then
scp berg berg:berg_buildit
scp $dist.tar.gz berg:berg_$dist.tar.gz
ssh berg "chmod 750 berg_buildit;./berg_buildit" &
fi
fi
#
# Build on up, both serial and parallel versions.
#
rm -f up
cat <<EOF > up
#!/bin/sh
PATH=/usr/local/bin:$PATH
PATH=/usr/local/bin:\$PATH
if test ! -d /p/gup1/$user ; then
mkdir /p/gup1/$user
fi
......@@ -428,118 +348,41 @@ mkdir /p/gup1/$user/up/visitbuild
mv up_$dist.tar.gz /p/gup1/$user/up/visitbuild/$dist.tar.gz
cd /p/gup1/$user/up/visitbuild
gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1
cd $dist
mv $dist ${dist}_32
cd ${dist}_32
ver=\`cat VERSION\`
ver2=\`echo \$ver | tr "." "_"\`
OBJECT_MODE=32
export OBJECT_MODE
env CXXFLAGS=-O2 MAKE=gmake ./configure --with-config=config-site/up041_32.conf >> ../buildlog 2>&1
gmake -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix.tar.gz ..
cd ..
gunzip -c $dist.tar.gz | tar xvf - >> buildlog 2>&1
cd $dist
OBJECT_MODE=64
export OBJECT_MODE
env CXXFLAGS=-O2 MAKE=gmake ./configure --enable-parallel >> ../buildlog 2>&1
gmake -j 4 >> ../buildlog 2>&1
clearcase_bin/visit-bin-dist -compiler xlc -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix64-xlc.tar.gz ..
clearcase_bin/visit-bin-dist -make gmake >> ../buildlog 2>&1
mv visit\$ver2.aix64.tar.gz ..
cd ..
echo " build of visit on up" > resultlog 2>&1
echo " ----------------------" >> resultlog 2>&1