Structure of the folders when installing sources

Discussion about building and installing Elmer
Post Reply
pilafa
Posts: 56
Joined: 17 Apr 2012, 00:33
Antispam: Yes
Location: Barcelona

Structure of the folders when installing sources

Post by pilafa »

Hi,

I am struggling to install Elmer from the source. I completed the installation, but cannot run all the testcases, so I suspect that something is wrong.
(I am using Ubuntu.)

One of my concern is about the folders' structure that I have. It seems to be..."different".

I downloaded the source with svn:

Code: Select all

svn co https://elmerfem.svn.sourceforge.net/svnroot/elmerfem elmerfem
So I have those folders:

/home/pierre/elmerfem
/home/pierre/elmerfem/release
/home/pierre/elmerfem/trunk

First question: what are those releases? Older version?

I compiled the "trunk" (every module separately):

Code: Select all

cd matc
./configure
make 
make install

...and so on
In the folder /trunk, I now have:

Code: Select all

drwxr-xr-x  4 pierre pierre 4096 2012-05-02 15:00 buildtools/
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 17:21 eio/
drwxr-xr-x  6 pierre pierre 4096 2012-05-02 17:21 elmergrid/
drwxr-xr-x  9 pierre pierre 4096 2012-05-02 15:02 ElmerGUI/
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 15:02 ElmerGUIlogger/
drwxr-xr-x  6 pierre pierre 4096 2012-05-02 15:01 ElmerGUItester/
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 15:00 elmerparam/
drwxr-xr-x  7 pierre pierre 4096 2012-05-02 17:21 fem/
drwxr-xr-x  7 pierre pierre 4096 2012-05-02 15:01 front/
drwxr-xr-x  7 pierre pierre 4096 2012-05-02 17:21 hutiter/
-rw-r--r--  1 pierre pierre 3397 2012-05-02 15:02 LICENSES
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 17:20 matc/
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 17:20 mathlibs/
drwxr-xr-x  5 pierre pierre 4096 2012-05-02 17:21 meshgen2d/
drwxr-xr-x 10 pierre pierre 4096 2012-05-02 15:01 misc/
drwxr-xr-x  7 pierre pierre 4096 2012-05-02 15:00 post/
drwxr-xr-x  6 pierre pierre 4096 2012-05-02 15:02 .svn/
drwxr-xr-x  6 pierre pierre 4096 2012-05-02 17:20 umfpack/
drwxr-xr-x  4 pierre pierre 4096 2012-05-02 15:01 utils/
When I tried to run the test case, I realized that the configure is looking for path and locations that I don't have. For example:

Code: Select all

export ELMER_LIB="$ELMER_HOME/share/elmersolver/lib"
export ELMER_SOLVER="$ELMER_HOME/bin/ElmerSolver"
I DON'T have any /share or /bin directory....why they have not being created during the installation?? :?: :geek:

Ok, I can change all the variables, but I think that maybe I am missing something important, and that could be why my installation is not working properly.

Thanks!
PL
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Structure of the folders when installing sources

Post by raback »

Hi

Try the script in:
http://www.elmerfem.org/elmerwiki/index ... r_on_Linux

The trunk is always the current version. The releases are snapshots of the trunk related to more official versions. If no specific reason to do otherwise (such as to have consistant benchmark results in comparing different hardware), use the trunk.

-Peter
Post Reply