|
Boost Users : |
Subject: Re: [Boost-users] [mpi] Non-default arguments for running regression tests through bjam
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-02-03 12:38:06
AMDG
Pete Bartlett wrote:
> "The (optional) fourth argument configures Boost.MPI for running
> regression tests. These parameters specify the executable used to launch
> jobs (default: "mpirun") followed by any necessary arguments to this to
> run tests and tell the program to expect the number of processors to
> follow (default: "-np")."
>
> I'm no jam expert, but that suggests that my user-config.jam should
> change to
>
> using mpi : : <find-shared-library>cxx <find-shared-library>mpi
> <library-path>C:/MPICH2/lib <include>C:/MPICH2/include : : mpiexec -n ;
>
> where the " : : mpiexec -n " is the new part. However this results in a
> slew of jam errors. I am able to run the regression tests by hacking
> mpi.jam to change the defaults, however I'd prefer to know the correct
> syntax in user-config.jam please.
>
It should actually be the third argument, not the fourth.
using mpi : : <find-shared-library>cxx <find-shared-library>mpi
<library-path>C:/MPICH2/lib <include>C:/MPICH2/include : mpiexec -n ;
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net