what are the dependencies for Elmer Installation?

Discussion about building and installing Elmer
Post Reply
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

what are the dependencies for Elmer Installation?

Post by annier »

Hi All,
Currently I am using Ubuntu 14.04 LTS (64 bits) and I am trying to install Elmer nonGUI in this Operating System as per the methodology described in
viewtopic.php?f=2&t=3488&sid=7ccfa82b62 ... f2c564d738

Some Errors during compilation:

1. When i try to compile fem with

Code: Select all

# configure and build the module fem using mpi related aspect
cd fem; ./configure --prefix=$ELMER_HOME --with-mpi-inc-dir=/usr/include/mpich2 && make clean && make && make install && cd ..
it results as such:

Code: Select all

checking for compilation of an MPI program... configure: error:MPI not found;check paths for MPI package first
2. After i try to compile fem without MPI (as in http://www.elmerfem.org/elmerwiki/index ... r_on_Linux) or if I try to install Elmer with MPI path well defined for fem module, i again encounter with another error

Code: Select all

configure:error:Libhuti wasn't found
What i infer from this is, if we install all the required dependencies for the elmer modules, the installation would not result in error.
Yours
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: what are the dependencies for Elmer Installation?

Post by annier »

Hi All,
By default, Elmer relies on Tcl8.5, Tk8.5 or older versions. Linux computers with Tcl8.6 and Tk8.6 should install Elmer by prefixing it during configuration (as some features of these newer libraries of Tcl Tk may lack backward compatibility) . Also the path of these versions of Tcl Tk should be exported. These have to be done during compilation of Elmer.

Export path of Tcl Tk

Code: Select all

export TCLTK_INCPATH="/usr/include/tcl8.5"
Configuration script

Code: Select all

./configure --prefix="$ELMER_HOME" --with-tcltk="-ltcl8.5 -ltk8.5"
Yours
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: what are the dependencies for Elmer Installation?

Post by annier »

List of some dependencies libraries for installation of Elmer

Code: Select all

Libs:
      BLAS                     
      LAPACK                   
      HYPRE                     
      UMFPACK -->>(Comes along with Elmer Package)              
      ARPACK          
      PARPACK        
      HUTI -->> (comes along with Elmer Package)            
      EIO  -->>   (comes along with Elmer Package)   
      MPI/openmpi
      TCL/TK                   
Yours
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: what are the dependencies for Elmer Installation?

Post by annier »

Hi,
With the use of Cmake, the installation of Elmer in Ubuntu (steps are described here) can be proceeded more easily and in less time. The Cmake framework can manage the dependencies softwares very well.

Yours
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Post Reply