PGI Fortran on Mac

Hello,
I am receiving error like below when I try to install Nek5000 using PGI compiler Mac version with the command ‘‘makenek eddy_uv’’. It seems the PGI Fortran was not properly installed or the path to it was not set up correctly. Can anyone assist me to solve this, please? Thank you

“_pgf90io_sc_i_fmt_write”, referenced from:
xerbla in libblasLapack.a(xerbla.o)
dlamc2 in libblasLapack.a(dlamch.o)
“_pgf90io_src_info03a”, referenced from:
xerbla in libblasLapack.a(xerbla.o)
dlamc2 in libblasLapack.a(dlamch.o)

ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [nek5000] Error 1

Hi Evan Yin,

This looks more like the PGI Fortran runtime libraries aren’t getting added to the link line.

What’s the link line look like? Is pgfortran being used or a different compiler?

-Mat