Subject: | MPI_Init() fails on os x.4.5 with mpich2-1.0.3 and perl 5.8.6 |
i can't get MPI_Init() working.
code:
----------------------------
#!/usr/bin/perl
use Parallel::MPI qw(:all);
MPI_Init();
MPI_Finalize();
----------------------------
error:
MPI_Init: no arguments found in the argv at mpd_test.pl line 5.
after call with:
mpirun -n 1 mpd_test.pl
when i give any argument to MPI_Init() the error changes to:
Usage: Parallel::MPI::MPI_Init() at mpd_test.pl line 75