[Beowulf] An Ask about Compilation
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Bruno Coutinho coutinho at dcc.ufmg.brTue Dec 30 13:12:58 PST 2008
- Previous message: [Beowulf] An Ask about Compilation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2008/12/30 matheus reimann <mgrhferlamb2002 at yahoo.it> > > Hi, > > I am a newbie in the group, and I have an ask about Compilation of programs in seriel and paralell. > > I wanna have a programm which decides if the run is parallel or seriell. P.ex.: myexe.exe -> runs in seriell, and when I write: myexe.exe -parallel -> runs in parallel. > > I dont wanna compile ever when I need the program in seriel or in parallel. Usually is the seriell compilation with g++ and the parallel with mpiCC. Has anybody done a program like this before??? mpiCC is a wrap to g++ that adds flags to find MPI include and library files. You can compile both with mpiCC. To run the serial version, you can call the binary directly and to run the parallel version run your program through mpirun to run inside the MPI enveronment. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.scyld.com/pipermail/beowulf/attachments/20081230/a92c59af/attachment.html
- Previous message: [Beowulf] An Ask about Compilation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
