LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2009, 10:19 AM   #1
chonchis
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Help!! How can I get f90 COMMAND to work ???


Hi all,

I have a mac, and I am ussing gfortran as a fortran compiler. My problem is that I can't not use the command f90, everytime I try it says:

f90: Command not found.
a.out: Command not found.

Any help will be appreciated, Thanks !
 
Old 06-10-2009, 02:55 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
If you use gfortran..... use the command gfortran. If you feel more comfortable with the f90 command, just create a link to gfortran somewhere in the PATH, e.g.
Code:
ln -s /usr/bin/gfortran /usr/bin/f90
 
Old 06-10-2009, 06:06 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Depending on the distro, the current directory might not be in the path. Therefore you need
Code:
./a.out
to run a.out
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where n how to install F90 compiler in classic Mac OS 9.2.2? min4 Linux - Newbie 1 10-07-2008 03:57 AM
f90 compiler for SUSE 9.2 aolleta Linux - Newbie 2 11-01-2007 04:51 AM
command to work munna_dude Programming 4 10-13-2007 12:12 AM
the ./ command doesn't work Thane Ubuntu 14 09-30-2006 04:22 PM
Problem linking f77 and f90 object files Make problem (I think) TheBrick Programming 1 05-22-2006 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration