Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

Undefined symbols for architecture x86_64 error

lee__seungcheol
Beginner
441 Views

Hi guys,

I'm trying to compile a .f90 file, but it produces the 'Undefined symbols for architecture x86_64 error'

I'm using Mac OS Mojave version 10.14.6 and Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.5.281 Build 20190816.

The error is as the following:

====================================

Seungcheols-MacBook-Pro:Fortran seungcheollee$ ifort Main.f90

Undefined symbols for architecture x86_64:

  "_calibration_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_finalsteadystate_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_globals_mp_calibratecostfunction_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_globals_mp_doimpulseresponses_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_impulseresponses_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_initialsteadystate_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_savesteadystateoutput_", referenced from:

      _MAIN__ in ifort96Lt41.o

  "_setparameters_", referenced from:

      _MAIN__ in ifort96Lt41.o

ld: symbol(s) not found for architecture x86_64

================================================

There are several subroutines that are referenced from Main.f90 file.

I have almost no knowledge of fortran. Thus, any comment and help would be more than welcome!

Best,

Seungcheol

 

 

 

0 Kudos
0 Replies
Reply