Skip to content

Commit fe0fb14

Browse files
committed
updates for ifx compiler
1 parent 62ae0b7 commit fe0fb14

3 files changed

Lines changed: 1285 additions & 1251 deletions

File tree

Makefile

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Jamison A. Smith, AKA JAS
33
# April 26, 2007
44

5-
FORTRAN = ifort
5+
FORTRAN = ifx
6+
#FORTRAN = ifort
67
#FORTRAN = pgf90
78
#FORTRAN = pathf90
89
#FORTRAN = gfortran
@@ -41,6 +42,23 @@ ifeq ($(FORTRAN),ifort)
4142

4243
endif
4344

45+
ifeq ($(FORTRAN),ifx)
46+
FFLAGS += -fp-model precise
47+
48+
# Debug options.
49+
FFLAGS += -g -O0 -traceback -check bounds -fpe0 -ftrapuv
50+
51+
# Open/MP
52+
FFLAGS += -qopenmp
53+
54+
# The -qmkl flag if for linking to LAPACK lib
55+
LDFLAGS = $(FFLAGS) -no-pie -L/opt/local/lib -qmkl
56+
57+
# Add options for the netcdf libraries
58+
LDFLAGS += -L/opt/local/lib -lnetcdff -L/opt/local/lib -Wl,-headerpad_max_install_names -lnetcdf -lnetcdf
59+
60+
endif
61+
4462
# Add options for the Portland Group compiler.
4563
ifeq ($(FORTRAN),pgf90)
4664
FFLAGS +=

doc/ChangeLog

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
===============================================================
22

3+
Tag name: v4.11
4+
Originator(s): Francis Vitt (fvitt)
5+
6+
Update Makefile for intel's ifx compiler
7+
8+
M Makefile
9+
M tests/bench/carma_growtest.txt
10+
M doc/ChangeLog
11+
12+
The legacy ifort intel compiler on NCAR's derecho and casper machines
13+
has been deprecated and will not be available in the future and thus
14+
the need to migrate to ifx intel compiler. The compiler change on casper
15+
produced differences in growtest bench results.
16+
17+
===============================================================
18+
319
Tag name: v4.11
420
Originator(s): Ilaria Quaglia (ilaria-quaglia)
521
Date: 28 Aug 2005

0 commit comments

Comments
 (0)