| Name | APPS/MATH/ELMER-5.0.2 |
|---|---|
| Description | Finite Element Software for Multiphysical Problems |
| Status | Beta, supports both serial and parallel runs |
| Last update | 2006-12-15 |
Elmer is a Finite Element Software for Multiphysical Problems. This page describes the use and installaton of Elmer in Grid environments based on NorduGrid ARC middleware. For a complete description of the Resource Specification Language, Information System, User Interface and the Grid Manager, see the NorduGrid documentation. The full documentation of Elmer can be found from http://www.csc.fi/elmer/.
none
none
In the remote computing resources Elmer RE provides a command
ElmerSolver_grid, which is found in the path. The same
command supports both serial and parallel jobs. The selection of the
appropriate parallel environment is done transparently, so the user
does not need to run mpirun or other similar commands to initialize
the environment. However, the following things need to be done by the
user to run a parallel job:
count=N to the xRSL file (see the examples section
for details).
For more information about input and output file formats and splitting the data, see the Elmer homepage.
In these examples, we use a small wrapper script
runElmer.sh which reads the input files from a tar
package, runs ElmerSolver_grid and then creates another
tar package of the output files.
runElmer.sh:
#!/bin/sh tar xfz inputfiles.tar.gz rm -f inputfiles.tar.gz ElmerSolver_grid tar cfz outputfiles.tar.gz *
Sample xRSL job description for a serial job:
&
(executable="runElmer.sh")
(stdout="std.out")
(stderr="std.err")
(inputfiles=("inputfiles.tar.gz" "inputfiles_serial.tar.gz"))
(outputfiles=("outputfiles.tar.gz" ""))
(gmlog="gridlog")
(jobname="My serial Elmer job")
(cputime=5)
(memory=200)
(runtimeenvironment >= "APPS/MATH/ELMER-5.0.2")
inputfiles_serial.tar.gz contains an example input dataset for a serial job.
Sample xRSL job description for a parallel job using 4 processors:
&
(executable="runElmer.sh")
(count=4)
(stdout="std.out")
(stderr="std.err")
(inputfiles=("inputfiles.tar.gz" "inputfiles_parallel.tar.gz"))
(outputfiles=("outputfiles.tar.gz" ""))
(gmlog="gridlog")
(jobname="My parallel Elmer job")
(cputime=5)
(memory=200)
(runtimeenvironment >= "APPS/MATH/ELMER-5.0.2")
inputfiles_parallel.tar.gz contains an example input dataset for a parallel job.
Please note that the script runElmer.sh is the same
for both serial and parallel jobs, but the parallel jobs require a set
of input files where the data is split for a parallel run.
Installation instructions for the ElmerSolver software itself can be found from Elmer homepage.
The runtime environment script needs to initialize the MPI environment
and provide the command ElmerSolver_grid, which calls
either the serial solver ElmerSolver or the parallel
solver ElmerSolver_mpi depending on whether the user
requests one or more processors for the job.
Here's a sample initialization script to be installed into the NorduGrid RE directory ($RUNTIME_CONFIG_DIR) and a sample ElmerSolver_grid wrapper script:
Please note that the MPI environment initialization and paths where the software is installed often differ between systems, so it is probable that at least some paths in the scripts require modifications during the installation.
Installation can be verified by running the example script.
Please contact Elmer developers at http://www.csc.fi/elmer/ directly in matters concerning the Elmer application.
Questions related to RE itself, such as questions about installing RE, feature requests and improvement suggestions, can be mailed to Elmer RE maintainers grid-support@csc.fi.