José Abell's research blog

SNE # 01. Example of ESSI simulation and visualization with visitESSI

These are the results of a simple elastic-domain simulation. Mesh consists of

  • 154523 Nodes (46359 DOFs)
  • 1250 27 node bricks (LT formulation)
  • 1200 time-steps (dt = 0.01s)

Results were stored in the new format of output for ESSI simulator and visualized in VisIt post-processor where the movie was created.

NTS (Note-To-Self): Creating dynamically linked libraries

A nice extensive tutorial can be found here.

In a nutshell:

gcc -Wall -fPIC -c \*.c  
gcc -shared -Wl,-soname, -o \*.o  
mv /opt/lib  
ln -sf /opt/lib/ /opt/lib/  
ln -sf /opt/lib/ /opt/lib/
  • -Wall: include warnings. See man page for warnings specified.
  • -fPIC: Compiler directive to output position independent code, a characteristic required by shared libraries. Also see “-fpic”.
  • -shared: Produce a shared object which can then be linked with …