LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-19-2010, 04:36 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Short Tutorial: How to build ELMER-Fem for Slackware64 13


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

Last edited by Alexvader; 01-20-2010 at 08:51 AM.
 
Old 01-20-2010, 08:52 AM   #2
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Sorry Gents...

The nice guys at simulia.com would not release the sources of Abaqus.... Dang...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Short Tutorial on Building a Package for FreeMat Alexvader Slackware 0 01-16-2010 01:19 PM
What changes must be made in a slackBuild from 11.x To build for Slackware64 current? Alexvader Slackware 5 12-30-2009 01:38 PM
Short Tutorial : How to install Code Aster in Slackware64 13 Alexvader Slackware 6 12-21-2009 04:22 PM
Short Tutorial : How to Install Salome-Platform in Slackware64 13 Alexvader Slackware 2 12-18-2009 07:16 AM
Cannot build extreme tuxracer Slackware64 mlangdn Slackware 12 06-21-2009 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration