Thanks, Joe. I did say that, but I meant that in a different way. For program 'foo', I need to tell Visual Studio that when I click on the 'run' button, I need it to execute
mpiexec -np X foo instead of just foo I know what I *need* to do to the VS environment, I just don't know *how* to do it. I've been going through all the settings, but can't find the magical checkbox or textbox. Windows is so disorienting. It's like someone went out of their way to make life as hard as possible for us command-line guys. Prentice On 06/30/2011 04:46 PM, Joe Griffin wrote: > Prentice, > > It might or might not matter, but on your older system you > may have used "LD_LIBRARY_PATH" but on windows you need "PATH" > to contain the PATH. > > I only mention this because you said it runs in one environment, > but not the other. > > Joe > > -----Original Message----- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Prentice Bisbal > Sent: Thursday, June 30, 2011 1:42 PM > To: Open MPI Users > Subject: [OMPI users] Anyone with Visual Studio + MPI Experience > > Does anyone on this list have experience using MS Visual Studio for MPI > development? I'm supporting a Windows user who has been doing Fortran > programming on Windows using an ANCIENT version of Digital Visual > Fortran (I know, I know - using "ancient" and "Digital" in the same > sentence is redundant.) > > Well, we are upgrading his equally ancient laptopa new one with Windows > 7, so we installed Intel Visual Fortran (direct descendent of DVF) and > Visual Studio 2010, and to be honest, I feel like a fish out of water > using VS 2010. It took me a longer than I care to admit to figure out > how to specify the include and linker paths. > > Right now, I'm working with the Intel MPI libraries, but plan on > installing OpenMPI, too, once I figure out VS 2010. > > Can anyone tell me how to configure visual studio so that when you click > on the little "play" icon to build/run the code, it will call mpiexec > automatically? Right now, it compiles fine, but throws errors when the > program executes because it doesn't have the right environment setup > because it's not being executed by mpiexec. It runs fine when I execute > it with mpiexec or wmpiexec. >