Am Donnerstag, 6. April 2006 08:33 schrieb Jun She:
> Hi,
>
> There are some Meep test programs in its tests directory.
> How can I run the program, e.g. bench, as MPI MEEP?
> Which command can I use?
>
> In the main program,
> The code is writtern as:
> int main(int argc, char **argv) {
> initialize mpi(argc, argv); // do this even for non-MPI Meep
> ...
>
> what does the argv mean?
>
> Many thanks!
>
> Jun
I suppose you like to call mpirun
mpirun -np 4 ./bench
will invoke bench with 4 nodes.
argv is the parameter string given during program calls
e.g. the control file name for mpb or meep
regards
Andreas
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss