An 'Impact' On the Sun Grid Engine

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.

1 #!/bin/sh
2 #Tue Nov 18 15:28:55 IST 2006
3 #Script File Generator for the SUN Grid Engine
4
5 #Grid Engine Settings
6 #####################
7
8 #$ -N Impact
9 #$ -S /bin/sh
10
11 #Create an output file
12 #$ -e impact.output
13
14 #Create an error file
15 #$ -e impact.err
16
17 #$ -cwd
18 PATH=/home/gkrish/programFiles/jp-karmi/bin:$SGE_BINARY_PATH:$PATH
19 export PATH
20 $SGE_BINARY_PATH/qconf -sel >> .jp-nodefile
21 JPQ_NODEFILE=.jp-nodefile
22 JPQ_RSH=qrsh
23 export JPQ_NODEFILE
24 export JPQ_RSH
25
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!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

gkrish

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today