summaryrefslogtreecommitdiff
path: root/math/atlas/files/thread-patch
blob: 4d1a00c71f4777618381bcc2440140b32ff05884 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- config.c.orig	Tue Jul  1 12:35:09 2003
+++ config.c	Tue Jul  1 12:35:44 2003
@@ -79,7 +79,7 @@
 char *usermmnam[2] = {"", "GOTO"};
 enum USERGEMM {UG_None=0, UG_GOTO};
 
-int XCOMP=0, THREADS=0, USEWINF77=0, NLINES=0, ISWIN=0;
+int XCOMP=0, THREADS=1, USEWINF77=0, NLINES=0, ISWIN=0; // force threading
 char TARGNAM[512];
 enum MACHTYPE mach=MACHOther;
 
@@ -2737,7 +2737,6 @@
       Use3DNow = IsYes('n', "   ", "Use 3DNow! for computation?");
    }
    ncpu = ProbeNCPU(OS, mach, targ, TOPdir);
-   ncpu = 1; // force non-threading
    if (ncpu != 1) /* user may want to thread */
    {
       DisplayFile("CONFIG/pthread.txt", stdout, NLINES);
@@ -3155,7 +3154,7 @@
    }
    if (USEWINF77) strcpy(F77, "$(BINdir)/winf77.exe");
 
-   fpout = fopen("ARCHNAME-NON-THREADED", "w");
+   fpout = fopen("ARCHNAME-THREADED", "w");
    fprintf(fpout, "%s", ARCH);
    fclose(fpout);
    ATL_mprintf(2, fplog, stdout,"\nCreating make include file Make.%s\n", ARCH);