diff -ur calculix-2.10/src.orig/CalculiX.h calculix-2.10/src/CalculiX.h
old
|
new
|
|
15 | 15 | /* along with this program; if not, write to the Free Software */ |
16 | 16 | /* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
17 | 17 | |
| 18 | #include<pthread.h> |
18 | 19 | #define Linux 1 |
19 | 20 | #define IRIX 2 |
20 | 21 | #define IRIX64 3 |
diff -ur calculix-2.10/src.orig/Makefile calculix-2.10/src/Makefile
old
|
new
|
|
22 | 22 | |
23 | 23 | LIBS = \ |
24 | 24 | $(DIR)/spooles.a \ |
25 | | ../../../ARPACK/libarpack_INTEL.a \ |
26 | | -lpthread -lm -lc |
| 25 | $(shell pkg-config --libs arpack) -lvecLibFort |
27 | 26 | |
28 | | ccx_2.10: $(OCCXMAIN) ccx_2.10.a $(LIBS) |
29 | | ./date.pl; $(CC) $(CFLAGS) -c ccx_2.10.c; $(FC) -fopenmp -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.10.a $(LIBS) |
| 27 | ccx_2.10: $(OCCXMAIN) ccx_2.10.a |
| 28 | ./date.pl |
| 29 | $(CC) $(CFLAGS) -c ccx_2.10.c |
| 30 | $(FC) $(FFLAGS) -o $@ $(OCCXMAIN) ccx_2.10.a $(LIBS) |
30 | 31 | |
31 | 32 | ccx_2.10.a: $(OCCXF) $(OCCXC) |
32 | 33 | ar vr $@ $? |
33 | | |
| 34 | |
| 35 | clean: |
| 36 | rm -f *.o *.a |
diff -ur calculix-2.10/src.orig/ccx_2.10.c calculix-2.10/src/ccx_2.10.c
old
|
new
|
|
133 | 133 | printf("software, and you are welcome to redistribute it under\n"); |
134 | 134 | printf("certain conditions, see gpl.htm\n\n"); |
135 | 135 | printf("************************************************************\n\n"); |
136 | | printf("You are using an executable made on Sa 5. Mär 12:23:33 CET 2016\n"); |
| 136 | printf("You are using an executable made on __DATE__ __TIME__\n"); |
137 | 137 | fflush(stdout); |
138 | 138 | |
139 | 139 | istep=0; |
diff -ur calculix-2.10/src.orig/u_free.c calculix-2.10/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 | } |