Skip to content
This repository was archived by the owner on Jun 25, 2021. It is now read-only.

Commit 9e4448a

Browse files
committed
Changed variable type. Added 64 bit compilation flag to Makefile
1 parent 5f510dc commit 9e4448a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*.dylib
2222

2323
# Executables
24+
2LPTic
2425
*.exe
2526
*.out
2627
*.app

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ OPT += -DUSE_CAMB # Allow input tabulated transfer function
3131

3232
OPTIONS := $(OPT)
3333
CC := mpicc
34-
OPTIMIZE := -O3 -march=native
34+
OPTIMIZE := -O3 -march=native -m64
3535

3636
# Set for TACC Stampede.
3737
GSL_INCL := -isystem$(TACC_GSL_INC) -isystem$(TACC_GSL_INC)/gsl

main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void displacement_fields(void)
9797
double dis, dis2, maxdisp, max_disp_glob;
9898
unsigned int *seedtable;
9999

100-
unsigned int bytes;
100+
size_t bytes;
101101
double nmesh3;
102102
int coord;
103103
fftw_complex *(cdisp[3]), *(cdisp2[3]) ; /* ZA and 2nd order displacements */

0 commit comments

Comments
 (0)