> But, running the MLE-example of
> your MPI-gretl-manual gives the error:
>
> ? mpibcast(¶m)
> The MPI library is not loaded
That example is intended to be run using gretlcli-mpi. So you have to do
mpiexec /np <number of processes> gretlcli-mpi <script-name>
See section 4.2 of the "Gretl/MPI Q & A". If you don't want to do
that,
wrap the whole script in "mpi ... end mpi <options>".
I still have to try this. Starting "gretlcli-mpi.exe" demanded
admin-rights (firewall problem), which I don't have here atm.
Actually, example 1 (bootstrap) returns:
>
> Error: while reading machinefile 'C:\Program Files\Microsoft
> MPI\Bin\mpiexec.exe': expecting a positive number of cores following the
> host name.
It looks as if you have entered the path to mpiexec.exe as your MPI hosts
file (under Preferences/MPI). That's not right, please see section 4.1 of
the notes, "Establishing a hosts file". But if you're running on a single
machine you don't need (or want) a hosts file, just blank that out in the
GUI preferences.
Ok, I left the host-file path blank, and it works now! But, only the
admin-rights
gretl version correctly recognizes the MPI library. But this
may be due to the fact that I store the no-admin version in my personal
folder, but not in "C:\Program Files\gretl" directly. The error message
just states that the system cannot find the file (in GER: "Das System kann
die angegebene Datei nicht finden.")
Artur