W dniu 26.06.2017 o 02:16, Allin Cottrell pisze:
Can you tell us in what way your case differs from the above? Thanks.
Allin,
that is not my case. I have a package send_func.gfn which has three functions: foo1, foo2 and foo3 and the last one calls foo1 and foo2 inside the mpi block. And it doesn't work, gratl says:

########
gretl version 2017c-git
Current session: 2017-06-27 12:16

? include send_func.gfn
send_func 1.0, 2017-06-27 (Marcin Błażejowski)
? eval foo3()
mpiexec exited with status 256stdout:
> foo1(
The symbol 'foo1' is undefined
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------


stderr:

gretlmpi: error executing script: halting
> eval foo1()

*** error in function foo3, line 4
> end mpi --np=2

Error executing script: halting
> eval foo3()
########

Cheers,
Marcin


Allin


_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel


-- 
Marcin Błażejowski