Re: AMBER: mpi in mm-pbsa

From: Holger Gohlke <gohlke.scripps.edu>
Date: Thu, 07 Aug 2003 12:22:53 -0700

Shuang Ding wrote:
>
> Dear Amber Users,
>
> When I use mm-pbsa to calculate free energy in amber7, I got this error
> "mpirun must be used to launch all MPI applications
> /usr/local/etc/amber7/exe/sander -O -i sander_rec.in -o sander_rec.1.out -c ../c1_rec.crd.1 -p ../x.top not successful"
> I didn't find a way to apply mpirun in mm-pbsa input file. How can the mpirun be applied automatically when sander is used in mm-pbsa?

A workaround should be to replace the line
my $command = $r_pro->{"SANDER"} ...
with
my $command = "mpirun -np 1 " . $r_pro->{"SANDER"} ...
in the functions calc_MM_GB_SAS and calc_NM in mm_pbsa.pl.

Let me know if it still doesn't work.

Best regards

Holger

>
> Thanks a lot.
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu

-- 
+++++++++++++++++++++++++++++++++++++++++++++
Dr. Holger Gohlke
Dept. of Molecular Biology, TPC15
The Scripps Research Institute
10550 N. Torrey Pines Rd.
La Jolla CA 92037  USA
phone: +1-858-784-9788
fax:   +1-858-784-8896
email: gohlke.scripps.edu
+++++++++++++++++++++++++++++++++++++++++++++
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Thu Aug 07 2003 - 20:53:00 PDT
Custom Search