Boost logo

Boost Users :

Subject: Re: [Boost-users] FW: BGL, MPI
From: Neiderer, Andrew M USA CIV (US) (andrew.m.neiderer.civ_at_[hidden])
Date: 2011-11-30 11:57:00


Thank you.

At the URL I simply moved the 2 arguments for main signature, ie

int main(int argc, char *argv[])

{

  ...

}

and both mpicc and mpiCC generated an executeable for mpirun.

But mpiCC obviously does not like

int main(argc, argv)

int argc;

char *argv[];

{

  ...

}

________________________________
From: boost-users-bounces_at_[hidden] [boost-users-bounces_at_[hidden]] on behalf of Jeremiah Willcock [jewillco_at_[hidden]]
Sent: Wednesday, November 30, 2011 9:23 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] FW: BGL, MPI

On Wed, 30 Nov 2011, Neiderer, Andrew M USA CIV (US) wrote:

>
> With lots of help I think I am getting close to a "hello, world" BGL, MPI example to execute.
>
> Not sure about the error I am getting from execution

I can't tell what you are getting the segmentation fault from. Does a C
MPI program work (like the one from
http://www.dartmouth.edu/~rc/classes/intro_mpi/hello_world_ex.html) work?
If not, see the documentation for your MPI implementation (these types of
problems in C MPI code are often due to mismatched software versions).

-- Jeremiah Willcock



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