Skip to content

Commit

Permalink
Added 'make.inc' for IBM compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
m.petschow committed Nov 22, 2010
1 parent afa854e commit 39eb1f5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion INCLUDE/mrrr.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

int mrrr(char *jobz, char *range, int *n, double *restrict D,
double *restrict E, double *vl, double *vu, int *il, int *iu,
bool *tryrac, int *m, double *W, double *Z, int *ldz,
int *tryrac, int *m, double *W, double *Z, int *ldz,
int *Zsupp);

/* Arguments:
Expand Down
21 changes: 21 additions & 0 deletions INSTALL/make.inc.ibm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Compiler for C and Fortran
CC = xlc_r
FC = xlf_r

# Compiler flags
CFLAGS = -O3 -qthreaded -qstrict
FFLAGS = -O3 -qthreaded -qstrict -qextname

# Archiver and flags used when building the archive
AR = /usr/bin/ar
ARFLAGS = rcs

# Indicate if C99 feature of complex number are supported,
# which is ONLY NECESSARY FOR THE HERMITIAN WRAPPER ROUTINE.
# If true and routine needed, set to 1. To be safe it is set
# to 0 by default
COMPLEX_SUPPORT = 0

# Compile routines without adding necessary LAPACK routines
# to 'libmrrr.a'; default = 0
NOLAPACK = 0
2 changes: 1 addition & 1 deletion SRC/process_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ rrr_t* compute_new_rrr(cluster_t *cl, int tid, val_t *Wstruct,
double *restrict D, *restrict L;
double *restrict DL, *restrict DLL;
double *restrict D_parent, *restrict L_parent;
double *restrict DL_parent, *restrict DLL_parent;
double *DL_parent, *DLL_parent;

int i, k, p, info;
double tmp;
Expand Down

0 comments on commit 39eb1f5

Please sign in to comment.