Source
open( ,"$modpath->{$host}/init/.modulespath") || die "could not open $modpath->{$host}/init/.modulespath";
package ;
use ;
BEGIN {
use qw( $VERSION @ISA );
$VERSION = '0.10';
@ISA = qw();
} # end BEGIN
# non-exported package globals go here
use qw();
use qw(ceil);
sub {
my $host = `hostname -f`;
$host = `hostname` if($?);
#HOST SPECIFIC START
if($host =~ /^goldbach/){
$host = "goldbach";
}elsif($host =~ /^fr\d+en/){
$host = "frost";
}elsif($host =~ /^eos/){
$host = "eos";
}elsif($host =~ /^titan/){
$host = "titan";
}elsif($host =~ /^ath/ ){
$host = "athena";
}elsif($host =~ /^kra/){
$host = "kraken";
}elsif($host =~ /^lynx/){
$host = "lynx";
}elsif($host =~ /^hopp/){
$host = "hopper";
}elsif($host =~ /^cvrs/) {
$host = "carver";
}elsif($host =~/erlogin/) {
$host="erebus";
}elsif($host =~/yslogin/) {
$host="yellowstone";
}elsif( $host =~ /^login/){
if(- "/lustre/janus_scratch"){
$host="janus";
}else{
$host = "athena";
}
}elsif($host =~ /(\w+)\./){
$host = $1;
}
#HOST SPECIFIC END
}
sub {