[Users] Tutorial: "sim setup" fails. No udb.pm
Erik Schnetter
schnetter at cct.lsu.edu
Sat May 21 13:37:36 CDT 2011
Scott
You have somehow mixed up the versions. The file "udb.pm" is part of
the Perl version, which needs to be configured manually.
What does
cd simfactory
svn info
output?
-erik
On Sat, May 21, 2011 at 10:54 AM, Scott Hawley <scott.hawley at belmont.edu> wrote:
> 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";
> }
> ...
>
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>
>
--
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
More information about the Users
mailing list