NOAA-GFDL / AM4

19 stars 21 forks source link

intel.mk template update for mkl libraries #8

Closed thomas-robinson closed 4 years ago

thomas-robinson commented 5 years ago

On some systems, including the mkl libraries causes a crash on the linking step. This branch changes the logic for MKL_LIBS in intel.mk. Now a user can specify MKL_LIBS=none in their make command to exclude the mkl libraries on the link step of the compile. I wrapped the old logic in an if like this

ifeq ($(MKL_LIBS),none)
else
OLD MKL_LIBS LOGIC
endif