Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Users mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-08-31 11:52:56

On Aug 29, 2007, at 4:07 PM, Jeff Squyres wrote:

> FWIW, I've been using a funclet to get my DB password recently,
> like this:
> mttdatabase_username = cisco
> mttdatabase_password = &cat("/home/mpiteam/mtt-db-password.txt")
> mttdatabase_platform = svbu-mpi

I neglected to say that this will not work on the release branch -- I
use this on the development MTT branch. We're actually likely to
change this in the near future to

mttdatabase_password = &head(1, &cat("/home/mpiteam/mtt-db-

because having &cat() return a scalar when there was only one line in
the file made it behave somewhat inconsistently and made it somewhat
confusing. So it's a little longer to type, but it gets the right

Jeff Squyres
Cisco Systems