Hi,
simple script:
<hansl>
set verbose off
#
mpi --send-functions --np=$sysinfo.mpimax/2
scalar mpisize = $mpisize
loop for i=0..mpisize --quiet
if $mpirank == i
printf("I'm node no. %d in loop 1\n", $mpirank)
endif
endloop
loop for i=0..$mpisize --quiet
if $mpirank == i
printf("I'm node no. %d in loop 1\n", $mpirank)
endif
endloop
end mpi
</hansl>
Why the first loop works and the second one does not?
Marcin
--
Marcin Błażejowski