now automatically using gfortran if no ifort is found

This commit is contained in:
Martin Diehl 2012-11-13 18:40:14 +00:00
parent 0c87fc16f4
commit 922042d8d5
1 changed files with 7 additions and 2 deletions

View File

@ -44,12 +44,17 @@ IMKLROOT := auto
ACMLROOT := auto
LAPACKROOT := auto
F90 ?= ifort
ifeq ($(wildcard ifort),)
F90?=gfortran
else
F90?=ifort
endif
COMPILERNAME ?= $(F90)
INCLUDE_DIRS +=-I$(DAMASK_ROOT)/lib
ifeq "$(FASTBUILD)" "YES"
OPENMP := OFF
OPTIMIZATION := OFF