Created
January 15, 2013 22:21
-
-
Save prehensilecode/4542687 to your computer and use it in GitHub Desktop.
Patch to get GotoBLAS2-1.13 to compile for Nehalem under PGI 12.5. See also: http://www.pgroup.com/resources/gotoblas/gotoblas_pgi2012.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile.system 2010-01-28 15:11:08.000000000 -0500 | |
+++ Makefile.system.deac 2013-01-14 11:09:56.280298528 -0500 | |
@@ -278,9 +278,9 @@ | |
ifeq ($(C_COMPILER), PGI) | |
ifdef BINARY64 | |
-CCOMMON_OPT += -tp p7-64 | |
+CCOMMON_OPT += -tp nehalem-64 | |
else | |
-CCOMMON_OPT += -tp p7 | |
+CCOMMON_OPT += -tp nehalem | |
endif | |
endif | |
@@ -384,11 +384,11 @@ | |
COMMON_PROF += -DPGICOMPILER | |
ifdef BINARY64 | |
ifdef INTERFACE64 | |
-FCOMMON_OPT += -i8 | |
+FCOMMON_OPT += -i4 | |
endif | |
-FCOMMON_OPT += -tp p7-64 | |
+FCOMMON_OPT += -tp nehalem-64 | |
else | |
-FCOMMON_OPT += -tp p7 | |
+FCOMMON_OPT += -tp nehalem | |
endif | |
ifdef USE_OPENMP | |
FCOMMON_OPT += -mp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment