Struggling to Compile a Program in Unix? Here's What You Need to Know

  • Thread starter Thread starter Arjani
  • Start date Start date
  • Tags Tags
    Program Unix
Click For Summary

Discussion Overview

The discussion revolves around compiling a climate modeling program in a Unix environment, specifically addressing issues related to the use of a Makefile and the absence of a Fortran compiler. The scope includes practical troubleshooting and technical guidance for users unfamiliar with Unix.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant expresses difficulty in compiling a climate modeling program due to lack of experience with Unix and seeks assistance.
  • Another participant identifies that the error message indicates the absence of the 'f90' Fortran compiler and questions whether it is installed on the user's system.
  • The original poster confirms they do not have 'f90' installed and mentions using Putty for remote access to a university system.
  • A subsequent reply suggests that while the university system may have a Fortran 90 compiler, it might not be named "f90" and advises seeking local expert assistance for setup rather than relying solely on forum guidance.

Areas of Agreement / Disagreement

Participants generally agree on the need for a Fortran compiler to compile the program, but there is uncertainty regarding the specific naming conventions of compilers on the university system and the best approach to resolve the issue.

Contextual Notes

Limitations include the lack of information about the specific configuration of the university system and the potential variations in compiler names. The discussion does not resolve the user's issue with compiling the program.

Who May Find This Useful

This discussion may be useful for individuals new to Unix who are attempting to compile programs, particularly those involving Fortran, and who may encounter similar issues with compiler installations and configurations.

Arjani
Messages
20
Reaction score
1
I have a climate modelling program that I need to somehow get to work. I have no experience with Unix whatsoever, so for me this is not a trivial task. I attached a screenshot of what I have. I need to compile the program and since there is a Makefile in my directory, I guess I have to use the command 'make', but that gives me an error. Any ideas?

putty.jpg
 
Technology news on Phys.org
It says it can't find f90, which is a Fortran compiler. Do you have f90 installed on your system?
 
No, I don't. I am using Putty, which I thought would give me remote access to the university system, which has everything installed. But it doesn't work like that?
 
The uni system may well have a Fortran 90 compiler, but it might not be called "f90".

We can't give you much specific advice about your local computer network, for the obvious reason! It's easy enough set up "make" to use the names of your local software development tools, but I think your best option is persuade a local expert to spend a few minutes helping you do that, rather than trying to do it "blind" from this forum.
 

Similar threads

Replies
6
Views
3K
Replies
14
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 27 ·
Replies
27
Views
6K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
6
Views
3K