Am 16.02.2015 um 16:54 schrieb Allin Cottrell:
On Mon, 16 Feb 2015, Sven Schreiber wrote:
> Am 16.02.2015 um 14:45 schrieb Allin Cottrell:
>> On Mon, 16 Feb 2015, Sven Schreiber wrote:
>>
>>> Am 16.02.2015 um 09:22 schrieb Riccardo (Jack) Lucchetti:
>
>>>>
>>>> Yes, it should be ok. Is anything broken?
>>>
>>> No (or at least I haven't found out yet), but I think the example is
>>> too sophisticated. I mean, the example is excellent and shouldn't go
>>> away, but IMO there should be something of the "Hello world" type,
>>> much shorter. I will try to produce a minimal example.
>>
>> OK, thanks.
>>
Advancing line-by-line here... Next error below the sample script:
<hansl>
mpi --np=2
if $mpirank == 0 # parent process
matrix b = ones(1000,1)
matrix a = zeros(1000,1)
endif
# -- up to here no errors --
# divide up the input data
mpiscatter(&b, byrows)
/*
mpiscatter(&a, byrows)
# this is the parallelized operation
matrix c = b + a
# collect the results
mpireduce(&c, vstack)
*/
end mpi
</hansl>
And this is the error output:
<output>
gretlmpi 1.10.0cvs
Aktuelle Sitzung: 2015-02-16 17:23
job aborted:
[ranks] message
[0] terminated
[1] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 1
---- error analysis -----
[1] on <machine-ID removed>
C:\Program Files\gretl\gretlmpi aborted the job. abort code 1
---- error analysis -----
</output>
The hardware is a Core i5 laptop, so I think this should have (at
least?) two CPU cores.
any ideas?
thanks,
sven