Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Create new .f90 file in macOS

Ortega__David
Beginner
133 Views

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
Juergen_R_R
Valued Contributor I
133 Views

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

Steve_Lionel
Black Belt Retired Employee
133 Views

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

ta__thu
Beginner
133 Views

where do you save the file? 

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

Reply