epc – enggprog compute

enggprog compute – epc is GPL web based CalculiX CrunchiX – ccx solver for solving multiphysics problems using Finite Element analysis. It is written in PHP.

How it works:

Upload ccx input file and get tar output. You can find online instance at: enggprog.net


  1. Dedicated debian server with CalculiX CrunchiX installed.
  2.  Apache2
  3.  PHP
  4. mod_expires, mod_headers activated.


You can download the tar files of epc package from here.


  1. Extract the package files of epc in web root.
  2. Change site name in core/config.php.
  3. Open index.php in web browser.


  1. enggprog.net is in alpha stage running on Pentium 4 with 1MBPS home based connection. It may not handle heavy traffic.
    Or sometimes you may face downtime on enggprog.net.
  2. Apache security features not implemented yet. Number of active users at given time is not limited yet.

Future Development:

  1. Implementing apache security features.
  2. Limiting simultaneous active session.
  3. Adding feature to excute fbd+inp file.


  1. CalculiX Portal.
  2. CalculiX Forum.
  3. CalculiX Binary for Debian 32bit.
  4. CalculiX Binary for Debian 64bit.
  5. CalculiX Buildbot for Debian 32bit.
  6. CalculiX Buildbot for Debian 64bit.

CCX on Android Devices

Today smart phones have revolutionized Engineering Computations. Computer Aided Engineering (CAE) is now more easy and accessible with help of android tablets and phones.

CalculiX CrunchiX Solver – ccx is one of the most powerful Multiphysics GNU Finite Element Solver. This post is about how to compile and run gnu ccx on android. The code tested on HTC Incredible S and Android version 2.3.3.

If you are familiar with ccx or you can execute abaqus inp files using ccx, then, this script is helpful to you. Following steps show how to compile and run ccx on android.

1. Install Prerequisite Apps in Android:

a. Required android apps:

  1. GNURoot Wheezy by Corbin Champion
  2. GNURoot by Corbin Champion
  3. Free disk space on sdcard (better to have more than 6GB) and internal memory (better to have more than 500MB).

b. Required packages on Rootfs of GNURoot (Wheezy arm os):

  1. make
  2. gfortran
  3. gcc
  4. wget
  5. sed
  6. bzip2

2. Compiling ccx:

  1. Open GNUROOT
  2. Launch rootfs as fake root
  3. Download the script by following command:

    Or you can use tar files of cxbuild4mob. Untar and use it. Do not forget to go through readme file inside tar folder. Link of tar file is:
  4. Make script executable and then run it. Estimate downloading and compilation time for ccx is about 3 hours.

3. How to use ccx on Android:

  1. Open GNURoot

    Fig. 1: GNURoot
  2. Check Launch as Fake Root option then press Launch Rootfs button.

    Fig 2: Rootfs with Fake Root option checked
  3. Change current directory to folder where inp file exists. Verify by ls command and then run it under ccx.

    inp file
    Fig 3: Verify inp file.
  4. Check for errors in ccx log.

    Output log
    Fig. 4: Output Log of ccx.
  5. Verify output files.
    Ouput files of ccx
    Fig. 5: Output files of ccx


4. References:

  1. CalculiX CrunchiX
  2. GNURoot

Highlighting Syntax in gedit for CalculiX CrunchiX inp file for Enhanced Readability

CalculiX is a free software nonlinear three-dimensional finite element program for structural applications. Following steps results in syntax highlight of inp file in gedit:

  1. Add .xml in ~/.local/share/mime/packages named ccx.xml with following content:

  2. Update mime-database as:

  3. Add ccx.lang file in /usr/share/gtksourceview-3.0/language-specs or in path resulting from following command:

    The content of ccx.lang is:

  4. Open inp file and select gedit program to open.
  5. If you dont like or face problem then revert back the inp files to plain text as:

Syntax Highlight Files can be downloaded from below link:
Download Syntax Highlight Files.

before syntax highlight
Fig.1: Before Syntax Highlight of CCX input file.
after syntax highlight
Fig.2: After Syntax Highlight of CCX input file.



  1. Gedit New Language File
  2. Language Definition v2.0 Tutorial
  3. SuperUser.com
  4. CalculiX CrunchiX