MPI installation on Win 7/ 64 bit
The solution was to install the 32-bit version of MPICH2; both the version
coming with Nonmem and the version from
http://www.mcs.anl.gov/research/projects/mpich2/
work ok.
I got many personal mails telling me that my 64-bit version of MPICH was not
running. As I had noted, it was running
mpiexec -hosts 2 localhost computername.exe
DIETERPC
DIETERPC
but it did not play well with nonmem compiled with gfortran.
Here the summary with MPICH for a short Bayes run (20 iterations) and an i7
with 4 real cores
CPUs Time (s)
1 101
2 55
4 33 (50% CPU time)
8 35 (100% CPU time)
So almost perfect scaling with 2 CPUs, and as I would expect no improvement
beyond 4. The 100% CPU time indicated is simply bogus.
Dieter
>
> I am trying to get the MPI feature in 7.2 running.
>
> -- My system: Window 7, 64 bit. German. Gfortran 4.6.0
>
> -- All single-CPU tests work ok.
>
> -- File passing works ok:
>
> >>Nmfe72 foce_parallel.ctl foce_parallel.res -parafile=fpiwini8.pnm
> [nodes]=4
>
> Surprisingly slow (32 seconds vs. 3 seconds with one thread), but
> never mind.
>
> -- Test if smpd/mpiexec is working (computername.exe in directory)
>
> >smpd -start
> MPICH2 Daemon (C) 2003 Argonne National Lab started.
>
> >mpiexec -hosts 1 localhost computername.exe
> DIETERPC
>
> ### Everything works ok up to here
>
>
> > Nmfe72 foce_parallel.ctl foce_parallel.res -parafile=mpiwini8.pnm
> [nodes]=4
> doing nmtran
>
> WARNINGS AND ERRORS (IF ANY) FOR PROBLEM 1
>
> (WARNING 2) NM-TRAN INFERS THAT THE DATA ARE POPULATION.
> CREATING MUMODEL ROUTINE...
> 1 Datei(en) kopiert.
> Finished compiling fsubs
>
> USING PARALLEL PROFILE mpiwini8.pnm
> MPI TRANSFER TYPE SELECTED
> Completed call to gfcompile.bat
> Starting MPI version of nonmem execution ...
> C:\tmp\test1\output konnte nicht gefunden warden (could not be found)
>
> ----
> All subdirectories are created ok, but the process returns immediately
> with the above message.
>