Archive for the Category 'Fortran'

Install Dislin 10.4 on Ubuntu 14.04

Thursday, 15. May 2014

The installation of DISLIN on Ubuntu can be a pain if you do not have some background information. I wrote 2012 a how-to about the installation of Dislin 10.2 on Ubuntu 12.04 (Precise Pangolin). Now Trusty Tahr (Ubuntu 14.04) is out and I updated my how-to.

There are not so many changes but with gfortran 4.8 the option -static-libgfortran works in comparison to Precise and makes your application independent from gfortran. Furthermore the how-to describes how you get rid of the dependency of a Dislin installation. This is nice if you want to share your app with others. You just stuck on the Motif dependency.

Please find the updates in the article “Install Dislin on Ubuntu“.

Category: English Posts, Fortran, GNU/Linux, How Tos, Programmieren, Ubuntu | Comments (0) | Author:

Install and Setup Code::Blocks for Fortran on GNU/Linux

Monday, 3. March 2014

codeblocks-tuxA new IDE for Fortran is in town. Beneath Photran the IDE Code::Blocks is available. Since Photran is specialised for Fortran, CodeBlocks is made for C/C++ programmers in the first place. But Darius Markauskas developed a plugin and provides a special Fortran version of CodeBlocks.

This How-To is for GNU/Linux and Fortran novices and shows how to install CodeBlocks for Fortran system-wide on GNU/Linux (here on Mint), compile your first program and get it run.

[…]

Category: English Posts, Fortran, How Tos, Programmieren | Comments (1) | Author:

Install DISLIN on Ubuntu

Last Modified: May, 15th 2014
Sunday, 10. June 2012

Dislin LogoDISLIN is a very nice and well-documented 2-D and 3-D plotting framework for Fortran and some other programming languages. Furthermore DISLIN provides some widgets to create simple graphic user interfaces (GUIs). This how-to describes how to install DISLIN on an arbitrary Ubuntu system and how to compile and link a sample Fortran 90  program with the shared and static libraries.

Since Ubuntu 12.04 (Precise Pangolin) and DISLIN 10.2 came out, things are easier for Debian-based Systems now. However 64-bit users have to consider some points.

I updated this article for Ubuntu 14.04 (Trusty Tahr) and DISLIN 10.4 users. Obsolete instructions for Ubuntu 12.04 and lower as well as DISLIN 10.0 were crossed.

[…]

Category: English Posts, Fortran, GNU/Linux, How Tos, Programmieren, Ubuntu | Comments (10) | Author:

Recognize platforms in Fortran

Sunday, 13. September 2009

Sometimes it is useful for a Fortran 90 program to know on which platform it runs. The main reasons why I wrote the module PLATFORM are to know where the home directory is and where to store the configure files (e.g. namelist-files) on the currently used platform without maintaining different platform-dependent source files.

The module PLATFORM detects:

  • DOS-based Windows platforms, as 95/98(SE)/ME
  • NT-based Windows platforms, as NT/2000/XP/Vista/7
  • Unix(-like) platforms, as Linux, MacOS X, etc.

[…]

Category: CMS Made Simple, English Posts, Fortran, Programmieren | Comments (0) | Author:

G95 Fortran 95 Compiler – RPM-Package

Tuesday, 16. December 2008

RPM-Package of the G95 Fortran 95 Compiler (Version 0.91, March 2008) for RPM-based Linux distributions. […]

Category: English Posts, Fortran | Comments (0) | Author:

Compiler-depended subroutines of FLIB for G95 and Gfortran

Tuesday, 16. December 2008

The PNNL Fortran Library (a.k.a. FLIB) is a set of general purpose non-numeric Fortran 90 routines that can be used to simplify the development of programs with a batch-style input/output interface and text-processing. FLIB is platform independent.

In addition to the mainly non-numeric routines used to build program interfaces, the FLIB software does use four non-standard extensions to the Fortran 90 language standard. These non-standard routines decrease the portability of the software but significantly improve the functionality.

cal_gnu.f90 contains these non-standard routines which are adapted to the open source compiler G95 and Gfortran. […]

Category: English Posts, Fortran, Programmieren, Software | Comments (3) | Author: