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
AI Thread Summary
The discussion revolves around the challenges faced in compiling a climate modeling program on a Unix system, particularly due to a lack of experience with Unix commands. The user encounters an error when attempting to use the 'make' command, which indicates that the Fortran compiler 'f90' is not found. It is clarified that while the university system may have a Fortran 90 compiler, it might not be labeled as 'f90'. The suggestion is made that instead of seeking remote assistance through the forum, it would be more effective to consult a local expert who can provide hands-on help with the setup and troubleshooting of the compilation process.
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top