[MITgcm-devel] ifort/icc compiler flags and optfile
Patrick Heimbach
heimbach at MIT.EDU
Fri Oct 19 09:42:35 EDT 2012
Hi there,
I have a couple of questions regarding our default optfile
linux_amd64_ifort
1. how important is the flag "-ip" in CFLAGS (or, does it matter at all)?
Reason for asking is that some mpif wrappers use ifort for FC but gcc for CC (instead of icc).
Without the "-ip" flag in CFLAGS the optfile will work for both cases, but with this flag the compiling chokes.
Would we loose something if we just removed "-ip" in CFLAGS?
(the ifort man-pages claim that "-ip" improves runtime performance, but we hardly have any C code, so perhaps not relevant?).
2. looks like '-w95' and '-xW' are "deprecated (in ifort 12) and will be removed in a future release". Perhaps time to remove them from this default optfile (unless they're important for older ifort version?)
Cheers
p.
---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20121019/6c629aea/attachment.p7s>
More information about the MITgcm-devel
mailing list