MathGroup Archive 1998

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

Search the Archive

Re: Problems with mathlink (and TWJ_ExtendGraphics)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12956] Re: Problems with mathlink (and TWJ_ExtendGraphics)
  • From: kevinl (Kevin Leuthold)
  • Date: Sun, 28 Jun 1998 02:51:47 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6mqe86$3f5@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Joel,

Install[ "foo`name`" ] will try to install a program called
foo/name.exe. I think renaming your program to mandelbrot.exe should
solve the problem.

Kevin Leuthold
MathLink Group
Wolfram Research


Joel Cannon <cannon at alpha.centenary.edu> writes:

>I am attempting to use use the mathlink binaries from Tom Wickham-Jones
>book. Although everything seems to compile OK (one warning) it still
>does not work. Hopefully someone can recognize what I have overlooked. 
>Here is what I have done:

>I loaded down the newer packages from mathsource and am attempting to
>use the Mandelbrot.nb package to test the use of the packages. I am
>running V.3.0.2 on a Digital Alpha running DecUnix 4.0D.

>Following the instructions, I installed the packages as recommended in
>/usr/local/mathematica/AddOns/Applications

># pwd
>/usr/local/mathematica/AddOns/Applications/ExtendGraphics

>I execute the mcc command link found in the header of mandelbrot.tm
>(received a warning that appears insignificant concerning long integers
>and the alpha's 64 bit words).

># mcc -o mandelbrot mandelbrot.tm
>                typedef long double extended_ct;
>------------------------^

>It produces a file mandelbrot.

>However, when inside the Mandelbrot notebook, I exectute the
>Needs[ExtendGraphics`Mandelbrot` I get the  error message copied below:

>In[1]:=
>Needs[ "ExtendGraphics`Mandelbrot`"]

>LinkConnect::"linkc": 
>    "\!\(LinkObject[\(\"ExtendGraphics`mandelbrot`\", 2, 2\)]\) is dead;
>\ attempt to connect failed."

>MandelbrotImage::"fail": 
>    "Installation of the MathLink binary mandelbrot failed.  The binary
>must \ be found for the functions to work."

>I noticed that in the xwindow from which mathematica was launched I get
>the following messages:

>sh: mandelbrot: not found
>sh: ExtendGraphics: not found

>It appears that there may be a problem with path since both the
>directory ExtendGraphics and the file mandelbrot (in ExtendGraphics)
>are present. When I load a packgage that does not use mathlink such as
>"ExtendGraphics`LabelContour`" it loads fine indicating that there is
>not a problem with $Path.

>Any suggestions people can give are greatly appreciated?  Thanks.
> 

>------------------------------------------------------------------------------
>Joel W. Cannon                 |   (318)869-5160          Dept. of
>Physics               |   (318)869-5026  FAX    Centenary College of
>Louisiana |       P. O. Box 41188		       |	     
>Shreveport, LA 71134-1188      |      
>                                     
>                    



  • Prev by Date: Re: Pulling out certain order terms from a polynomial
  • Next by Date: multivariable functins with variable number of arguments
  • Previous by thread: Re: Problems with mathlink (and TWJ_ExtendGraphics)
  • Next by thread: 3D Explorer for Linux-ELF