Does 'g95link' Need to be Created First for FORTRAN GUI with DISLIN?

  • Context: Fortran 
  • Thread starter Thread starter VasanthG
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the necessity of creating 'g95link' for developing a GUI in FORTRAN using DISLIN. The user encountered a "g95link not found" error after attempting to compile example programs with the command "g95link -a exa_f90.f90". It was established that 'g95link' is not automatically created and is distinct from 'gfortran', which the user has installed. The user seeks clarification on whether linking can be accomplished using the "-lxxx" command with 'gfortran' instead.

PREREQUISITES
  • Understanding of FORTRAN programming language
  • Familiarity with DISLIN library for graphical interfaces
  • Knowledge of g95 and gfortran compilers
  • Basic command line usage in Unix/Linux environments
NEXT STEPS
  • Research how to create 'g95link' if it is not automatically generated
  • Explore the usage of the "-lxxx" command with 'gfortran' for linking libraries
  • Investigate the differences between g95 and gfortran compilers
  • Learn about troubleshooting common compilation errors in FORTRAN
USEFUL FOR

FORTRAN developers, software engineers working with graphical interfaces, and anyone integrating DISLIN with FORTRAN applications will benefit from this discussion.

VasanthG
Messages
13
Reaction score
0
I am trying to create a GUI for FORTRAN using DISLIN. I installed DISLIN in /usr/local/dislin folder and tried to compile some example programs given in the directory.

g95link -a exa_f90.f90
I got the error message

g95link not found.

I wanted to know if "g95link" needs to be created first. Usually "command not found" error can be because the package is not installed or the path is not correct. I have gfortran in my machine. Is there a way to create link files simply by using "-lxxx" command?
 
Technology news on Phys.org

Similar threads

Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
11K