Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make the type of N_THREADS to be INTEGER*4 explicitly
When building with -fdefault-integer=8, the type changes, but
only some compiler like gfortran implements `omp_set_num_threads`
with integer*8 input. When swapping the openmp library with
LLVM openmp, this doesn't work yet. Until LLVM openmp is fixed
explicitly setting the type fixes the build issue.
  • Loading branch information
isuruf committed Jul 14, 2021
commit 56aea449c6f090f9622a0e44a1c889e400ad4ab1
3 changes: 2 additions & 1 deletion TESTING/EIG/cchkee.F
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ PROGRAM CCHKEE
CHARACTER*80 LINE
INTEGER I, I1, IC, INFO, ITMP, K, LENP, MAXTYP, NEWSD,
$ NK, NN, NPARMS, NRHS, NTYPES,
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH, N_THREADS
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH
INTEGER*4 N_THREADS
REAL EPS, S1, S2, THRESH, THRSHN
* ..
* .. Local Arrays ..
Expand Down
3 changes: 2 additions & 1 deletion TESTING/EIG/dchkee.F
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,8 @@ PROGRAM DCHKEE
CHARACTER*80 LINE
INTEGER I, I1, IC, INFO, ITMP, K, LENP, MAXTYP, NEWSD,
$ NK, NN, NPARMS, NRHS, NTYPES,
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH, N_THREADS
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH
INTEGER*4 N_THREADS
DOUBLE PRECISION EPS, S1, S2, THRESH, THRSHN
* ..
* .. Local Arrays ..
Expand Down
3 changes: 2 additions & 1 deletion TESTING/EIG/schkee.F
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,8 @@ PROGRAM SCHKEE
CHARACTER*80 LINE
INTEGER I, I1, IC, INFO, ITMP, K, LENP, MAXTYP, NEWSD,
$ NK, NN, NPARMS, NRHS, NTYPES,
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH, N_THREADS
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH
INTEGER*4 N_THREADS
REAL EPS, S1, S2, THRESH, THRSHN
* ..
* .. Local Arrays ..
Expand Down
3 changes: 2 additions & 1 deletion TESTING/EIG/zchkee.F
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ PROGRAM ZCHKEE
CHARACTER*80 LINE
INTEGER I, I1, IC, INFO, ITMP, K, LENP, MAXTYP, NEWSD,
$ NK, NN, NPARMS, NRHS, NTYPES,
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH, N_THREADS
$ VERS_MAJOR, VERS_MINOR, VERS_PATCH
INTEGER*4 N_THREADS
DOUBLE PRECISION EPS, S1, S2, THRESH, THRSHN
* ..
* .. Local Arrays ..
Expand Down