LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: McCalla, Mac (macmccalla_at_[hidden])
Date: 2010-02-08 14:19:19


Hi,
 
I'm afraid your question is too general for me to answer. The system ()
call can be used to execute an external program, but whether it will
"work" depends on the details of the external program itself.
 
Having said that, since you are just starting out with MPI, I strongly
suggest you spend your time learning about Open MPI instead of LAM/MPI.
LAM has not been under active development for years now and the forum
archives are not even directly searchable anymore.
 
Open MPI is a very active project, with well supported on-line forums
and plenty of folks willing to help you.
 
Good Luck,
 
Mac
 (in)
Houston

________________________________

From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf
Of Lubomir Klimes
Sent: Monday, February 08, 2010 8:15 AM
To: lam_at_[hidden]
Subject: LAM: Executing of external programs

Hi,

I am new in the world of MPI and I would like to ask you for the help.
In my diploma thesis I need to write a program in C++ using MPI that
will execute another external program - an optimization software. My
question is wheter is sufficient to use simply the command system(); for
executing the optimization software. In other words, will the external
program "work" in parallel?

Thank you for the answer.

Best regards,
Lubajz

.