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:15:55 AM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building NCAR Graphics on Linux and OS X
gfx
gfxgfx
 

Author Topic: Building NCAR Graphics on Linux and OS X  (Read 2893 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 321
Building NCAR Graphics on Linux and OS X
« on: March 14, 2014, 10:54:59 AM »
This post provides information on building NCAR Graphics on Linux and OS X with Absoft Pro Fortran 2012 (v11.5) and later.

NCAR Graphics is a Fortran and C based software package for scientific visualization. For more information, see http://ngwww.ucar.edu/index.html

DOWNLOADING THE REQUIRED PACKAGES

The NCAR Graphics package is available as part of the NCAR COMMAND LANGUAGE (NCL) package.  These instructions are based on NCL 6.1.2. Instructions for downloading NCL are available here http://www.ncl.ucar.edu/Download.

Absoft has created configuration files for building NCAR Graphics with Absoft Pro Fortran 2012 and later. These files are available here http://www.absoft.com/electronicdelivery/library/absoft_configs_ncl_ncarg-6.1.2.tar.gz.

At the time this post was created, two minor source modifications are required to build NCAR Graphics on OS X Mavericks. These modified source files are available here  http://www.absoft.com/electronicdelivery/library/absoft_osx_mavericks_ncl_ncarg-6.1.2.tar.gz

CREATING THE NCL SOURCE TREE

The commands below assume that the NCL source package and the additional Absoft packages are in the current working directory.

Extract the NCL source package with following command:

     tar -xzvf ncl_ncarg-6.1.2.tar.gz

This will create a directory named ncl_ncarg-6.1.2 in the current working directory.  This new directory needs to become the current working directory before extracting the Absoft configuration files:

    cd ncl_ncarg-6.1.2
    tar -xzvf ../absoft_configs_ncl_ncarg-6.1.2.tar.gz

If you are building on OS X Mavericks, you will need to install the OS X Mavericks modified source files:

    tar -xzvf ../absoft_osx_mavericks_ncl_ncarg-6.1.2.tar.gz


SELECTING THE APPROPRIATE CONFIGURATION FILE

Before running the NCAR Graphics configure command, select the Absoft specific configuration file for the system you are using and copy it to the appropriate generic name:

Linux 64 bit systems:

    cp config/LINUX.64.ABSOFT  config/LINUX

Linux 32 bit systems:

    cp config/LINUX.ABSOFT  config/LINUX

OS X 64 bit systems:

    cp config/Darwin_Intel.64.absoft  config/Darwin_Intel

OS X 32 bit systems:

    cp config/Darwin_Intel.absoft config/Darwin_Intel

RUNNING THE CONFIGURE COMMAND

Start the NCAR Graphics configuration process by entering:

    ./Configure

FURTHER INFORMATION ON BUILDING NCAR GRAPHICS

The full documentation for building NCAR Graphics and the NCAR Command Language is available here http://www.ncl.ucar.edu/Download/build_from_src.shtml.


Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building NCAR Graphics on Linux and OS X
 

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