RE: AMBER: Build a MPI NAB

From: Hu, Shaowen (JSC-SK)[USRA] <"Hu,>
Date: Wed, 9 Apr 2008 09:12:57 -0500

Thank you very much Dr. Case. It works now.

I have another question. Is there a simple relation between saltcon in
AMBER and kappa in NAB?

Thanks again,
Shaowen

-----Original Message-----
From: owner-amber.scripps.edu [mailto:owner-amber.scripps.edu] On Behalf
Of David A. Case
Sent: Tuesday, April 08, 2008 4:36 PM
To: amber.scripps.edu
Subject: Re: AMBER: Build a MPI NAB

On Tue, Apr 08, 2008, Hu, Shaowen (JSC-SK)[USRA] wrote:
>
>
> MPI_Init: unclassified: MPI already initialized (rank 3,
> MPI_COMM_WORLD)

Aargh! Section 6.4 of the Users' Manual is outdated. The mpi_init()
and mpi_finalize() commands are now taken care of automatically.

The result is that you don't need to change anything to run MPI codes.
For example, go to amber10/test/nab, and type:

    nab -c gbrna_long.nab

Then look at the gbrna_long.c file. You will see what is happening.

Bottom line is that you should ignore the part in Section 6.4 where it
tells you to modify your nab programs -- this is now done for you.

You also need to pick up bugfix.2 from http://ambermd.org/bugfixes.html.
Then, try the following:

     cd amber10/test/nab
     nab -o gbrna_long gbrna_long.nab
     mpirun -np 2 ./gbrna_long

Sorry for the glitches: we mostly use the openmpi version of NAB, and it
is clear that the final testing did not check the MPI implementation.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.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 Fri Apr 18 2008 - 21:18:09 PDT
Custom Search