Damien Dosimont bio photo

Damien Dosimont

Researcher at BSC

Email LinkedIn Github

Dependencies

sudo dnf install make automake gcc gcc-c++ kernel-devel 
sudo dnf groupinstall "Development Tools" "Development Libraries"  
sudo dnf install gcc-gfortran
sudo dnf openmpi openmpi-devel  

You may have to add the path of your mpi binaries to your PATH

Download the svn repository

Download the svn repository (requires an access to BSC’s network):

svn co svn+ssh://[user]@dt01.bsc.es/gpfs/projects/bsc21/svnroot/Alya/

Using git+svn:

git svn clone svn+ssh://[user]@dt01.bsc.es/gpfs/projects/bsc21/svnroot/Alya/

Compile Alya

cd Trunk/Executables/unix

Copy the configuration file related to your compiler/platform. Ex: compiling using gfortran:

cp configure.in/config_gfort.in config.in"

Compile the nastin module

./configure -x turbul nastin parall
make metis4
make -j[number of processor]

I recommend to set up your PATH directory in your .bashrc file so you can run Alya without specifying its whole path.

export PATH=$PATH:/path/to/Alya/Executables/unix/:/path/to/Alya/Utils/user/:/path/to/Alya/Utils/user/alya2pos/ 

Launch a test case

Download the svn repository of the test suite:

git svn clone svn+ssh://bsc21759@dt01.bsc.es/gpfs/projects/bsc21/bsc21903/svnroot/Alya-TS/modules Alya-TS

Go into one of the test case directory (for instance cavtri03_fs)

cd Alya-TS/nastin/cavtri03_fs

Launch Alya:

Alya.x cavtri03_fs

with MPI

mpirun -np N Alya.x cavtri03_fs

with N the number of MPI processes you want.