Commit 913adec4 authored by hrchilds's avatar hrchilds

Update from April 28, 2005

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@459 18c085ea-50e0-402c-830e-de6fd14e8384
parent d9c79b5e
......@@ -66,6 +66,9 @@ $0 = shift @ARGV;
# Jeremy Meredith, Fri Apr 1 16:05:49 PST 2005
# Added valgrind to -fullhelp, and unlimited the errors it will report.
#
# Jeremy Meredith, Thu Apr 28 18:02:28 PDT 2005
# Added multi-compiler support. Added linux-intel-icc platform.
#
###############################################################################
......@@ -215,6 +218,7 @@ $fullusage = "$usage
path to a visit installation directory.
/bin is automatically appended to this path.
-publicpluginsonly Disable all plugins but the default ones.
-compiler <cc> Require version built with the specified compiler.
Developer options
---------------------------------------------------------------------------
......@@ -323,6 +327,7 @@ $debug_valgrind = "";
$add_movie_args = 0;
$envonly = 0;
$logging = 0;
$req_compiler = "";
# Parse the arguments
@visitargs = ();
......@@ -374,6 +379,7 @@ while (scalar(@ARGV) > 0) {
elsif ($arg eq "-gdb-vcl") { if($exe_name eq "vcl") {$debug_gdb = 1;} else {push @visitargs, $arg;}}
elsif ($arg eq "-xterm") { if($debug_gdb) {$gdb_xterm = 1;} else {push @visitargs, $arg;}}
elsif ($arg eq "-break") { if($debug_gdb) {$bp = shift; push @breakpoints, $bp; } else {push @visitargs, $arg;}}
elsif ($arg eq "-compiler") { $req_compiler = shift; push @visitargs, "-compiler", $req_compiler; }
elsif ($arg eq "-totalview" ) {
$debug_totalview = shift;
push @norun, $debug_totalview;
......@@ -605,7 +611,12 @@ for ($os) {
push @supportedarchs, "linux-x86_64";
}
else {
push @supportedarchs, "linux-intel";
if ($req_compiler eq "icc") {
push @supportedarchs, "linux-intel-icc";
}
else {
push @supportedarchs, "linux-intel";
}
}
$launch = "mpirun" if ($procs_set && $launch eq "");
last;
......
......@@ -197,6 +197,9 @@
# Jeremy Meredith, Thu Mar 17 11:31:49 PST 2005
# Added xml2plugin back into the distribution.
#
# Jeremy Meredith, Mon Apr 25 10:48:08 PDT 2005
# Added some basic multi-compiler support.
#
#------------------------------------------------------------------------------
set DataFiles = "TRUE"
......@@ -207,6 +210,8 @@ set PythonExe = "TRUE"
set Compress = GZIP
set VisItDir = `pwd`
set OSGiven = "FALSE"
set CompilerGiven = "FALSE"
set compiler = ""
set Strip = "TRUE"
set Help = "FALSE"
......@@ -268,6 +273,12 @@ while ($#argv >= 1)
set OSGiven = TRUE
breaksw
case -compiler:
shift
set compiler = $1
set CompilerGiven = TRUE
breaksw
default:
echo " "
echo ">>>>>>>>>> Illegal option $1 <<<<<<<<<<"
......@@ -293,6 +304,7 @@ if ($Help == TRUE) then
echo " -nstrip Do not strip the execubles and libraries."
echo " -nvtk No VTK libraries."
echo " -os os Operating system."
echo " -compiler cc Compiler."
exit (1)
endif
......@@ -452,7 +464,7 @@ endif
mkdir distribution/visit/$Version
mkdir distribution/visit/$Version/bin
ln -s $Version distribution/visit/current
set platforms="hp-hpux-pa sgi-irix6-mips2 sun4-sunos5-sparc ibm-aix-pwr ibm-aix-pwr64 dec-osf1-alpha linux-intel linux-ia64 linux-alpha linux-x86_64 darwin-ppc"
set platforms="hp-hpux-pa sgi-irix6-mips2 sun4-sunos5-sparc ibm-aix-pwr ibm-aix-pwr64 dec-osf1-alpha linux-intel linux-intel-icc linux-ia64 linux-alpha linux-x86_64 darwin-ppc"
foreach platform ($platforms)
mkdir distribution/visit/$Version/$platform
mkdir distribution/visit/$Version/$platform/bin
......@@ -547,8 +559,13 @@ switch ($os)
case i486:
case i586:
case i686:
set osver = linux
set visitbindir = linux-intel
if (("$CompilerGiven" == "TRUE") && ("$compiler" == "icc")) then
set osver = linux-icc
set visitbindir = linux-intel-icc
else
set osver = linux
set visitbindir = linux-intel
endif
breaksw
case ia64:
set osver = linux-ia64
......
......@@ -6730,6 +6730,12 @@ avtDatabaseMetaData::GetSimInfo() const
return *simInfo;
}
avtSimulationInformation&
avtDatabaseMetaData::GetSimInfo()
{
return *simInfo;
}
// ****************************************************************************
// Function: avtDatabaseMetaData::VarIsCompound
//
......
......@@ -474,6 +474,9 @@ public:
// Brad Whitlock, Fri Apr 1 15:04:48 PST 2005
// Added support for avtLabelMetaData.
//
// Jeremy Meredith, Thu Apr 28 17:48:21 PDT 2005
// Added a non-const accessor for the simulation info.
//
//----------------------------------------------------------------------------
class DBATTS_API avtDatabaseMetaData : public AttributeSubject
......@@ -553,6 +556,7 @@ public:
bool GetIsSimulation() const { return isSimulation; }
void SetSimInfo(const avtSimulationInformation&);
const avtSimulationInformation &GetSimInfo() const;
avtSimulationInformation &GetSimInfo();
const intVector &GetCycles() const { return cycles; };
void SetCycle(int, int);
......
......@@ -6,29 +6,29 @@
//
static const char *CommandArgumentType_strings[] = {
"CmdArgInt", "CmdArgFloat", "CmdArgString"
};
"CmdArgNone", "CmdArgInt", "CmdArgFloat",
"CmdArgString"};
std::string
avtSimulationCommandSpecification::CommandArgumentType_ToString(avtSimulationCommandSpecification::CommandArgumentType t)
{
int index = int(t);
if(index < 0 || index >= 3) index = 0;
if(index < 0 || index >= 4) index = 0;
return CommandArgumentType_strings[index];
}
std::string
avtSimulationCommandSpecification::CommandArgumentType_ToString(int t)
{
int index = (t < 0 || t >= 3) ? 0 : t;
int index = (t < 0 || t >= 4) ? 0 : t;
return CommandArgumentType_strings[index];
}
bool
avtSimulationCommandSpecification::CommandArgumentType_FromString(const std::string &s, avtSimulationCommandSpecification::CommandArgumentType &val)
{
val = avtSimulationCommandSpecification::CmdArgInt;
for(int i = 0; i < 3; ++i)
val = avtSimulationCommandSpecification::CmdArgNone;
for(int i = 0; i < 4; ++i)
{
if(s == CommandArgumentType_strings[i])
{
......@@ -48,13 +48,13 @@ avtSimulationCommandSpecification::CommandArgumentType_FromString(const std::str
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
// ****************************************************************************
avtSimulationCommandSpecification::avtSimulationCommandSpecification() : AttributeSubject("si")
avtSimulationCommandSpecification::avtSimulationCommandSpecification() : AttributeSubject("sib")
{
}
......@@ -67,16 +67,17 @@ avtSimulationCommandSpecification::avtSimulationCommandSpecification() : Attribu
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
// ****************************************************************************
avtSimulationCommandSpecification::avtSimulationCommandSpecification(const avtSimulationCommandSpecification &obj) : AttributeSubject("si")
avtSimulationCommandSpecification::avtSimulationCommandSpecification(const avtSimulationCommandSpecification &obj) : AttributeSubject("sib")
{
name = obj.name;
argumentType = obj.argumentType;
enabled = obj.enabled;
SelectAll();
}
......@@ -90,7 +91,7 @@ avtSimulationCommandSpecification::avtSimulationCommandSpecification(const avtSi
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -110,7 +111,7 @@ avtSimulationCommandSpecification::~avtSimulationCommandSpecification()
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -122,6 +123,7 @@ avtSimulationCommandSpecification::operator = (const avtSimulationCommandSpecifi
if (this == &obj) return *this;
name = obj.name;
argumentType = obj.argumentType;
enabled = obj.enabled;
SelectAll();
return *this;
......@@ -136,7 +138,7 @@ avtSimulationCommandSpecification::operator = (const avtSimulationCommandSpecifi
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -147,7 +149,8 @@ avtSimulationCommandSpecification::operator == (const avtSimulationCommandSpecif
{
// Create the return value
return ((name == obj.name) &&
(argumentType == obj.argumentType));
(argumentType == obj.argumentType) &&
(enabled == obj.enabled));
}
// ****************************************************************************
......@@ -159,7 +162,7 @@ avtSimulationCommandSpecification::operator == (const avtSimulationCommandSpecif
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -180,7 +183,7 @@ avtSimulationCommandSpecification::operator != (const avtSimulationCommandSpecif
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -201,7 +204,7 @@ avtSimulationCommandSpecification::TypeName() const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -229,7 +232,7 @@ avtSimulationCommandSpecification::CopyAttributes(const AttributeGroup *atts)
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -255,7 +258,7 @@ avtSimulationCommandSpecification::CreateCompatible(const std::string &tname) co
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -282,7 +285,7 @@ avtSimulationCommandSpecification::NewInstance(bool copy) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -293,6 +296,7 @@ avtSimulationCommandSpecification::SelectAll()
{
Select(0, (void *)&name);
Select(1, (void *)&argumentType);
Select(2, (void *)&enabled);
}
///////////////////////////////////////////////////////////////////////////////
......@@ -313,6 +317,13 @@ avtSimulationCommandSpecification::SetArgumentType(avtSimulationCommandSpecifica
Select(1, (void *)&argumentType);
}
void
avtSimulationCommandSpecification::SetEnabled(bool enabled_)
{
enabled = enabled_;
Select(2, (void *)&enabled);
}
///////////////////////////////////////////////////////////////////////////////
// Get property methods
///////////////////////////////////////////////////////////////////////////////
......@@ -335,6 +346,12 @@ avtSimulationCommandSpecification::GetArgumentType() const
return CommandArgumentType(argumentType);
}
bool
avtSimulationCommandSpecification::GetEnabled() const
{
return enabled;
}
///////////////////////////////////////////////////////////////////////////////
// Select property methods
///////////////////////////////////////////////////////////////////////////////
......@@ -358,7 +375,7 @@ avtSimulationCommandSpecification::SelectName()
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -371,6 +388,7 @@ avtSimulationCommandSpecification::GetFieldName(int index) const
{
case 0: return "name";
case 1: return "argumentType";
case 2: return "enabled";
default: return "invalid index";
}
}
......@@ -384,7 +402,7 @@ avtSimulationCommandSpecification::GetFieldName(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -397,6 +415,7 @@ avtSimulationCommandSpecification::GetFieldType(int index) const
{
case 0: return FieldType_string;
case 1: return FieldType_enum;
case 2: return FieldType_bool;
default: return FieldType_unknown;
}
}
......@@ -410,7 +429,7 @@ avtSimulationCommandSpecification::GetFieldType(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -423,6 +442,7 @@ avtSimulationCommandSpecification::GetFieldTypeName(int index) const
{
case 0: return "string";
case 1: return "enum";
case 2: return "bool";
default: return "invalid index";
}
}
......@@ -436,7 +456,7 @@ avtSimulationCommandSpecification::GetFieldTypeName(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -459,6 +479,11 @@ avtSimulationCommandSpecification::FieldsEqual(int index_, const AttributeGroup
retval = (argumentType == obj.argumentType);
}
break;
case 2:
{ // new scope
retval = (enabled == obj.enabled);
}
break;
default: retval = false;
}
......
......@@ -13,7 +13,7 @@
// Notes: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:21:33 PST 2005
// Creation: Thu Apr 28 11:48:56 PDT 2005
//
// Modifications:
//
......@@ -50,11 +50,13 @@ public:
// Property setting methods
void SetName(const std::string &name_);
void SetArgumentType(CommandArgumentType argumentType_);
void SetEnabled(bool enabled_);
// Property getting methods
const std::string &GetName() const;
std::string &GetName();
CommandArgumentType GetArgumentType() const;
bool GetEnabled() const;
// Enum conversion functions
static std::string CommandArgumentType_ToString(CommandArgumentType);
......@@ -72,6 +74,7 @@ public:
private:
std::string name;
int argumentType;
bool enabled;
};
#endif
<?xml version="1.0"?>
<Attribute name="avtSimulationCommandSpecification" purpose="Contains the specification for one command" persistent="false" exportAPI="DBATTS_API" exportInclude="dbatts_exports.h">
<Enum name="CommandArgumentType">
CmdArgNone
CmdArgInt
CmdArgFloat
CmdArgString
......@@ -9,4 +10,6 @@
</Field>
<Field name="argumentType" label="argumentType" type="enum" subtype="CommandArgumentType">
</Field>
<Field name="enabled" label="enabled" type="bool">
</Field>
</Attribute>
......@@ -14,7 +14,7 @@ class avtSimulationCommandSpecification;
// Notes: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Fri Mar 18 16:28:35 PST 2005
// Creation: Thu Apr 28 11:35:13 PDT 2005
//
// Modifications:
//
......@@ -23,6 +23,13 @@ class avtSimulationCommandSpecification;
class DBATTS_API avtSimulationInformation : public AttributeSubject
{
public:
enum RunMode
{
Unknown,
Running,
Stopped
};
avtSimulationInformation();
avtSimulationInformation(const avtSimulationInformation &obj);
virtual ~avtSimulationInformation();
......@@ -50,6 +57,7 @@ public:
void SetSecurityKey(const std::string &securityKey_);
void SetOtherNames(const stringVector &otherNames_);
void SetOtherValues(const stringVector &otherValues_);
void SetMode(RunMode mode_);
// Property getting methods
const std::string &GetHost() const;
......@@ -63,6 +71,7 @@ public:
stringVector &GetOtherValues();
const AttributeGroupVector &GetCommands() const;
AttributeGroupVector &GetCommands();
RunMode GetMode() const;
// Attributegroup convenience methods
......@@ -76,6 +85,12 @@ public:
avtSimulationCommandSpecification &operator [] (int i);
const avtSimulationCommandSpecification &operator [] (int i) const;
// Enum conversion functions
static std::string RunMode_ToString(RunMode);
static bool RunMode_FromString(const std::string &, RunMode &);
protected:
static std::string RunMode_ToString(int);
public:
// Keyframing methods
virtual std::string GetFieldName(int index) const;
......@@ -92,6 +107,7 @@ private:
stringVector otherNames;
stringVector otherValues;
AttributeGroupVector commands;
int mode;
};
#endif
<?xml version="1.0"?>
<Attribute name="avtSimulationInformation" purpose="Contains information about simulation connections" persistent="false" exportAPI="DBATTS_API" exportInclude="dbatts_exports.h">
<Enum name="RunMode">
Unknown
Running
Stopped
</Enum>
<Field name="host" label="host" type="string">
</Field>
<Field name="port" label="port" type="int">
......@@ -13,4 +18,7 @@
</Field>
<Field name="commands" label="commands" type="attVector" subtype="avtSimulationCommandSpecification">
</Field>
<Field name="mode" label="mode" type="enum" subtype="RunMode">
Unknown
</Field>
</Attribute>
......@@ -87,5 +87,5 @@ MILI_DIR=/usr/gapps/visit/mili/current/linux_rhel3_gcc_3.2.3
##
## Silo
##
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/lib
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/lib
......@@ -87,5 +87,5 @@ MILI_DIR=/usr/gapps/visit/mili/current/linux_rhel3_gcc_3.2.3
##
## Silo
##
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/lib
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/lib
......@@ -87,5 +87,5 @@ MILI_DIR=/usr/gapps/visit/mili/current/linux_rhel3_gcc_3.2.3
##
## Silo
##
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/lib
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/lib
......@@ -87,5 +87,5 @@ MILI_DIR=/usr/gapps/visit/mili/current/linux_rhel3_gcc_3.2.3
##
## Silo
##
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre6/linux_rhel3_gcc_3.2.3/lib
DEFAULT_SILO_INCLUDES=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/include
DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.3-pre8/linux_rhel3_gcc_3.2.3/lib
......@@ -4,10 +4,14 @@
VISITHOME=/usr/gapps/visit
##
## Use the g++ 3.2.3 compiler.
## Use the g++ 3.2.3 compiler.
##
CC=/usr/local/bin/gcc-3.2.3
CXX=/usr/local/bin/g++-3.2.3
if test -z "$CXX"; then
CXX=/usr/local/bin/g++-3.2.3
fi
if test -z "$CC"; then
CC=/usr/local/bin/gcc-3.2.3
fi
##
## If MESA is not set, use VisIt's mesa.
......@@ -19,8 +23,14 @@ fi
##
## If VTK is not set, use VisIt's vtk.
##
if test -z "$VTK"; then
VTK=$VISITHOME/vtk/2003.10.28/linux_chaos_gcc_3.3.3
if test "`echo $CXX | cut -c1-3`" = "icc"; then
if test -z "$VTK"; then
VTK=$VISITHOME/vtk/2003.10.28/linux_chaos_icc_8.0
fi
else # assume gcc
if test -z "$VTK"; then
VTK=$VISITHOME/vtk/2003.10.28/linux_chaos_gcc_3.3.3
fi
fi
##
......@@ -42,17 +52,26 @@ fi
PYDIR=$VISITHOME/python/linux_chaos_gcc_3.3.3
PYVERSION=python2.1
##
## Turn off warnings for deprecated features.
##
CXXFLAGS="-Wno-deprecated $CXXFLAGS"
##
## Add parallel arguments.
##
CXXFLAGS="-I/usr/lib/mpi/mpi_gnu/include $CXXFLAGS"
MPI_LIBS="-L/usr/lib/mpi/mpi_gnu/lib -Wl,-rpath=/usr/lib/mpi/mpi_gnu/lib -lmpi -lelan -lelan3 -lrmscall"
##
## On icc, exceptions are not happy.
##
if test "`echo $CXX | cut -c1-3`" = "icc"; then
FAKE_EXCEPTIONS_BY_DEFAULT="yes"
fi
##
## Turn off warnings for deprecated features on g++
##
if test "`echo $CXX | cut -c1-3`" != "icc"; then
CXXFLAGS="-Wno-deprecated $CXXFLAGS"
fi
##
## Database reader plugin support libraries
##
......@@ -98,5 +117,5 @@ DEFAULT_SILO_LIBRARY=/usr/gapps/silo/4.4.2/chaos_2_ia32_elan3/lib
##
## ViSUS
##
DEFAULT_VISUS_INCLUDE=/usr/gapps/visit/visus/linux_chaos_gcc_3.3.3/include
DEFAULT_VISUS_LIB=/usr/gapps/visit/visus/linux_chaos_gcc_3.3.3/lib
DEFAULT_VISUS_INCLUDE=/usr/gapps/visit/visus/Linux_i686_gcc-3.3.3/include
DEFAULT_VISUS_LIB=/usr/gapps/visit/visus/Linux_i686_gcc-3.3.3/lib
##
## Set the VISITHOME environment variable.
##
VISITHOME=/usr/gapps/visit
##
## Use the g++ 3.2.3 compiler.
##
if test -z "$CXX"; then
CXX=/usr/local/bin/g++-3.2.3
fi
if test -z "$CC"; then
CC=/usr/local/bin/gcc-3.2.3
fi
##
## If MESA is not set, use VisIt's mesa.
##
if test -z "$MESA"; then
MESA=$VISITHOME/mesa/5.0/linux_chaos_gcc_3.3.3
fi
##
## If VTK is not set, use VisIt's vtk.
##
if test "`echo $CXX | cut -c1-3`" = "icc"; then
if test -z "$VTK"; then
VTK=$VISITHOME/vtk/2003.10.28/linux_chaos_icc_8.0
fi
else # assume gcc
if test -z "$VTK"; then
VTK=$VISITHOME/vtk/2003.10.28/linux_chaos_gcc_3.3.3
fi
fi
##
## If QT is not set, use VisIt's Qt.
##
if test -z "$QT_BIN"; then
QT_BIN=$VISITHOME/qt/3.3.2/linux_chaos_gcc_3.3.3/bin
fi
if test -z "$QT_INCLUDE"; then
QT_INCLUDE=$VISITHOME/qt/3.3.2/linux_chaos_gcc_3.3.3/include
fi
if test -z "$QT_LIB"; then
QT_LIB=$VISITHOME/qt/3.3.2/linux_chaos_gcc_3.3.3/lib
fi
##
## Use VisIt's Python.
##
PYDIR=$VISITHOME/python/linux_chaos_gcc_3.3.3
PYVERSION=python2.1
##
## Add parallel arguments.
##
CXXFLAGS="-I/usr/lib/mpi/mpi_gnu/include $CXXFLAGS"
MPI_LIBS="-L/usr/lib/mpi/mpi_gnu/lib -Wl,-rpath=/usr/lib/mpi/mpi_gnu/lib -lmpi -lelan -lelan3 -lrmscall"
##
## On icc, exceptions are not happy.
##
if test "`echo $CXX | cut -c1-3`" = "icc"; then
FAKE_EXCEPTIONS_BY_DEFAULT="yes"
fi
##
## Turn off warnings for deprecated features on g++
##
if test "`echo $CXX | cut -c1-3`" != "icc"; then
CXXFLAGS="-Wno-deprecated $CXXFLAGS"
fi
##
## Database reader plugin support libraries
##
###############################################################################
##
## Boxlib
##
DEFAULT_BOXLIB2D_INCLUDE=/usr/gapps/visit/boxlib/linux_chaos_gcc_3.3.3/include/2D
DEFAULT_BOXLIB2D_LIBS=/usr/gapps/visit/boxlib/linux_chaos_gcc_3.3.3/lib