An 'Impact' On the Sun Grid Engine
By gkrish on Nov 20, 2006
Impact is an open source finite element program suite which can be used to predict most dynamic events such as car crashes or metal sheet punch operations. They usually involve large deformations and high velocities. More information on Impact can be found at The Impact Project Homepage.
Impact is a java based application and usually involves huge computations which consume plenty of time. Hence, a parallel version of Impact is also packaged alongwith, which uses as a distributed computing environment to distribute the computations across different nodes.
Since Impact is supported by such a tool like JavaParty, one can take advantage of it to use it with Sun Grid Engine. Now to make it run on the Sun Grid Engine, a script (similar to the one for hmmer 2.3.2) has to be written. This script can be generated automatically with the help of the Sun Grid Script Generator too. A simple script to use one single Impact command at a time is provided here.
2 #Tue Nov 18 15:28:55 IST 2006
3 #Script File Generator for the SUN Grid Engine
5 #Grid Engine Settings
8 #$ -N Impact
9 #$ -S /bin/sh
11 #Create an output file
12 #$ -e impact.output
14 #Create an error file
15 #$ -e impact.err
17 #$ -cwd
19 export PATH
20 $SGE_BINARY_PATH/qconf -sel >> .jp-nodefile
23 export JPQ_NODEFILE
24 export JPQ_RSH
26 bash /home/gkrish/gridApps/Impact/Cluster.sh /home/gkrish/gridApps/Impact/examples/Ver_01.in
This script specifies the input and output files for the grid engine, adds javaparty to the PATH variable, sets required variables for JP to function properly and then executes an Impact command.
Here, "qconf -sel >> .jp-nodefile" adds the list of available hosts to the .jp-nodefile, which is a requisite for java party. I shall update this soon with more info on javaparty Now, here's a screenshot of a sample output of Impact!