Commit 1062bc2f authored by pugmire's avatar pugmire

The check for jaguarcnl was failing on macs.


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@3172 18c085ea-50e0-402c-830e-de6fd14e8384
parent 6f56ebc5
......@@ -275,6 +275,9 @@ $0 = shift @ARGV;
# Dave Pugmire, Mon Feb 4 12:19:22 EST 2008
# Added jaguarcnl.ornl.gov specific code.
#
# Dave Pugmire, Thu Feb 7 07:45:46 EST 2008
# Fixed the addtion of jaguarcnl.ornl.gov specific code for macs.
#
###############################################################################
use POSIX qw(ceil);
......@@ -990,30 +993,32 @@ if ($host eq "redrose1.sandia.gov" || $host eq "redrose2.sandia.gov")
# HACK for jaguarcnl @ ORNL
#
# ----
chomp($domain = `hostname -d`);
$IsRunningOnJaguarCNL_ORNL = 0;
if ( $domain eq "ccs.ornl.gov" and ($parallel) and $exe_name eq "engine" )
if ( ($parallel) and $exe_name eq "engine" and $host =~ /jaguar/ )
{
if ( $host eq "jaguar1" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.9";
}
if ( $host eq "jaguar2" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.13";
}
if ( $host eq "jaguar3" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.17";
}
if ( $host eq "jaguar4" )
chomp($domain = `hostname -d`);
if ( $domain eq "ccs.ornl.gov" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.21";
if ( $host eq "jaguar1" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.9";
}
if ( $host eq "jaguar2" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.13";
}
if ( $host eq "jaguar3" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.17";
}
if ( $host eq "jaguar4" )
{
$IsRunningOnJaguarCNL_ORNL = 1;
$remotehost = "192.168.0.21";
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment