diff -ur src.orig/CalculiX.h src/CalculiX.h
old
|
new
|
|
16 | 16 | /* along with this program; if not, write to the Free Software */ |
17 | 17 | /* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
18 | 18 | |
| 19 | /* mac include pthread_t.h */ |
| 20 | #include <pthread.h> |
| 21 | |
19 | 22 | #define Linux 1 |
20 | 23 | #define IRIX 2 |
21 | 24 | #define IRIX64 3 |
diff -ur src.orig/Makefile src/Makefile
old
|
new
|
|
1 | 1 | |
2 | | CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT |
3 | | FFLAGS = -Wall -O3 |
| 2 | CFLAGS=-O2 -pthread -I@@PREFIX@@/include -I@@PREFIX@@/include/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -DTAUCS -DBLAS_LIBRARIES=vecLibFort -DLAPACK_LIBRARIES=vecLibFort |
| 3 | FFLAGS=-O2 -fopenmp |
4 | 4 | |
5 | | CC=cc |
6 | | FC=gfortran |
| 5 | CC=@@CC@@ |
| 6 | FC=@@FC@@ |
7 | 7 | |
8 | 8 | .c.o : |
9 | 9 | $(CC) $(CFLAGS) -c $< |
… |
… |
|
21 | 21 | DIR=../../../SPOOLES.2.2 |
22 | 22 | |
23 | | LIBS = \ |
24 | | $(DIR)/spooles.a \ |
25 | | ../../../ARPACK/libarpack_INTEL.a \ |
26 | | -lpthread -lm -lc |
| 23 | LIBS = -ltaucs -lmetis -lspooles -larpack -lvecLibFort |
27 | 24 | |
28 | | ccx_2.14: $(OCCXMAIN) ccx_2.14.a $(LIBS) |
29 | | ./date.pl; $(CC) $(CFLAGS) -c ccx_2.14.c; $(FC) -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.14.a $(LIBS) |
| 25 | ccx_2.14: $(OCCXMAIN) ccx_2.14.a |
| 26 | ./date.pl; $(CC) $(CFLAGS) -c ccx_2.14.c; $(FC) $(FFLAGS) -o $@ $(OCCXMAIN) ccx_2.14.a $(LIBS) $(LDFLAGS) |
30 | 27 | |
31 | 28 | ccx_2.14.a: $(OCCXF) $(OCCXC) |
32 | 29 | ar vr $@ $? |
| 30 | |
| 31 | clean: |
| 32 | rm -f *.o *.a |
diff -ur src.orig/ccx_2.14.c src/ccx_2.14.c
old
|
new
|
|
136 | 136 | printf("software, and you are welcome to redistribute it under\n"); |
137 | 137 | printf("certain conditions, see gpl.htm\n\n"); |
138 | 138 | printf("************************************************************\n\n"); |
139 | | printf("You are using an executable made on Sa 28. Apr 16:09:10 CEST 2018\n"); |
| 139 | printf("You are using an executable made on __DATE__ __TIME__\n"); |
140 | 140 | fflush(stdout); |
141 | 141 | |
142 | 142 | istep=0; |
diff -ur src.orig/u_free.c src/u_free.c
old
|
new
|
|
41 | 41 | if(log_realloc==1) { |
42 | 42 | printf("FREEING of variable %s, file %s, line=%d: oldaddress= %ld\n",ptr_name,file,line,(long int)ptr); |
43 | 43 | } |
44 | | return; |
| 44 | return NULL; |
45 | 45 | } |