sgrogan wrote:easyw-fc wrote:tested Calculix cxx211-64bin.exe in FC 8434-64b and worked like a charm!

(and running much faster 62s vs 128s on my sample FC file)

Can you upload the binaries somewhere?

FreeCAD Window$ user compiling calculix

Amazing

Hi,

I uploaded also the MultiThread release

CalculiX-bin-folder/win64
ccx2_11_MT-64.exe
there is also a batch file

ccx2_11_MT-64.bat
that can be invoked inside FC FEM and when launched SET environment variables to let ccx work in MT, and launch ccxMT for executing the FEM analysis

.... I considered all parameters to be passed to the batch file and then to CalculiX

Here a log of the ccx out showing the multicore calculation

Code: Select all

```
0.0: Check dependencies...
51.3: Write completed.
0.0: CalculiX binary: C:/Calculix-211-64/ccx211_MT-64.bat
0.0: Run CalculiX...
0.0: Starting CalculiX...
0.0: CalculiX is running...
44.7: CalculiX stopped.
44.7: number of Processors 4
c:\users\userm\appdata\local\temp>SET OMP_NUM_THREADS=4
c:\users\userm\appdata\local\temp>SET CCX_NPROC_RESULTS=4
c:\users\userm\appdata\local\temp>\Calculix-211-64\ccx211_MT-64.exe -i Fusion001_Mesh
************************************************************
CalculiX Version 2.11, Copyright(C) 1998-2015 Guido Dhondt
CalculiX comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
certain conditions, see gpl.htm
************************************************************
You are using an executable made on 16 Sep 2016 23:34:29
The numbers below are estimated upper bounds
number of:
nodes: 47104
elements: 40923
one-dimensional elements: 0
two-dimensional elements: 0
integration points per element: 15
degrees of freedom per node: 3
layers per element: 1
distributed facial loads: 6089
distributed volumetric loads: 0
concentrated loads: 1
single point constraints: 3
multiple point constraints: 1
terms in all multiple point constraints: 1
tie constraints: 0
dependent nodes tied by cyclic constraints: 0
dependent nodes in pre-tension constraints: 0
sets: 6
terms in all sets: 144726
materials: 2
constants per material and temperature: 2
temperature points per material: 1
plastic data points per material: 0
orientations: 0
amplitudes: 6
data points in all amplitudes: 6
print requests: 2
transformations: 0
property cards: 0
STEP 1
Static analysis was selected
Newton-Raphson iterative procedure is active
Decascading the MPC's
Determining the structure of the matrix:
number of equations
188413
number of nonzero lower triangular matrix elements
5500326
increment 1 attempt 1
increment size= 1.000000e+00
sum of previous increments=0.000000e+00
actual step time=1.000000e+00
actual total time=1.000000e+00
iteration 1
Using up to 4 cpu(s) for the stress calculation.
Using up to 4 cpu(s) for the heat flux calculation.
Using up to 4 cpu(s) for the symmetric stiffness/mass contributions.
Factoring the system of equations using the symmetric spooles solver
Using up to 4 cpu(s) for spooles.
Using up to 4 cpu(s) for the stress calculation.
Using up to 4 cpu(s) for the heat flux calculation.
average force= 0.000000
time avg. forc= 0.010000
largest residual force= 0.000000 in node 1 and dof 1
largest increment of disp= 0.000000e+00
largest correction to disp= 0.000000e+00
average flux= 0.011339
time avg. flux= 0.011339
largest residual flux= 0.048694 in node 20025 and dof 0
largest increment of temp= 1.629882e+00
largest correction to temp= 1.629882e+00 in node 1 and dof 0
no convergence
iteration 2
Using up to 4 cpu(s) for the symmetric stiffness/mass contributions.
Factoring the system of equations using the symmetric spooles solver
Using up to 4 cpu(s) for spooles.
Using up to 4 cpu(s) for the stress calculation.
Using up to 4 cpu(s) for the heat flux calculation.
average force= 0.016701
time avg. forc= 0.016701
largest residual force= 7.520585 in node 15130 and dof 3
largest increment of disp= 0.000000e+00
largest correction to disp= 0.000000e+00
average flux= 0.011339
time avg. flux= 0.011339
largest residual flux= 0.000000 in node 15103 and dof 0
largest increment of temp= 1.629882e+00
largest correction to temp= 1.903474e-13 in node 8645 and dof 0
no convergence
iteration 3
Using up to 4 cpu(s) for the symmetric stiffness/mass contributions.
Factoring the system of equations using the symmetric spooles solver
Using up to 4 cpu(s) for spooles.
Using up to 4 cpu(s) for the stress calculation.
Using up to 4 cpu(s) for the heat flux calculation.
average force= 0.000106
time avg. forc= 0.000106
largest residual force= 0.000000 in node 15108 and dof 3
largest increment of disp= 1.690264e-03
largest correction to disp= 1.690264e-03 in node 10203 and dof 3
average flux= 0.011339
time avg. flux= 0.011339
largest residual flux= 0.000000 in node 21464 and dof 0
largest increment of temp= 1.629882e+00
largest correction to temp= 1.408816e-14 in node 3656 and dof 0
convergence
the increment size exceeds the remainder of the step and is decreased to 0.000000e+00
Using up to 4 cpu(s) for the stress calculation.
Using up to 4 cpu(s) for the heat flux calculation.
Job finished
44.7: CalculiX done!
44.7: Loading result sets...
```

Please have a try and give feedback

Maurice