DISLIN 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 (version 10.6) on an arbitrary Ubuntu system (here: 16.04 – Xenial Xerus) and how to compile and link a sample Fortran 90 program with the shared and static libraries.
This how-to should work on Ubuntu-related distributions as Linux Mint, etc.
Continue reading Install DISLIN 10.6 on Ubuntu 16.04 Xenial Xerus
A 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 Fortran 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.
Continue reading Install and Setup Code::Blocks for Fortran on GNU/Linux
≡ Picture Credits
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.
Continue reading Recognize platforms in Fortran
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. Continue reading Compiler-depended subroutines of FLIB for G95 and Gfortran