Hello guys,
though not new to ccx nor FEM, I'm new to mecway. In general I work with a linux binary. As I could not find a working ccx2.9 binary for windows to be run with mecway I decided to build my own ccx2.9 from source using gcc and gfortran 5.3.0. With msys2/mingw64 the build process is almost identical to linux with only minor changes to the sources and makefiles.
I did a little (naive) benchmark with the bConverged ccx2.8p2 (no bashing intended, just due to availability)
I ran my binary and Jeffs binary on the model from:
http://mecway.com/forum/discussion/comment/748/#Comment_748The results were quite suprising. It seems gcc did a good job here. If you want to try the binaries yourself pls check github
https://github.com/ddfem/ccx_mingw64 The binaries are statically linked, so you should not need/miss any external library. The fully tuned version might fail on some cpus.
I hope these binary can be useful for the mecway community.
regards
kwip
-------------------------------------------------------------------------------------------
CPU: Skylake i7-6820HK
ENV: OMP_NUM_THREADS=4 --> MT is active for all versions (parallel)
ENV: OMP_NUM_THREADS=1 --> MT is inactive for all versions (serial)
bConverged ccx2.8p2
parallel:
real 0m37.762s
user 0m0.000s
sys 0m0.015s
serial:
real 0m42.490s
user 0m0.000s
sys 0m0.015s
ccx_2.9_MT (FLAG: -O3)
parallel:
real 0m25.519s
user 0m0.000s
sys 0m0.015s
serial:
real 0m37.481s
user 0m0.000s
sys 0m0.000s
ccx_2.9_MT FULLY TUNED (FLAG: -O3 -march=native -mtune=native)
parallel:
real 0m22.651s
user 0m0.000s
sys 0m0.015s
serial:
real 0m32.241s
user 0m0.000s
sys 0m0.015s
Comments
Best regards, and good work!
Best Regards
"*ERROR in openfile: could not open file XXXXXX.dat"
which happens with the CalculiXforWin 2.9 on SourceForge.net when run from within Mecway. It's also more convenient to have a single statically linked binary instead of multiple files.
Thanks alot for this!
*ERROR in openfile: could not open file xxxxx.dat
Regards
the same error messages happen with me, when i run CCX version 2.9 (32bit) build by Prool
hi Kwip,
can you kindly provide CCX executable files for 32 bit? i need a try
pls check the repo on github.
I was not able to test it, but it's a full "-m32" build, so I hope it runs.
good luck
regards
thank you for kindly build and provide CCX 2.10 for 32bit Windows. i has been tested for simple case and seem working properly using command prompt.
but still has issue when integrated with Mecway, error message shown it can not produce *.dat result files.
best greetings,
could you please check, if a simple batch file (adapted to your path) acting as wrapper solves this issue?
content (without hashes):
######
@echo off
driveletter:\path\to\ccx_2.10_MT_m32.exe -i %1
######
saved as choose_a_name.bat and included via tools->options->CalculiX->Solver
best compliments to kwip for his great ccx_2.10_MT version. I am facing the same issue as rhoka and Sergio rolling back from windows 10 to windows 7. Everything worked fine on windows 10; this was the only thing that worked fine on that OS on my pc. Maybe kwip the Great compiled his impressive executable on windows 10. BTW everything works great from command prompt.
Best greetings,
Stefano
Regards
thanks a lot for the compliments. Your assumption is correct, I've built the ccx from within windows 10.
Did somebody test if the wrapper helps?
Regards
for the ones struggeling with the no output issue, could you pls. try a batch file as shown below?
@echo off
start cmd /K "D:\mecway\ccx_2.10_MT.exe -i %1"
pls. correct the included path according to your path. A window should open, which you can close after ccx has finished. My test with a prools binary (ccx2win) was successful.
regards
I really like mecway and I'm glad to help a little to improve the users experience.
I'm really looking forward to mecway 5 ...
regards
C:\PROGRA~2\bConverged\CalculiX\ccx\ccx210\ccx_2.10.exe
I'm also looking forward to the next version :-)
Would it be possible for you to post the input file of the link and pin test? Thanks.
http://mecway.com/forum/discussion/155/general-contact-nonlinear-hard-contact-in-ccx