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"; }
...
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@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@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users
users@lists.einsteintoolkit.org