Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

Create new .f90 file in macOS

Hi,

I'm trying to run Intel Fortran Compiler for macOS Mojave 10.14. I have installed the package, but I'm not able to create new files. In order to run the compiler, I write in the terminal:

source /opt/intel/bin/compilervars.sh intel64

then,

ifort my_source_file.f90

The terminal says 'file not found', when all I'm trying to do is create that file.

How does one create a file in IFort?

Thanks!

0 Kudos
3 Replies
Valued Contributor I
9 Views

Hi David, usually you take

Hi David, usually you take your favorite editor, type in the file, and save it, thereby creating the file. You can also use an IDE where others are better suited to give you advice.

Best, Juergen

0 Kudos
Highlighted
Black Belt Retired Employee
9 Views

The ifort command is used to

The ifort command is used to compile the Fortran source once you have created it.

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Beginner
9 Views

where do you save the file? 

where do you save the file? 

As in like in a note pad? Sorry I am new to this! Thank you

0 Kudos