Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
27782 Discussions

Installing FORTRAN on MacBookPro with M1 chips

Robert_Gamache
Beginner
2,078 Views

I am trying to get Intel 2022 FORTRAN running on a MacBook Pro that has the M1 chip.  The instructions say before you can use FORTRAN you must set the environment variables using 

source opt/intel/compilers_and_libraries_2021.<update number>.<package number>/Mac/setvars.sh
However, the folder structure for 2022 FORTRAN is different.  setvars.sh is in 

opt/intel/oneapi/compiler/2022.1.0/mac/bin/setvars.sh and when I execute it I get the message "ERROR: No env scripts found: No "env/vars.sh" scripts to process."

Any suggestions?

0 Kudos
4 Replies
Devorah_H_Intel
Moderator
2,056 Views

Do you have setvars.sh listed under opt/intel/oneapi ?

Robert_Gamache
Beginner
1,955 Views

Sorry for the long delay I was abroad working in London. 

Yes, I also have it in opt/intel/oneapi/compiler/2022.1.0/mac/bin/.  I tried source opt/intel/oneapi/setvars.sh and it seemed to work.  I made the hello.F90 program, saved it in me/Documents and when I compiled (ifort hello.F90 -o hello I get the following error. 

ld: library not found for -lSystem

Barbara_P_Intel
Moderator
2,051 Views

Please note that Intel's macOS* support is for Mac* computers with Intel® Processors. See the various System Requirements documents.

 

Barbara_P_Intel
Moderator
1,937 Views

Maybe this thread will help you with the -lSystem.

Reply