gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1568 Posts in 518 Topics by 754 Members - Latest Member: irekzawadzki December 03, 2021, 08:53:56 AM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building PLPLOT 5.5 Graphics Library on Linux
gfx
gfxgfx
 

Author Topic: Building PLPLOT 5.5 Graphics Library on Linux  (Read 6730 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 321
Building PLPLOT 5.5 Graphics Library on Linux
« on: October 28, 2010, 10:25:21 AM »
This post provides instructions on building PLPLOT with Absoft Fortran 95 11.0 for 32 or 64 bit Linux.

PLplot is a cross-platform software package for creating scientific plots. To help accomplish that task it is organized as a core C library, language bindings for that library, and device drivers which control how the plots are presented in non-interactive and interactive plotting contexts.

The PLplot core library can be used to create standard x-y plots, semi-log plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar charts and pie charts. Multiple graphs (of the same or different sizes) may be placed on a single page, and multiple pages are allowed for those device formats that support them.

DOWNLOADING THE REQUIRED SOURCE PACKAGE

Full documentation and the source package required to build PLPLOT can be obtained here

http://plplot.sourceforge.net/

These instructions use version 5.5.3 obtained here

http://sourceforge.net/projects/plplot/files/plplot/5.5.3%20Source/plplot-5.5.3.tar.gz/download

CREATING THE PLPLOT SOURCE TREE

 Extract the PLPLOT source with the following command:

     tar -xzvf plplot-5.5.3.tar.gz

This will create a directory named plplot-5.5.3 in the current working directory.

MAKING A TARGET BUILD DIRECTORY

While it is possible to build the PLPLOT library inside the PLPLOT source directory, it is better to create a separate build directory. The remaining instructions below assume that a directory named plplot_build has been created at the same level as the PLPLOT source directory using this command:

   mkdir plplot-build

CONFIGURING, BUILDING AND INSTALLING PLPLOT

Use following commands configure, build and install PLPLOT 5.5.3 with Absoft Fortran 95 11.0 and later. These commands configure PLPLOT to install into /opt/plplot. If you want to install to a different location, replace /opt/plplot in the --prefix= argument to the configure command. These commands  configure  the double precision version of PLPLOT. If you want to build the single precision version instead, add --with-double=no as an argument to the configure command.
 

   cd plplot-build
 
   ../plplot-5.5.3/configure   F77=/opt/absoft11.0/bin/af77  FFLAGS=-unixlib \
             --prefix=/opt/plplot  --enable-shared=no
 
   make

   make install

Note: you may need to execute the make install command with administrator privileges. In that case, use 'sudo make install'.

FURTHER INFORMATION

Further information on building PLPLOT can be found in various README files located in the PLPLOT source directory.

Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building PLPLOT 5.5 Graphics Library on Linux
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!