Hi Forum...
Yéééé it's me again
I'll teach here how to build a package for Slackware64 13
This is a multiphysics Finite elements code made by the Finnish
check
http://www.csc.fi/english/pages/elmer
If their Finite Elements Codes are as "user-friendly" as their gals are, we should all be fine...
( Just kidding here, ppl )
Now, to work :
Download the sources from SVN
Code:
alex@iskandhar:~$ mkdir ~/SVN&&cd SVN
alex@iskandhar:~$ svn co https://elmerfem.svn.sourceforge.net/svnroot/elmerfem elmerfem
alex@iskandhar:~$ mkdir -p Elmer/Release
Build it :
Code:
alex@iskandhar:~$cd SVN/elmerfem/release/5.4.1&&nano buildscript
#!/bin/sh -f
# Compile Elmer modules and install it
#
# replace these with your compilers:
export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran
modules="matc umfpack mathlibs elmergrid meshgen2d eio hutiter fem"
for m in $modules; do
cd $m
./configure --prefix=/home/alex/Elmer/Release
make
make install
cd ..
done
save, exit and
Code:
alex@iskandhar:~/SVN/elmerfem/release/5.4.1$mkdir -p ~/Elmer/Release
alex@iskandhar:~/SVN/elmerfem/release/5.4.1$source buildscript
Now build the package for it
Code:
alex@iskandhar:~/SVN/elmerfem/release/5.4.1$mkdir -p pkg/usr/local/elmer-5.4.1&&mv ~/Elmer/Release/* pkg/usr/local/elmer-5.4.1&&cd pkg
alex@iskandhar:~/SVN/elmerfem/release/5.4.1/pkg$makepkg -l y -c n /home/alex/elmer-fem-5.4.1.tgz
Thats it,
You have a package in /home/alex
BTW, If you do not have a alex user account, create one before running this setup
BRGDS
Alex
EDIT
Tomorrow I will explain how to build Abaqus 6.8-2 from source...
ROFL