[Users] Tutorial: "sim setup" fails. No udb.pm
Scott Hawley
scott.hawley at belmont.edu
Sat May 21 09:54:38 CDT 2011
Still following the tutorial for the python version of simfactory: https://docs.einsteintoolkit.org/et-docs/Pysim_Tutorial_for_New_Users
After "./GetComponents -a http://www.simfactory.org/einsteintoolkit-pysim.th" successfully completes, it says to run "sim setup". It appears there's a missing file....
% cd Cactus
% cd simfactory
% ./sim setup
Uncaught exception from user code:
File "udb.pm" not found.
This installation of SimFactory has not been configured.
at ./sim line 27
% locate udb.pm
%
(not found)
% cat sim
#! /usr/bin/perl -w
use diagnostics;
use warnings;
use strict;
use Cwd;
#use Digest::MD5;
use File::Basename;
use File::Compare;
use File::Copy qw(cp), qw(mv);
use File::Path qw(mkpath);
use Getopt::Long;
#use Time::HiRes qw(gettimeofday);
use IPC::Open3;
use Symbol qw(gensym);
use IO::File;
my $exedir = $0;
if ($exedir =~ m{/}) {
$exedir =~ s{/[^/]*$}{}; # Remove file name and trailing slash
unshift @INC, $exedir;
}
if (! -e "$exedir/udb.pm") {
die "File \"udb.pm\" not found.\n" .
"This installation of SimFactory has not been configured.\n";
}
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20110521/b1ab3e2c/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 535 bytes
Desc: This is a digitally signed message part
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20110521/b1ab3e2c/attachment.bin
More information about the Users
mailing list