MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Remote kernel connection via MathLink

  • To: mathgroup at
  • Subject: [mg1042] Remote kernel connection via MathLink
  • From: iaguirre at (Idoia Aguirre)
  • Date: Wed, 10 May 1995 07:45:34 -0400

	I call Mathematica from an external C program using MathLink mode. I run
my C  program in a Unix machine (Sun Sparc station) called "venus" and the 
Mathematica kernel is in an other Unix machine (Sun Sparc) called "fobos".
The MathLink parameters that What I do for open the MathLink connection is:
	1) To declare the varibles:
		MLINK 	lp;
		int	linknum = 8;
	 	char	*linkarg [ ] =	{
				"-linkmode",	"Launch",
				"-linkname", 	"math -mathlink",
				"-linkhost",	"fobos",
	2) To open a MathLink connection:

	I use Mathematica version 2.2
	The error message that I obtain is:
	"The other side closed the link, you may still get undelivered data"



Idoia Aguirre Esparz
Dpto Automatica, Electronica e Ing de Sitemas.
Universidad Publica de Navarra
Pamplona -Spain-

Email: iaguirre at

  • Prev by Date: Shading
  • Next by Date: Re: Printing an mma Notebook Erases It? (PowerMac 6100)
  • Previous by thread: Shading
  • Next by thread: Remote kernel connection