Table of Contents
La ejecución de ciertas funciones produce el error 'undefined near' en los nodos trabajadores
Problema
Ciertas funciones, como rand e inv se encuentran indefinidas (undefined) si se intentan ejecutar desde los nodos trabajadores.
Explicación
Esto se debe a que Octave no ha cargado sus archivos globales de inicialización ya que los busca en rutas hardcoded que incluyen la versión y por flexibilidad se está utilizando un enlace genérico: /opt/octave/current.
Solución
Crear el acceso bajo /opt/octave con la versión de Octave y que apunta al mismo current, tal y como se especifica en el proceso de instalación.
Verificación de la solución
Ejecutar Octave en modo verbose y verificar la ejecución de los comandos globales de inicialización.
# octave --verbose
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "x86_64-unknown-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
executing commands from /opt/octave/3.2.4/share/octave/3.2.4/m/startup/octaverc ... done.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^