AMBER Archive (2004)

Subject: Re: AMBER: cpinutil.pl error

From: John Mongan (jmongan_at_mccammon.ucsd.edu)
Date: Tue Aug 03 2004 - 13:03:40 CDT


On line 8 of $AMBERHOME/exe/CPin.pm, change

use Data::Dumper;

to

# use Data::Dumper;

The error message you got indicates that the Data::Dumper module is not
installed in your Perl install. This surprises me a bit, because I
thought that Data::Dumper was part of the default install. In any case,
Data::Dumper was only being used for debugging purposes, so commenting
out the line that loads the library, as above, won't affect the
functioning of cpinutil.pl.

Cheers,

John

On Tue, 2004-08-03 at 04:22, Rukman Hertadi wrote:
> Hi!
>
> I just installed amber 8 on SGI machine. All tests were passed.
>
> I would like to use this new amber version to do constant pH simulation. I
> have succesfully generate parm and crd files following the instruction in
> the manual. But when I tried to run cpinutil.pl by the following command:
> ambpdb -p pga.top < pga.crd | cpinutil.pl > cpin
>
> I got the following error:
>
> Can't locate Data/Dumper.pm in @INC (@INC contains:
> /usr/share/lib/perl5/irix-n3
> 2/5.00404 /usr/share/lib/perl5 /usr/share/lib/perl5/site_perl/irix-n32
> /usr/share/lib/perl5/site_perl /usr/share/lib/perl5/sgi_perl .
> /home/usr8/rukman/amber8/exe) at /home/usr8/rukman/amber8/exe/CPin.pm line
> 8.
> BEGIN failed--compilation aborted at /home/usr8/rukman/amber8/exe/CPin.pm
> line 8.
> BEGIN failed--compilation aborted at
> /home/usr8/rukman/amber8/exe/cpinutil.pl line 9.
>
> Because I am not familiar with perl language can anybody give me a hint to
> solve this problem.
>
> Rukman
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu