I was having errors using CCX provided as the Linux executable on the CalculiX website, so I decided to compile it from source so I can finally get it working. I followed the compilation steps detailed on the CalculiX website, in addition to the following few changes.
I compiled on Ubuntu 12.04 LTS.
In order to compile CalculiX, you also need to install SPOOLES.2.2 and ARPACK.
Installing SPOOLES.2.2 is straightforward, just follow their directions on their website.
Installing ARPACK required a bit more modification. For me, I had to make the following changes in 'ARmake.inc':
-Add '-lg2c' flag to LDFLAGS, LNFLAGS, and FFLAGS
-Changed the fortran compiler to gfortran
-Changed the MAKE directory to /usr/bin/make (original: /bin/make)
-Changed the PLAT to INTEL, rather than SUN4
And the following change to 'UTIL/second.f':
-Changed the two lines:
EXTERNAL REAL ETIME
Then, I was able to compile CCX as detailed on the website.
Another note about the deck input... I was trying to use the solver on the test cases as provided on the CalculiX website and took me a little while to figure out how to get the post-processed results (colorful stress and strain fields, etc.). I thought the results were written to *.frd file by *EL PRINT (which are already in the test input files), but the Datasets to be displayed in CGX actually have to be written by *EL FILE and *NODE FILE. So, to get the stress and displacement fields I had to type the following into the deck input file:
Where S denotes stress and U denotes displacement. For the rest of the keywords for other fields, you can check the CCX Manual.