On Apr 2, 2021, at 20:01, Brian Miller wrote:

> On Mar 31, 2021, at 8:24 PM, Ryan Schmidt wrote:
> 
>> On Mar 31, 2021, at 19:18, James Secan wrote:
>> 
>>> On Mar 31, 2021, at 9:03 AM, Ryan Schmidt wrote:
>>> 
>>>> On Mar 31, 2021, at 10:53, Brian Miller wrote:
>>>> 
>>>>> When running your program sudo port install plplot +fortran, I do not get 
>>>>> any results. Can you recommend something other than +fortran that I might 
>>>>> try?
>>>> 
>>>> According to:
>>>> 
>>>> port variants plplot
>>>> 
>>>> the plplot port does not have a variant called "fortran". But it looks 
>>>> like if you use one of the variants whose names begin with "gcc" then 
>>>> fortran support will be enabled.
>>> 
>>> Isn’t the +g95 variant what he needs?
>> 
>> Looks like the g95 variant would also accomplish that goal, yes, if the user 
>> prefers that. Our g95 port is for version 0.93, the latest version mentioned 
>> on the web site. The web site claims this was released in October 2012 but 
>> the web server's modification date for the source tarball is August 2010, so 
>> that's rather old at this point and the user may prefer to use a newer 
>> compiler suite like a current version of gcc which contains gfortran.
> 
> I have tried using the +g95 variant and still get no results. I am using 
> fortran-mp-10 to compile.
> 
> As a side note, this is Brian’s wife Amy. I am trying to “translate” for my 
> husband who used to be quite handy with all of this, but suffered a stroke 
> 7.5 years ago and as a result has some gaps. I don’t know the first thing 
> about any of this so that doesn’t help. We do appreciate the help you are 
> offering and your patience with us.

Hi Amy. We'll try to help! We can certainly help you understand how to use 
MacPorts to install plplot. As for how to use plplot once it's installed, there 
are fewer of us who know that, but there may be some. The maintainer of the 
port is one likely candidate to ask if you don't find the answers you need 
here; you can find his contact information by running "port info plplot".

We'll probably need more information from you than that you get "no result". It 
may help if you copy what's in your Terminal into your email reply so that we 
can see exactly what you typed and what happened in response.

You should get *some* result. For example, if you don't already have plplot 
installed, running "sudo port install plplot" should give you a result 
something like this:


--->  Computing dependencies for plplot
--->  Fetching archive for plplot
--->  Attempting to fetch 
plplot-5.15.0_5+aquaterm+gcc10+x11.darwin_17.x86_64.tbz2 from 
https://packages.macports.org/plplot
--->  Attempting to fetch 
plplot-5.15.0_5+aquaterm+gcc10+x11.darwin_17.x86_64.tbz2.rmd160 from 
https://packages.macports.org/plplot
--->  Installing plplot @5.15.0_5+aquaterm+gcc10+x11
--->  Activating plplot @5.15.0_5+aquaterm+gcc10+x11
--->  Cleaning plplot


Or if you did already have plplot installed, then you should get a result like 
this:


--->  Computing dependencies for plplot
--->  Cleaning plplot


Note that the +g95 variant means that it will compile the fortran parts with 
the g95 compiler, while the +gcc10 variant means that it will compile the 
fortran parts with the gfortran-mp-10 compiler, and equivalently for the other 
gcc* variants. If you care which fortran compiler is used to compile the 
fortran parts of plplot, make sure you select the corresponding variant.

Once plplot is installed, "port contents plplot" will show you what was 
installed. This is quite a lot of files, most of which are probably not 
interesting, so you might limit the output to just programs, for example by 
running "port contents plplot | grep /bin" which should give you output like 
this:


  /opt/local/bin/pltcl
  /opt/local/bin/pltek


If you want to find out how to use those programs, the manuals can be displayed 
by running "man pltcl" and "man pltek". If you were expecting to find different 
programs, let us know what you were expecting to find.


Reply via email to